Child's Play

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

Chapter 2 - The Living Room

Section 1 - The Middle of the Living Room (Introduction scene only)
[We separate the Intro Middle from all other rooms because we make such large changes to it after the intro that it's easiest to replace it with an entirely new room.]

The Intro Middle is a room. "This is the middle of the living room, it is all big and vast. But it would be bigger and vaster if there weren't all these pillows and stuff in a big ring around you[if the ring of pillows is breached]. But there is a big gap in the ring of pillows now to the east[end if][if unvisited]. The mom is totally all paranoid and whatever, she is a new mom[end if]." The printed name of Intro Middle is "Middle of the Living Room".

In the Intro Middle is a squishy ball, a plush book, and your favorite toy. Your favorite toy and squishy ball are small. The plush book is medium.

The description of the squishy ball is "Blue and brown and white and it has teeth marks on it." Understand "blue", "brown" or "white" as the squishy ball. The squishy ball is pushable between rooms.

The teeth marks are part of the squishy ball. The description is "There are teeth marks in the squishy ball from you chomping on it."

The description of the plush book is "It is plush and the mom likes to read it to you." Instead of opening or closing the plush book, try reading the plush book.

The description of your favorite toy is "This is the thing your aunt gave you[note hhgttg] which is a super fun toy. It has places to chew and places that are shiny and it rattles when you shake it[if your favorite toy is in the bookcase]. Right now it is up on the bookcase, it is like nearly half a parent high[end if]." Understand "thing" or "favourite" as your favorite toy. Your favorite toy can be Parry-touched or not Parry-touched. Your favorite toy is not Parry-touched.

Instead of waving your favorite toy, say "Rattle rattle rattle."

Instead of inserting something into your favorite toy, say "You may be thinking about a different game."

[Ring of pillows]
The ring of pillows is scenery in the Intro Middle. The description is "The ring is a bunch of pillows and stuff piled around in a circle so you can't go crawling away when the mom is all distracted[if breached]. But that will not work this time because there is a big hole where Alfadog used to be[end if]. The whole thing is taller than you even when you are sitting." Understand "pillow" or "stuff" as the ring of pillows. The ring of pillows can be whole or breached. The ring of pillows is whole. Understand "hole" or "gap" as the ring of pillows when the ring of pillows is breached. Instead of taking the ring of pillows, say "It is true that there are a bunch of individual pillows in the ring of pillows but each one is like bigger than you are, so you aren't going to be able to take any of them. The mom and the dad must need a lot of softness in their lives." Instead of tasting the ring of pillows, say "The pillows taste kinda dusty."

Instead of pushing or pulling the ring of pillows, say "They are so soft and way bigger than you, and you have the proportional strength of one baby, so they do not move."

After examining the ring of pillows when Alfadog is in the location and Alfadog is scenery:
    say "Hey wait, what is Alfadog doing wedged in the pillows like that?";
    now Alfadog is not scenery.

Instead of searching the ring of pillows when Alfadog is in the location and Alfadog is scenery:
    say "Hey wait, what is Alfadog doing wedged in the pillows like that?";
    now Alfadog is not scenery.

Instead of going a direction (called d) in the Intro Middle:
    if d is up or d is down, continue the action;
    try exiting.

Instead of exiting in the Intro Middle:
    if the player is standing, continue the action;
    say "Those pillows are terribly high, you can't really climb over them, and they are too big to shove. Stupid small legs. Stupid small body."

Instead of going east in the Intro Middle when the ring of pillows is breached, move the player to the TV Room.

Instead of exiting in the Intro Middle, try going east.

Instead of upstanding using the ring of pillows, say "They are all smooshy and that makes them too hard to pull up on."

[Alfadog and alfaswitch]
Alfadog is scenery in the Intro Middle. The description of Alfadog is "It is Alfadog, your alphabet-knowing toy[if the ring of pillows is whole] and it is all wedged under some pillows[end if]. He is about as long as you and he is about as tall as you when you are crawling, it is as if he is your brother only he is a dog. He has this switch on him that makes him run and say the alphabet and such." Understand "alphadog" or "dog" or "him" as Alfadog. Instead of switching on Alfadog, try switching on the alfaswitch. Instead of switching off Alfadog, try switching off the alfaswitch. Instead of tasting Alfadog, say "Alfadog tastes of plastic and sweatshops."

A small device called the alfaswitch is part of Alfadog. The printed name is "switch on Alfadog". Understand "switch" as the alfaswitch.

Instead of turning or pushing or switching on the alfaswitch when Alfadog is in Intro Middle:
    say "You are all fumbly on the switch but then you get it turned on and look out! Alfadog lights up and his paws start digging in and he is barking out 'A! B! C! D! EFG!' It looks like he may be stuck under those pillows but then 'L! M! N! O! [bold type]P[roman type]!' pillows tumble out of his way and he is free, zipping off to the east! You hear him winding down, 'W X Y and Zeee.....' And now there is this big gap in the pillows to the east.

That Alfadog is very powerful, he should probably be recalled[note others-do-your-bidding].";
    now Alfadog is in the TV Room;
    now Alfadog is not scenery;
    now the ring of pillows is breached;
    record 5 points for "smashing open the pillows with Alfadog";

Instead of turning or pushing or switching on the alfaswitch, say "Alfadog does not light up, I guess he is all tired now. Maybe he needs a nap."

Instead of taking or pushing or pulling Alfadog when the ring of pillows is whole, say "It is hard enough to move Alfadog around when he is not all covered over with pillows, there is no way you are budging him yourself when he is wedged in there like that."

Before pushing Alfadog to a direction when the ring of pillows is whole, instead say "Alfadog may be an alfaman's best friend but it is also too large for you to really move."

Instead of taking or pushing or pulling Alfadog, say "Alfadog may be an alfaman's best friend but it is also too large for you to really move."

Before pushing Alfadog to a direction, instead say "Alfadog may be an alfaman's best friend but it is also too large for you to really move."

Instead of doing something other than examining in the presence of the mom when Alfadog is acted upon and Goading is happening, say "You make a move towards [the noun] and the mom grabs you and says, 'We're not playing with Alfadog right now, kiddo. We're working on pulling up.'"

Instead of doing something other than examining in the presence of the mom when the alfaswitch is acted upon and Goading is happening, say "You make a move towards [the noun] and the mom grabs you and says, 'We're not playing with Alfadog right now, kiddo. We're working on pulling up.'"

[Footstool]
The footstool is furniture in the Intro Middle. "There is a red footstool, it [if the player is pulled up on the footstool]is all close to you[otherwise if the footstool is in the West End of Couch or the footstool is in the Secret Space]is right next to the couch[otherwise]looms over you[end if][if some thing is on the footstool and the player is pulled up on the footstool]. [run paragraph on][otherwise]." The description is "[if the player is pulled up on the footstool]It is hard to get a good look at the footstool, your face is like inches away from it, but it is all rough under your hands[otherwise if the footstool is in the West End of Couch]The footstool is up in a corner, there is only a small gap between it and the couch with more couch past it to the west[otherwise if the footstool is in the Secret Space]It is hiding you from all of the other babies[otherwise]Tall and red fabric all over. It is kinda imposing really, all tall and everything[note relative-sizes][end if][if the folded paper is not handled and Snacktime is happening]. Beyond it past the gap between the footstool and the couch you can see this little piece of paper[end if].". Understand "tall", "red", "stool", or "fabric" as the footstool.

Report upstanding using the footstool when the footstool is supporting something:
    instead say "You pull yourself up and it is one hand and another hand which is hard because the footstool is all unstable and rocks some but then you are all on your feet so yay you! And now that you are up here you can see [the contents of the footstool] on the footstool."

Instead of pushing, pulling, attacking, or waving the footstool when the footstool is supporting something:
    say "You push on the footstool and it rocks and you pull on the footstool and it rocks and then ";
    if the mom is in the location begin;
        say "the mom puts a hand on the footstool and steadies it. 'Whoa there,' she tells you, 'careful or you'll knock off the toy.'";
    otherwise;
        now every thing which is on the footstool is in the TV Room;
        say "you hear stuff fall off it! But the stuff fell outside the ring of pillows[note pushing-footstool].";
        record 5 points for "knocking your favorite toy off the footstool";
    end if.

Instead of pushing, pulling or waving the footstool:
    say "You tug on the footstool and it rocks and rocks and then it stops rocking."

Instead of pushing, pulling or waving the footstool when the footstool is in the West End of Couch, say "It does not move, it is too close to the couch."

Instead of touching the footstool, say "Rough."

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