I'm using twine 1.4 and sugarcane.
I want to create a passage where I can write if statements that will always be checked (at least I think that's what I want).
If I have a 24 hr clock, I want it to reset to 0 when it gets to 24. So I think I want something like:
<<if $time is gte 24 set $time = $time - 24 and $day = $day +1>>
So that any excess over 24 is added to the new day. Firstly, is that right?
Secondly, how do I make this a continual check so I don't have to put it in every single passage? Is that what 'script passages' are for?
While I think of it and I hope this is OK to put in the same question; what do I need to do if I want to override such a check?