The Angler (theangler) wrote in inform_dev,
The Angler
theangler
inform_dev

standing and getting off not the same as exiting?

I've got another silly question. Let's say I have a...

Object comfyChair "comfy chair" insideDungeon
with name 'comfy' 'chair',
description
"A large, comfy chair menacingly awaits.",
after [;
Enter: print_ret "You luxuriate in the plushness of the comfy chair.";
Exit: print_ret "Cardinal Fang taunts you with a feather.";
],
has static enterable supporter scenery;

When I type sit, I get

>sit in comfy chair
You luxuriate in the plushness of the comfy chair.

Great. No problem, but when I type stand, I get

>stand
You get off the comfy chair.

What happened to Cardinal Fang and his feather? I have to type "exit comfy chair" or "exit chair" to see anything about Cardinal Fang and feathers:

>exit chair
Cardinal Fang taunts you with a feather.

Am I missing something or do I really have to write a StandSub to catch requests to stand while in the comfy chair and send the <<Exit Chair>> from there? Also I'm thinking I should probably handle different possible constructions of the standing action; e.g. the library gives these responses for the various attempts to stand:

>stand up from chair
I only understood you as far as wanting to stand up.

>get out of chair
I only understood you as far as wanting to get the outside.

>get off of chair
You can't see any such thing.

>get off chair
You get off the comfy chair.

My reading of DM4 tells me that "stand" and "get off" should send the "Exit" message. My assumption is that I'm making a silly beginner's error.
  • Post a new comment

    Error

    default userpic
  • 4 comments