Child's Play

An interactive fiction by Stephen Granade (2007) - the Inform 7 source text

Section 13 - Secret Space Behind the Footstool

Secret Space is a room. "There is not a lot of room back here behind the footstool, you fill most of the space between the footstool and the couch and this wood cabinet that is acting like an endtable." The printed name is "Secret Space by the Couch". The faraway descriptor is "tucked behind the footstool".

The hidden grey couch is a big couch in the Secret Space. Understand "gray" or "cushion" or "cushions" as the hidden grey couch. The description is "Grey and short and it is soft when the mom or the dad put you on it. There's not a lot of couch here on account of the footstool blocking you to the east." The printed name is "grey couch".

The hidden wood cabinet is scenery in Secret Space. Understand "endtable" or "table" as the hidden wood cabinet. The description is "It is the back of a wood cabinet that is also functioning as an endtable, I guess the parents are too cheap to buy one piece of furniture that is an endtable and another piece of furniture that is a cabinet." The printed name is "wood cabinet". Instead of tasting the hidden wood cabinet, say "It is waxy and maybe a bit lemony." Instead of opening the hidden wood cabinet, say "The door must be on the other side of it." Instead of putting something under the hidden wood cabinet, say "There is not really enough room under there for anything thicker than a piece of paper." Instead of putting the folded paper under the hidden wood cabinet, say "I guess it is really hard to put the paper under there because you can't get it to go under there again."

Instead of pushing or pulling the hidden wood cabinet, say "It is pretty firmly on the ground right now."

Instead of pushing or pulling the hidden wood cabinet when the folded paper is handled, consider the make the cabinet rock rule.

Instead of going nowhere from the Secret Space, say "Really there is only one way out of this teeny space and that is to pull up and cruise on out to the east."

The folded paper is a small thing in the Secret Space. "There is this tiny folded piece of paper shoved under the cabinet." The description is "It is a tiny folded piece of paper[if not handled and the location of the player is the location of the folded paper] that is all shoved under the wood cabinet[end if]." The printed name is "folded piece of paper". Understand "tiny" or "piece of" as the folded paper.

Instead of pulling or opening the folded paper when the folded paper is not handled, try taking the folded paper.

After taking the folded paper when the folded paper is not handled (this is the pull out the folded paper rule):
    say "You tug and tug and tug and then you see Parry's hand reach over you and remove the tumbler from on top of the cabinet where it was and pop! the folded paper comes out from under the wood cabinet and the cabinet goes rock rock rock. It is a good thing Parry was thirsty right now.";
    move the heavy tumbler to West End of Couch;
    move the coaster to the cabinet top;
    record 5 points for "making the cabinet unsteady";
    stop the action.

Rule for implicitly taking the folded paper when the folded paper is not handled:
    try taking the folded paper.

Instead of opening the folded paper, say "It is really folded and creased from being under the cabinet and your fingers are too stubby." Instead of closing the folded paper, say "It is already all folded."

Before going east in the Secret Space when the player is pulled up on the footstool or the player is pulled up on the hidden grey couch:
    say "You slide back out into the big wild world.";
    if the player is pulled up on the hidden grey couch, now the player is pulled up on the west grey couch;
    change the last location of the player to the location of the player;
    move the footstool to the West End of Couch;
    move the player to the West End of Couch;
    stop the action.

The source code to Child's Play is licensed under a Creative Commons NonCommercial Sampling Plus 1.0 License.