I’m pretty new to inform7 and interactive fiction in general. I’ve played text based games but never made one myself and now I’m doing one for a school project. I’ve read much of the included documentation but I’m running into a snag. I’m trying to find a way in which the player chooses a specific action related to speech (confident, nervous, silence in this instance) and then the game responds according leading the player down that Skein. Here’s the code I have so far:
“Your response is:
NERVOUS,
CONFIDENT,
or SILENCE.”
North of The Police Station is a room called The Interrogation Room.
[Player choose an action. Dialogue progresses based on player choice.]
Understand the command “nervous”.Understand the command “confident”. Understand the command “silence”.
if the player writes nervous:
say “Your head is pouding and your mouth is dry. ‘I-I’m here to-uh.’ The officer looks up at you, quinting and fixing his glasses. ‘Question Mr. Gaines. Detective Lasky, right?’ ‘R-right’, you sttuter in reply. ‘Go right ahead.’”
It resolves in error and I know I have the code wrong I just haven’t figure out how to fix it. Any help with this is must appreciated.