! ---------------------------------------------------------------------------- ! Toyshop 961111 One of the standard Inform 6 example games ! ! This is not a real game. The main example game for Inform is "Advent", ! a port of Colossal Cave. Since that's something of an antique, and most ! of the objects in it are rather simple, this is a collection of more ! exotic features and peculiar objects. Note that "Advent" has plenty of ! interesting doors, a good lantern and bottled oil and water, so those ! won't be part of the Toyshop. ! ! Needs Inform 6 with library 6/1 or later to compile. ! ! To win, simply find 6 interesting things to do and leave by the main exit! ! ! Object Is an example of... ! ! >SA satchel Container into which the game silently puts things ! >HE helium balloon Something moving under the control of a daemon ! >CA little red car Vehicle, and pushable from place to place ! >PF padded floor Scenery present in several rooms at once ! >GR hand grenade Timed events: a grenade and its pin ! >MA matchbook Simple fire and matches; changing inventory styles ! >WC white candles A stock of objects identical to each other ! >GL white gloves Two independent objects which can behave as a pair ! >CO green cone Easy before and after rules ! >HW high window Starting and stopping daemons ! >BC bolted cupboard A typical locked container (with key) ! >GB glass box Container light can get through ! >SB steel box Container light can't get through ! >BL building blocks A complicated class definition; piles of objects ! >CH Christopher Someone you can talk to, and persuade to do things ! >OF Office Rules about moving in a particular direction ! >TB toothed bag A container with ideas about what it will allow ! >SL spirit level Something to put on top of things ! >BB blackboard A blackboard to write messages on ! ! (The code is marked with >SA and so on for easy access with a text editor) ! ---------------------------------------------------------------------------- Constant DEBUG; Constant Story "TOYSHOP"; Constant Headline "^An Interactive Demonstration^ Copyright (c) 1994 by Graham Nelson. All rights given away.^"; Release 4; Serial "961111"; ! This sets the serial date to the date of this source ! file, not to the date of compilation. ! Now we serve notice to Inform that we do not wish to use the standard ! routine for the Burn action, and will instead be defining our own: Replace BurnSub; ! Next include the first of the three standard library files: Include "Parser"; ! ----------------------------------------------------------------------------