It looks like you're new here. If you want to get involved, click one of these buttons!
So I am enjoying exploring solo games, and I am using the awesome Mythic emulator engine. I am currently working on the fate chart (a yes no answer table) but I am struggling with the right workflow for a table with these complexities. ill upload a screenshot, but to summarize
You have the left column which designates the likely hood you think the question is, then you have a chaos factor for random events and then you have the odds of yes in bold with crit yes on the left and crit noon the right of the number.
Since I'm new, I figured I might be doing this the hard way, so far the only thing i thought of is creating all of those options as seperate tables refereced by a conditinal table with prompt for likelyhood and chaos factor. Please let me know if there is any other way. thanks for all your wisdom
JC
Comments
Here's a quick go of it
Here some code that "works". But, it's sending back totally blank output frequently. Can't really debug it right now. But, it's a good basic start, and it really only requires clicking "Run" again if it outputs a blank result. I've written it to output each step to see how it runs. You could just as easy only send the last line to the output (secret GM roll) by using double equals signs (==) in the inline variable assignment calls.
Good luck!
Huh, I didn't think you could nest When statements like that, but it seems to work! I don't get any blank outputs here.
You can always nest a new "when" statement in the "else" part of the prior when statement. For me, the nesting makes it "feel" more like an Excel "if" statement. Here, to make it read better, I just used the continuation symbol "&" to see the nesting more clearly. The program reads the whole Table:main as a single long line of code.
Hey Levendor, I tried it and couldn't get it to work so I messed around with it because I was curious and I finally got it to say something besides 'exceptional yes'.
I numbered the two prompts and then I replaced the first two under main with the following.
Odds are {Odds='[when]{$Prompt1}=Random[do][@RandomOdds][else][@RandomOdds][end]'}.\n&
Chaos Rank is {Chaos=[when]{$Prompt2}=Random[do]{1d9}[else]{1d9}[end]}.\n&
I had to copy the do into the else space and then it worked for me. See it in the image.
I almost forgot, in your copy of the gen the prompts were not labeled like there were in the 'Main' area so that was a huge factor in how I got it to work.
Here is what I changed for the most part.