Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Ruins.inf

Square Chamber (lines 196-251)

196  !       The SQUARE CHAMBER.
197  !
198  !       Defined in DM4 Exercise 2, modified in $8 and $9
199  Object  Square_Chamber "Square Chamber"
200    with  name 'lintelled' 'lintel' 'lintels' 'east' 'south' 'doorways',
201          description
202              "A sunken, gloomy stone chamber, ten yards across. A shaft of
203               sunlight cuts in from the steps above, giving the chamber a
204               diffuse light, but in the shadows low lintelled doorways to
205               east and south lead into the deeper darkness of the Temple.",
206          u_to Forest,
207          e_to Wormcast,
208          s_to Corridor,
209          before [;
210              Insert:
211                  if (noun == eggsac && second == sunlight) {
212                      remove eggsac;
213                      move stone_key to self;
214                      "You drop the eggsac into the glare of the shaft of
215                       sunlight. It bubbles obscenely, distends and then bursts
216                       into a hundred tiny insects which run in all directions
217                       into the darkness. Only spatters of slime and a curious
218                       yellow-stone key remain on the chamber floor.";
219                      }
220              ],
221    has   light;
222   
223  !       Defined in DM4 8
224  Object  -> "carved inscriptions"
225    with  name 'carved' 'inscriptions' 'carvings' 'marks' 'markings' 'symbols'
226               'moving' 'scuttling' 'crowd' 'of',
227          initial
228              "Carved inscriptions crowd the walls, floor and ceiling.",
229          description
230              "Each time you look at the carvings closely, they seem to be still.
231               But you have the uneasy feeling when you look away that they're
232               scuttling, moving about.
233               Two glyphs are prominent: Arrow and Circle.",
234    has   static pluralname;
235   
236  !       Defined in DM4 8
237  Object  -> sunlight "shaft of sunlight"
238    with  name 'shaft' 'of' 'sunlight' 'sun' 'light' 'beam' 'sunbeam'
239               'ray' 'rays' 'sun^s' 'sunlit' 'air' 'motes' 'dust',
240          description
241              "Motes of dust glimmer in the shaft of sunlit air, so that it seems
242               almost solid.",
243          before [;
244              Examine, Search:
245                  ;
246              default:
247                  "It's only an insubstantial shaft of sunlight.";
248              ],
249    has   scenery;
250   
251  ! ---------------------------------------------------------------------------- !


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.