chapbook icon indicating copy to clipboard operation
chapbook copied to clipboard

Better randomness

Open VM81 opened this issue 4 years ago • 0 comments

While we have a variety of random rolls available, there is no easy, beginner orientated way to print one of several random texts (or go to a random node) from a list, similar to the <> function in Sugarcube. Granted, both of those can be achieved by assigning a value to a string or by using an array, but both are impractical(too verbose) and too hard from a beginner perspective, with a high chance of mistakes. Sadly, I can not propose a working solution, that is in line with the state-oriented design of the format, but I hope something can be done about it. At the very least there should be a cookbook entry about those cases.

VM81 avatar Feb 17 '21 12:02 VM81