Child's Play

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

Section 2 - North End of Loveseat

Mentioning baby-gate-goneness is a one-time deal.

The North End of Loveseat is a room. "This is the part of the loveseat that is to the north. It goes on to the south and you could totally slip around the end of the loveseat to the west[if the plastic gate is in the North End of Loveseat] except that a baby gate is in the way[end if]. There is the rocking chair to the east as well, that is always fun.[if the plastic gate is not in the North End of Loveseat and mentioning baby-gate-goneness has not occurred][paragraph break]Hey, that baby gate that blocked your way west is all gone." The printed name is "Loveseat at the North". The faraway descriptor is "over by the north end of the loveseat".

The rug is a backdrop. It is in the North End of Loveseat and Behind the Loveseat. "[if the player is not zeroth-height]From up here the pattern on the rug doesn't make any more sense than it does when you are on the floor[otherwise]Maybe the pattern on the rug looks fine when you are all tall and parenty but when you are on your hands and knees it mainly makes your eyes water[end if]. There is this bump in it that runs [if the plastic gate is in the North End of Loveseat]right alongside the baby gate[otherwise]in a north-south line[end if]." Understand "pattern" as the rug. Instead of looking under the rug, say "It is too large for you to really move it and see under it."

The bump is part of the rug. The description is "The bump is not big but it is not small either, maybe there is an extension cord running under the rug there. OSHA would probably declare it a trip hazard." Instead of pushing or pushing or kicking at or squeezing or attacking the bump, say "You push on the bump but it is unyielding much like your iron will."

Instead of an actor going west with a pushable between rooms thing (called poosh) when the actor is in the North End of Loveseat and the plastic gate is not in the North End of Loveseat:
    if the actor is the player, say "There is this bump in the rug that totally catches [the poosh] and keeps you from pushing [it-them] west from here."

Instead of an actor going west in the North End of Loveseat when the plastic gate is in the North End of Loveseat:
    if the actor is the player, say "That baby gate is completely in your way.";
    stop the action.

The north pink striped loveseat is furniture in the North End of Loveseat. It is scenery and not room-mentioning. The description of the north pink striped loveseat is "The loveseat is pink and striped and tastes funny if you lick it. This is the north part of it and there is open space past it to the west[if the plastic gate is in the North End of Loveseat] that is blocked by a baby gate[end if]." The north pink striped loveseat is suitable for cruising. Rule for printing the name of the north pink striped loveseat while constructing the status line: say "loveseat" instead.

Instead of tasting the north pink striped loveseat, say "It has this funny zing to it like dust or stale cheerios."

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