Magic-number elimination.
[open-adventure.git] / adventure.yaml
index 12e2aeb67bf9f3831bd3c1f8f0c2565b0d969414..45e44fb1dfa17762d0d61ce7c5174596b5d4d079 100644 (file)
@@ -139,7 +139,7 @@ motions: !!omap
     words: ['downs']
 - MOT_6:
     words: ['fores']
-- MOT_7:
+- FORWARD:
     words: ['forwa', 'conti', 'onwar']
 - BACK:
     words: ['back', 'retur', 'retre']
@@ -147,7 +147,7 @@ motions: !!omap
     words: ['valle']
 - MOT_10:
     words: ['stair']
-- MOT_11:
+- OUTSIDE:
     words: ['out', 'outsi', 'exit', 'leave']
 - MOT_12:
     words: ['build', 'house']
@@ -159,11 +159,11 @@ motions: !!omap
     words: ['fork']
 - MOT_16:
     words: ['bed']
-- MOT_17:
+- CRAWL:
     words: ['crawl']
 - MOT_18:
     words: ['cobbl']
-- MOT_19:
+- INSIDE:
     words: ['inwar', 'insid', 'in']
 - MOT_20:
     words: ['surfa']
@@ -183,9 +183,9 @@ motions: !!omap
     words: ['giant']
 - MOT_28:
     words: ['view']
-- MOT_29:
+- UP:
     words: ['upwar', 'up', 'u', 'above', 'ascen']
-- MOT_30:
+- DOWN:
     words: ['d', 'downw', 'down', 'desce']
 - MOT_31:
     words: ['pit']
@@ -197,9 +197,9 @@ motions: !!omap
     words: ['steps']
 - MOT_35:
     words: ['dome']
-- MOT_36:
+- LEFT:
     words: ['left']
-- MOT_37:
+- RIGHT:
     words: ['right']
 - MOT_38:
     words: ['hall']
@@ -211,21 +211,21 @@ motions: !!omap
     words: ['over']
 - MOT_42:
     words: ['acros']
-- MOT_43:
+- EAST:
     words: ['east', 'e']
-- MOT_44:
+- WEST:
     words: ['west', 'w']
 - MOT_45:
     words: ['north', 'n']
 - MOT_46:
     words: ['south', 's']
-- MOT_47:
+- NE:
     words: ['ne']
-- MOT_48:
+- SE:
     words: ['se']
-- MOT_49:
+- SW:
     words: ['sw']
-- MOT_50:
+- NW:
     words: ['nw']
 - MOT_51:
     words: ['debri']
@@ -249,13 +249,13 @@ motions: !!omap
     words: ['slit']
 - MOT_61:
     words: ['slab', 'slabr']
-- MOT_62:
+- XYZZY:
     words: ['xyzzy']
 - DPRSSN:
     words: ['depre']
 - ENTRNC:
     words: ['entra']
-- MOT_65:
+- PLUGH:
     words: ['plugh']
 - MOT_66:
     words: ['secre']
@@ -265,19 +265,19 @@ motions: !!omap
     words: !!null
 - MOT_69:
     words: ['cross']
-- MOT_70:
+- FORWARD0:
     words: ['bedqu']
-- MOT_71:
+- FORWARD1:
     words: ['plove']
-- MOT_72:
+- FORWARD2:
     words: ['orien']
-- MOT_73:
+- FORWARD3:
     words: ['caver']
-- MOT_74:
+- FORWARD4:
     words: ['shell']
-- MOT_75:
+- FORWARD5:
     words: ['reser']
-- MOT_76:
+- FORWARD6:
     words: ['main', 'offic']
 
 actions: !!omap
@@ -454,6 +454,9 @@ specials: !!omap
 - SPC_275:
     message: ADVENTURE_NEWS
     words: ['news']
+- SPC_276:
+    message: ADVENTURE_VERSION
+    words: ['versi']
 
 hints:
   - hint: &grate
@@ -2527,7 +2530,7 @@ locations: !!omap
 
 arbitrary_messages:  !!omap
 - NO_MESSAGE: !!null
-- CAVE_NEARBY: 'Somewhere nearby is Colossal Cave, where others have found fortunes in\ntreasure and gold, though it is rumored that some who enter are never\nseen again.  Magic is said to work in the cave.  I will be your eyes\nand hands.  Direct me with commands of 1 or 2 words.  I should warn\nyou that I look at only the first five letters of each word, so you''ll\nhave to enter "northeast" as "ne" to distinguish it from "north".\nYou can type "help" for some general hints.  For information on how\nto end your adventure, scoring, etc., type "info".\n\t\t\t      - - -\nThis program was originally developed by Willie Crowther.  Most of the\nfeatures of the current program were added by Don Woods.  Contact Don\nif you have any questions, comments, etc.'
+- CAVE_NEARBY: 'Somewhere nearby is Colossal Cave, where others have found fortunes in\ntreasure and gold, though it is rumored that some who enter are never\nseen again.  Magic is said to work in the cave.  I will be your eyes\nand hands.  Direct me with commands of 1 or 2 words.  I should warn\nyou that I look at only the first five letters of each word, so you''ll\nhave to enter "northeast" as "ne" to distinguish it from "north".\nYou can type "help" for some general hints.  For information on how\nto end your adventure, scoring, etc., type "info".\n\t\t\t      - - -\nThis program was originally developed by Willie Crowther.  Most of the\nfeatures of the current program were added by Don Woods.'
 - DWARF_BLOCK: 'A little dwarf with a big knife blocks your way.'
 - DWARF_RAN: 'A little dwarf just walked around a corner, saw you, threw a little\naxe at you which missed, cursed, and ran away.'
 - DWARF_PACK: 'There are %d threatening little dwarves in the room with you.'
@@ -2805,8 +2808,8 @@ arbitrary_messages:  !!omap
 - TWIST_TURN: 'Sorry, but the path twisted and turned so much that I can''t figure\nout which way to go to get back.'
 - ADVENTURE_NEWS: 'Open Adventure is an author-approved open-source release of\nVersion 2.5 with, as yet, no gameplay changes.\nVersion 2.5 was essentially the same as Version II; the cave and the\nhazards therein are unchanged, and top score is still 430 points.\nThere are a few more hints, especially for some of the more obscure\npuzzles.  There are a few minor bugfixes and cosmetic changes.  You\ncan now save a game and resume it at once (formerly you had to wait a\nwhile first), but it now costs you a few points each time you save the\ngame.  Saved games are now stored in much smaller files than before.'
 - GO_UNNEEDED: 'You don''t have to say "go" every time; just specify a direction or, if\nit''s nearby, name the place to which you wish to move.'
-- ARB_279: !!null
-  
+- ADVENTURE_VERSION: 'There is a puff of orange smoke; within it, fiery runes spell out:\n\n\tOpen Adventure 1.1 - http://www.catb.org/esr/open-adventure/'
+
 classes: 
 - threshold: 0
   message: !!null