I’ve added a “Sound” stage to the action-processing rules, which gets run if the action is within a certain distance of the player. In other words, I can write “sound of someone opening a door:” to alert the player to that action if they’re close but not in the same room.
So far so good.
Now, I also have some doors that close themselves after one turn. I want these doors closing to make a sound, but there’s not necessarily a person nearby to do it. My solution was to “try the hatch closing the hatch”, which Inform accepts without issue.
Still so far so good.
Except…“sound of a door closing a door” causes a compilation error. Inform doesn’t seem to like descriptions of things that are not people in the actor slot of an action specification.
How should I write rules with an action specification including an inanimate actor?