Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Toyshop.inf

Padded Floor (lines 188-208)

188  ! >PF  An example of an object spread across several (three) rooms:
189  ! ----------------------------------------------------------------------------
190   
191  Object padded_floor "padded floor"
192    with name "padded" "floor" "mats" "padding",
193         description "To protect little children and adventurers.",
194         before
195         [; Take: "It is protected from little children and adventurers.";
196         ],
197         found_in East_End Toyshop West_End
198    has  scenery;
199   
200  ! ----------------------------------------------------------------------------
201   
202  Toyroom Danger_Zone "Danger Zone"
203    with description
204            "This is the Danger Zone, which you should know better 
205             than to go into. A single door leads back south.",
206         s_to Toyshop;
207   
208  ! ----------------------------------------------------------------------------


Last updated 23 June 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.