Inform 7 before action [text based on condition]

My question is there away to code for just an example say the door is open or close give respond for each?

1 Like
"Jumpy"

Lab is a room.

Kitchen is a room.

Jumpy Door is south of Lab and north of Kitchen. The Jumpy Door is a closed door.

Instead of jumping:
	if Jumpy Door is open:
		say "You jump high into the air.";
	else:
		say "You give a meek little hop.".

test me with "jump/open door/jump".

Thank you, I’m just getting started.

Thanks very much.