Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Ruins.inf

Upper / North Canyon (lines 345-413)

345  !       The UPPER/NORTH CANYON.
346  !
347  !       Defined in DM4 §23
348  Object  Canyon_N "Upper End of Canyon"
349    with  description
350              "The higher, broader northern end of the canyon rises only to an
351               uneven wall of volcanic karst.",
352          s_to Junction,
353          d_to Junction,
354    has   light;
355   
356  !       Defined in DM4 §15, modified in Exercise 24 and §23
357  Object  -> huge_ball "huge pumice-stone ball"
358    with  name 'huge' 'pumice' 'pumice-stone' 'stone' 'ball',
359          initial
360              "A huge pumice-stone ball rests here, eight feet wide.",
361          description
362              "A good eight feet across, though fairly lightweight.",
363          before [;
364              PushDir:
365                  if (location == Junction && second == ne_obj)
366                      "The Shrine entrance is far less than eight feet wide.";
367                  AllowPushDir();
368                  rtrue;
369              Pull, Push, Turn:
370                  "It wouldn't be so very hard to get rolling.";
371              Take, Remove:
372                  "There's a lot of stone in an eight-foot sphere.";
373              ],
374          after [;
375              PushDir:
376                  if (second == n_obj) "You strain to push the ball uphill.";
377                  if (second == u_obj) <<PushDir self n_obj>>;
378                  if (second == s_obj) "The ball is hard to stop once underway.";
379                  if (second == d_obj) <<PushDir self s_obj>>;
380              ],
381    has   static;
382   
383  ! ---------------------------------------------------------------------------- !
384  !       The XIBALBÁ/JUNCTION.
385   
386  !       Defined in DM4 §23
387  Object  Junction "Xibalb@'a"
388    with  description
389              "Fifty metres beneath rainforest, and the sound of water is
390               everywhere: these deep, eroded limestone caves extend like
391               taproots. A slither northeast by a broad collapsed column of
392               ice-covered rock leads back to the Shrine, while a kind of canyon
393               floor extends uphill to the north and downwards to south,
394               pale white like shark's teeth in the diffused light from the
395               sodium lamp above.",
396          ne_to Shrine,
397          n_to Canyon_N,
398          u_to Canyon_N,
399          s_to Canyon_S,
400          d_to Canyon_S,
401   has    light;
402   
403  !       Defined in DM4 §23
404  Treasure -> stela "stela"
405    with  name 'stela' 'boundary' 'stone' 'marker',
406          initial
407              "A modest-sized stela, or boundary stone, rests on a ledge
408               at head height.",
409          description
410              "The carvings appear to warn that the boundary of Xibalb@'a,
411               Place of Fright, is near. The Bird glyph is prominent.";
412   
413  ! ---------------------------------------------------------------------------- !


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.