1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-07 17:44:22 +03:00
inform7/resources/Documentation/Examples/AnnoyotronJr.txt
2023-07-24 11:56:58 +01:00

23 lines
882 B
Plaintext

Example: * Annoyotron Jr
Location: How many turns?
RecipeLocation: Liveliness
Index: Child who asks if we're there yet
Description: A child who after a certain period in the car starts asking annoying questions.
For: Z-Machine
{*}"Annoyotron Jr"
The Minivan is a room. The Open Road is outside from the Minivan. Pete is a man in the Minivan. "Pete [if the player has been in the Minivan for 3 turns]is starting to look bored[otherwise]is playing with his travel activity book[end if]."
Every turn:
if the player has been in the Minivan for 5 turns, say "'Are we there [if saying no]now?'[otherwise]yet?' asks Pete.[end if]"
Instead of saying no:
say "'Oh,' says Pete. There is a blessed, momentary silence."
Instead of going to the Open Road:
say "You leap to your death.";
end the story.
Test me with "z / z / look / g / g / g / no / z / z / z / no / z / out".