I’m trying to figure out some way to implement a dream sequence with Inform7, and some of the related examples I’ve seen in the Recipe Book and elsewhere seem overly complicated and hard to interpret and pick apart to modify for what I want to do.
I would like to simply let the player choose to go to sleep, and if they’re in the bedroom, they fall asleep on the bed and then they enter a dream sequence.
While asleep, the game moves them to another series of rooms (a dream world) disconnected from the main game. And you can explore the area, take things, do everything else, ect., but then when they pick up a certain object, it wakes them up, and they find themselves back in their bedroom. And then they have the object they picked up in their dream in their inventory.
If somebody knows a simple, easy way to implement this and would be willing to share it or point me in the right direction it would be much appreciated!