The standard jump action applies to nothing, so I need to replace it in order to make it possible to jump in a particular direction. However, I want to write a custom message for when the player tries to jump without specifying a direction. I guess this should activate either “supplying a missing noun” or “which do you mean” but I can’t seem to get at any of these. For simplicity I have left out any code that makes my new jump action happen. Any help much appreciated.
The player is in a room called the test room.
East of the test room is place one.
West of the test room is place two.
Understand the command "jump" as something new.
Jumping somewhere is an action applying to one visible thing.
Understand "jump [something]" as jumping somewhere.
Rule for supplying a missing noun while jumping somewhere:
say "Missing noun."
Rule for asking which do you mean while jumping somewhere:
say "Where will you jump to?"
I just see the standard parser request instead of either of my custom attempts (and it’s misleading because it implies jumping is for things rather than directions so a player will think it’s for jumping over objects):
>jump
What do you want to jump?
(By the way, note that ‘if you invent an action which needs to apply to directions like “north” or “south”, you need to make this apply to visible things’ which is why my new action is for things not directions.)
The closest example I can find to my problem is Walls and Noses which involves Inform 6 so I don’t understand at all; I’m hoping my problem is simpler than that.