mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

Inform 7 Tips

I've long been in the habit of never using Instead rules to forward an action to a different action in -- unless you have some unusual and unlikely reason to delay it, you're better off with a Before rule. But I've still sometimes been nervous about the before rules ending up in an unfortunate order and screwing things up. I finally thought of an obvious approach.

Dispatch is a rulebook.
This is the dispatch stage rule: abide by the dispatch rules.

The dispatch stage rule is listed before the before stage rule in the action-processing rules.
The dispatch stage rule is listed after the set pronouns from items from multiple object lists rule in the action-processing rules.
--
I can isolate the dispatching to one rulebook and not worry about such rules being in any sort of race condition with other Before rules.

Having a whole rulebook full of `instead try <foo>`, `instead try <bar>` seemed tedious, so...

To transfer to (ac - action):
(- {-try-action:ac} ; rtrue; -).

"transfer to" comes to the exact same number of letters as "instead try", but I think it reads a little better.