inform 7 prompt

I can my my prompt show my location I was wondering if i can also add if say player was on a chair etc. ?

Fingered it out. It can be done.

Something like this?

Every turn:
	now the command prompt is "[if the player is enclosed by an enterable supporter (called S)](on [S])[end if]>".

Edit:

Fingered it out. It can be done.

Just a tip: When you figure out the answer to one of your own questions, it’s helpful if you post your own solution, so people who search for this topic in the future aren’t left out to dry.

2 Likes

No need to change it every turn; you can just set it to that when play begins, and it’ll update automatically. That’s the nice thing about text substitutions in Inform!

5 Likes