Closed curiousdannii-testing closed 2 years ago
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by zarf :
Right. What the documentation means, I guess, is that every-turn rules should not produce an outcome. So, if you want to halt such a rule, you must use "continue the action". (Unless you really mean to cut the rulebook off.)
Reported by : mattweiner
Description :
Section 19.11 of Writing with Inform says:
"When a rulebook is followed, what happens is that each of its rules is followed in turn until one of them ends in success or failure - if ever: it is possible that each rule is tried and each ends with no outcome, so that the rulebook simply runs out of rules to try.
"For some rulebooks, these are not useful ideas: "every turn" rules, for instance, never produce an outcome, which is why the "every turn" rulebook always runs through all its rules at the end of each turn."
This suggests that "rule succeeds" in an Every turn rule will end the rule and then the other rules will run; but in fact it ends the whole rulebook.
Steps to reproduce :
Additional information :
Or perhaps the documentation is correct and this is a bug? If so, it'd be nice to clarify which rulebooks this applies to.
imported from: [Mantis 1640] WI 19.11 incorrectly states that "rule succeeds" will not halt the Every Turn rules