Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Ruins.inf

Great Plaza (lines 89-195)

089  !       The game beings in the GRAND PLAZA.
090  !
091  !       Defined in DM4 §4, modified in §8, §9 and §23
092  Object  Forest "~Great Plaza~"
093    with  description
094              "Or so your notes call this low escarpment of limestone, but the
095               rainforest has claimed it back. Dark olive trees crowd in on all
096               sides, the air steams with the mist of a warm recent rain, midges
097               hang in the air. ~Structure 10~ is a shambles of masonry which
098               might once have been a burial pyramid, and little survives
099               except stone-cut steps leading down into darkness below.",
100          d_to steps,
101          in_to steps,
102          u_to
103              "The trees are spiny and you'd cut your hands to ribbons
104               trying to climb them.",
105          cant_go
106              "The rainforest is dense, and you haven't hacked through it for days
107               to abandon your discovery now. Really, you need a good few
108               artifacts to take back to civilization before you can justify
109               giving up the expedition.",
110          before [; Listen: "Howler monkeys, bats, parrots, macaw."; ],
111    has   light;
112   
113  !       Defined in DM4 §4, modified in Exercise 1 and §23
114  Object  -> mushroom "speckled mushroom"
115    with  name 'speckled' 'mushroom' 'fungus' 'toadstool',
116          initial
117              "A speckled mushroom grows out of the sodden earth, on
118               a long stalk.",
119          description
120              "The mushroom is capped with blotches, and you aren't
121               at all sure it's not a toadstool.",
122          after [;
123              Take:
124                  if (self.mushroom_picked)
125                      "You pick up the slowly-disintegrating mushroom.";
126                  self.mushroom_picked = true;
127                  "You pick the mushroom, neatly cleaving its thin stalk.";
128              Drop:
129                  "The mushroom drops to the ground, battered slightly.";
130              Eat:
131                  steps.rubble_filled = false;
132                  "You nibble at one corner, unable to trace the source of an
133                   acrid taste, distracted by the flight of a macaw overhead
134                   which seems to burst out of the sun, the sound of the beating
135                   of its wings almost deafening, stone falling against stone.";
136              ],
137          mushroom_picked false,
138    has   edible;
139   
140  !       Defined in DM4 §12
141  Object  -> packing_case "packing case"
142    with  name 'packing' 'case' 'box' 'strongbox',
143          initial
144              "Your packing case rests here, ready to hold any important
145               cultural finds you might make, for shipping back to civilisation.",
146          before [;
147              Take, Remove, PushDir:
148                  "The case is too heavy to bother moving, as long as your
149                   expedition is still incomplete.";
150              ],
151    has   static container open openable;
152   
153  !       Defined in DM4 §6
154  Object  -> -> camera "wet-plate camera"
155    with  name 'wet-plate' 'plate' 'wet' 'camera',
156          description
157              "A cumbersome, sturdy, stubborn wooden-framed wet plate
158               model: like all archaeologists, you have a love-hate
159               relationship with your camera.";
160   
161  !       Defined in DM4 §23
162  Object  -> -> newspaper "month-old newspaper"
163    with  name 'times' 'newspaper' 'paper' 'month-old' 'old',
164          description
165              "~The Times~ for 26 February, 1938, at once damp and brittle
166               after a month's exposure to the climate, which is much the way you
167               feel yourself. Perhaps there is fog in London.
168               Perhaps there are bombs.";
169   
170  !       Defined in DM4 §4, modified in §5 and §23
171  Object  -> steps "stone-cut steps"
172    with  name 'steps' 'stone' 'stairs' 'stone-cut' 'pyramid' 'burial'
173               'structure' 'ten' '10',
174          description [;
175              if (self.rubble_filled)
176                  "Rubble blocks the way after only a few steps.";
177              print "The cracked and worn steps descend into a dim
178                     chamber. Yours might ";
179              if (Square_Chamber hasnt visited)
180                  print "be the first feet to tread";
181              else
182                  print "have been the first feet to have trodden";
183              " them for five hundred years. On the top step is
184               inscribed the glyph Q1.";
185              ],
186          door_to [;
187              if (self.rubble_filled)
188                  "Rubble blocks the way after only a few steps.";
189              return Square_Chamber;
190              ],
191          door_dir d_to,
192          rubble_filled true,
193    has   scenery door open;
194   
195  ! ---------------------------------------------------------------------------- !


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.