Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Advent.inf

14. A small network of Canyons, mainly Secret (lines 1582-1684)

1582  Room    In_Secret_N_S_Canyon_0 "Secret N/S Canyon"
1583    with  name 'secret' 'n/s' 'canyon' '0//',
1584          description
1585              "You are in a secret N/S canyon above a large room.",
1586          d_to In_Slab_Room,
1587          s_to In_Secret_Canyon,
1588          n_to In_Mirror_Canyon,
1589          before [;
1590            Go:
1591              if (noun == s_obj) canyon_from = self;
1592          ];
1593   
1594  Room    In_Secret_N_S_Canyon_1 "Secret N/S Canyon"
1595    with  name 'secret' 'n/s' 'canyon' '1//',
1596          description "You are in a secret N/S canyon above a sizable passage.",
1597          n_to At_Junction_Of_Three,
1598          d_to In_Bedquilt,
1599          s_to Atop_Stalactite;
1600   
1601  Room    At_Junction_Of_Three "Junction of Three Secret Canyons"
1602    with  name 'junction' 'of' 'three' 'secret' 'canyons',
1603          description
1604              "You are in a secret canyon at a junction of three canyons, bearing north, south, and se.
1605               The north one is as tall as the other two combined.",
1606          se_to In_Bedquilt,
1607          s_to In_Secret_N_S_Canyon_1,
1608          n_to At_Window_On_Pit_2;
1609   
1610  Room    In_Large_Low_Room "Large Low Room"
1611    with  name 'large' 'low' 'room',
1612          description
1613              "You are in a large low room. Crawls lead north, se, and sw.",
1614          sw_to In_Sloping_Corridor,
1615          se_to In_Oriental_Room,
1616          n_to Dead_End_Crawl;
1617   
1618  Room    Dead_End_Crawl "Dead End Crawl"
1619    with  name 'dead' 'end' 'crawl',
1620          description "This is a dead end crawl.",
1621          s_to In_Large_Low_Room,
1622          out_to In_Large_Low_Room;
1623   
1624  Room    In_Secret_E_W_Canyon "Secret E/W Canyon Above Tight Canyon"
1625    with  name 'secret' 'e/w' 'canyon' 'above' 'tight' 'canyon',
1626          description
1627              "You are in a secret canyon which here runs E/W.
1628               It crosses over a very tight canyon 15 feet below.
1629               If you go down you may not be able to get back up.",
1630          e_to In_Hall_Of_Mt_King,
1631          w_to In_Secret_Canyon,
1632          before [;
1633            Go:
1634              if (noun == w_obj) canyon_from = self;
1635          ],
1636          d_to In_N_S_Canyon;
1637   
1638  Room    In_N_S_Canyon "N/S Canyon"
1639    with  name 'n/s' 'canyon',
1640          description "You are at a wide place in a very tight N/S canyon.",
1641          s_to Canyon_Dead_End,
1642          n_to In_Tall_E_W_Canyon;
1643   
1644  Room    Canyon_Dead_End "Canyon Dead End"
1645    with  description "The canyon here becomes too tight to go further south.",
1646          n_to In_N_S_Canyon;
1647   
1648  Room    In_Tall_E_W_Canyon "In Tall E/W Canyon"
1649    with  name 'tall' 'e/w' 'canyon',
1650          description
1651              "You are in a tall E/W canyon. A low tight crawl goes 3 feet north
1652               and seems to open up.",
1653          e_to In_N_S_Canyon,
1654          w_to Dead_End_8,
1655          n_to In_Swiss_Cheese_Room;
1656   
1657  ! ------------------------------------------------------------------------------
1658   
1659  Room    Atop_Stalactite "Atop Stalactite"
1660    with  name 'atop' 'stalactite',
1661          description
1662              "A large stalactite extends from the roof and almost reaches the floor below.
1663               You could climb down it, and jump from it to the floor,
1664               but having done so you would be unable to reach it to climb back up.",
1665          n_to In_Secret_N_S_Canyon_1,
1666          d_to [;
1667              if (random(100) <= 40) return Alike_Maze_6;
1668              if (random(100) <= 50) return Alike_Maze_9;
1669              return Alike_Maze_4;
1670          ],
1671          before [;
1672            Jump, Climb:
1673              <<Go d_obj>>;
1674          ];
1675   
1676  Scenic  -> "stalactite"
1677    with  name 'stalactite' 'stalagmite' 'stalagtite' 'large',
1678          description
1679              "You could probably climb down it, but you can forget coming back up.",
1680          before [;
1681            LookUnder, Push, Take:
1682              "Do get a grip on yourself.";
1683          ];
1684   


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.