Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Ruins.inf

Stooped Corridor (lines 252-286)

252  !       The STOOPED CORRIDOR.
253  !
254  !       Defined in DM4 §13
255  Object  Corridor "Stooped Corridor"
256    with  description
257              "A low, square-cut corridor, running north to south,
258               stooping you over.",
259          n_to Square_Chamber,
260          s_to StoneDoor;
261   
262  !       Defined in DM4 §5
263  Treasure -> statuette "pygmy statuette"
264    with  name 'snake' 'mayan' 'pygmy' 'spirit' 'precious' 'statuette',
265          initial
266              "A precious Mayan statuette rests here!",
267          description
268              "A menacing, almost cartoon-like statuette of a pygmy spirit
269               with a snake around its neck.";
270   
271  !       Defined in DM4 §13
272  Object  -> StoneDoor "stone door"
273    with  name 'door' 'massive' 'big' 'stone' 'yellow',
274          description
275              "It's just a big stone door.",
276          when_closed
277              "The passage is barred by a massive door of yellow stone.",
278          when_open
279              "The great yellow stone door is open.",
280          door_to [; if (self in Corridor) return Shrine; return Corridor; ],
281          door_dir [; if (self in Shrine) return n_to; return s_to; ],
282          with_key stone_key,
283          found_in Corridor Shrine,
284    has   static door openable lockable locked;
285   
286  ! ---------------------------------------------------------------------------- !


Last updated 23 June 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.