Child's Play

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

Chapter 2 - Modified Existing Kinds, Which Allow for Richer Gameplay

[It is possible that I stole this from Emily Short's Complex Listing, though I admit nothing.]
A thing can be marked for special listing or unmarked for special listing. A thing is usually unmarked for special listing.

A room has some text called the faraway descriptor.

To say nearly-in-reach message for (n - a thing): say "You are much closer to [the n] but still not close enough to reach it."

Instead of putting something on a supporter (called s) when the player is not standing:
    if the player is on s, continue the action;
    if s is the short plastic block or s is the bugish plastic block or s is the tall plastic block, instead say "You could put things on [the s] but then you wouldn't be able to climb onto it so you refrain.";
    say "Your arms are too short for that."

Instead of pushing, pulling or waving a supporter (called the item) when the player is standing:
    if the player is not pulled up on the item, continue the action;
    say "You cannot really push or pull [the item] while you are pulled up on it, that would be a terrible tax on your sense of balance which is nearly nonexistent."

Instead of searching a supporter, say "It is not something you have to search."

[If you're on a supporter, >DOWN should get you down off of the supporter.]
Instead of going down when something (called platform) supports the player: try getting off the platform.

Instead of someone going down when something (called platform) supports the person asked: try the person asked getting off the platform.

Definition: a supporter is occupied if someone is on it.

Instead of entering an occupied supporter:
    if the player is on the noun, say "You are already there!";
    otherwise say "[The noun] doesn't have enough room as long as [a random person on the noun] is there."

Check someone entering an occupied supporter: stop the action.

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