Hello! Like many before me, I have started playing around with Inform 7. Part of my job is programming, but I have never used Inform 7 before and I’m having some difficulties wrapping my head around some of the concepts I suppose.
I have made some simple interactive rooms with some puzzles and everything has been very nice so far, the documentation works very well and I’ve mostly been able to figure out how to make things work. Need item to do X on Y, Y needs to be in a certain state (open, closed) need to have inventory items etc.
Now I’m starting a new project and I’ve essentially ran into a problem right away What I’m trying to achieve is this:
Play begins with the player sitting in a chair in a room. (so far so good! got it totally covered). I want to player to be receiving a lecture from a character in the room. Showing a couple of paragraphs of text ending with “And our newest recruit Player!, raise your hand player!”. At this point the player should raise their hands and on wrong entries or attempts to leave the room be scolded by the character in front of the class.
Things I’m having trouble with: How do I structure a small bit of ‘captive’ narrative like this? How do I do it without wrecking the definitions of everything later in the game, etc. I’d really appreciate it if someone could point me to the part of the documentation that I should read about this, or if someone could sketch me a working example of this.
Thanks for taking the time reading this!
edit: I changed the topic name since I think I failed to understand how much I didn’t understand.