In a storygame I'm making, I plan on have some random encounters. I'm wondering which is a better way to go:?scripting or variables?
Right now, I'm working on variables for each type on encounter. I plan on have a dice roll on a link click. Then have a link show on the next page that will correspond to the earlier roll.
Quick example
You walk into a forest.
*Link* Continue (this would be where the roll happens)
You're walking through the forest.
*link* Continue (this would be the visible link that corresponds to the number rolled)
As you're walking along the forest, you hear a young girl screaming. (random encounter)
*link* You investigate
*link* You run
*link* You sing along to the beautiful music of her scream
You run away. Whatever made that girl scream is not going to get you too.
*link* Continuing through the forest
Would scripting be easier and less work? I'm planning on having upwards of 20 different things able to happen in an encounter.