Hi, I'm trying to make my first game in the form of an escape room. I'm hoping to have people unlock exits by typing in a code say 'ROGB' or '7557' but I'm not sure how to make this happen. I'd also like to be able to have my player answer a question a character poses and if they get it right, the character hands them an object. Any help with these would be appreciated!
This is a copy-paste from my tutorial "game" that I put together:
I had an NPC where I added the verb talk to; speak to under the verb tab. The following was her response:
"Dear, what would you like to talk about?"
1 - this tutorial
2 - Magoo
3 - Minnie
4 - the meaning of life
5 - a date
And here was what I put in the default box to handle any input other than what the NPC reasonably didn't understand.
"I don't understand what you mean, Sweetheart. Try talking to me again when you have your head a bit clearer."
If you need more than this, let me know. The get input/switch/case code is a beautiful thing once you figure it out.
Happy gaming!