Harlowe 2.0.1 is what I'm using.
I've read several about accumulating points to make an event happen as well as scales and I want to figure out how to connect them with with a dice roll, but the dice roll is already complicated to me so I don't know how to incorporate the variable that is luck.
(set: $diceroll1 to (random: 1,6))
(set: $diceroll2 to (random: 1,6))
(set: $result1 to $diceroll1 + $diceroll2)
(if: $result1 is 7 or it is 11)[blah words]
(else-if: $result1 is 2 or it is 3 or it is 12)[blah words]
(else-if: ($result1 >= 4 and it <= 6) or (it >= 8 and it <= 10))[blah words]
This is my dice roll, I didn't write it myself, I believe it's for a game called Crabs or Craps, I don't know. I tried to make my own but it didn't work because coding is like a broken leg that I couldn't even use in the first place. So yeah, I'm pretty bad.
Somehow I'd like to incorporate a variable into this to create a couple more outcomes based on the variable level, is that possible? If someone wants to walk me through doing that, that'd be great, I'm fine figuring out the code on my own, I just need help to understand how to do that.