Replace macros with condition bits.
[open-adventure.git] / adventure.yaml
index ccf288679b41d83c5695aece03b9fb2dd4829e78..2b4a8a7fd846d08daa51ff2bc6ec71065216baf9 100644 (file)
@@ -14,9 +14,8 @@
 #    array.
 #
 # locations: Each item contains a long and short description.  Some
-#    short descriptions are empty.  Order of these locations is significant;
-#    see the macros OUTSID and INDEEP.  Location conditions can be read
-#    as follows:
+#    short descriptions are empty.  Order of these locations is not significant.
+#    Location conditions can be read as follows:
 #        LIT           Light
 #        OILY          If FLUID flag is on: true for oil, false for water
 #        FLUID         Liquid asset
 # FIXME: Hint texts shouldn't be in arbitrary_messages, but inlined here
 hints:
   - hint: &grate
+      name: CAVE
       number: 1
       turns: 4
       penalty: 2
       question: ENTRY_QUERY
       hint: HARD_GRATE
   - hint: &bird
+      name: BIRD
       number: 2
       turns: 5
       penalty: 2
       question: BIRD_QUERY
       hint: SKITTISH_BIRD
   - hint: &snake
+      name: SNAKE
       number: 3
       turns: 8
       penalty: 2
       question: SNAKE_QUERY
       hint: SNAKE_HINT
   - hint: &maze
+      name: MAZE
       number: 4
       turns: 75
       penalty: 4
       question: MAZE_HELP
       hint: DROP_THINGS
   - hint: &dark
+      name: DARK
       number: 5
       turns: 25
       penalty: 5
       question: PLOVER_QUERY
       hint: EXPLORE_HINT
   - hint: &witt
+      name: WITT
       number: 6
       turns: 20
       penalty: 3
       question: HELP_LEAVING
       hint: NOGO_WEST
-  - hint: &cliff
+  - hint: &urn
+      name: CLIFF
       number: 7
       turns: 8
       penalty: 2
       question: WONDERING_QUERY
       hint: ADVANCED_SECTION
   - hint: &forest
+      name: WOODS
       number: 8
       turns: 25
       penalty: 2
       question: FOREST_QUERY
       hint: GO_EAST
   - hint: &ogre
+      name: OGRE
       number: 9
       turns: 10
       penalty: 4
       question: OGRE_QUERY
       hint: OGRE_CLUE
   - hint: &jade
+      name: JADE
       number: 10
       turns: 1
       penalty: 4
@@ -165,7 +174,7 @@ locations: !!omap
       long: 'The forest thins out here to reveal a steep cliff.  There is no way\ndown, but a small ledge can be seen to the west across the chasm.'
       short: 'You''re at cliff.'
     conditions: {ABOVE: true, NOBACK: true, LIT: true}
-    hints: [*cliff]
+    hints: [*urn]
 - LOC_SLIT:
     description:
       long: 'At your feet all the water of the stream splashes into a 2-inch slit\nin the rock.  Downstream the streambed is bare rock.'
@@ -212,7 +221,7 @@ locations: !!omap
     description:
       long: 'You are at one end of a vast hall stretching forward out of sight to\nthe west.  There are openings to either side.  Nearby, a wide stone\nstaircase leads downward.  The hall is filled with wisps of white mist\nswaying to and fro almost as if alive.  A cold wind blows up the\nstaircase.  There is a passage at the top of a dome behind you.'
       short: 'You''re in Hall of Mists.'
-    conditions: {}
+    conditions: {DEEP: true}
     hints: [*jade]
 - LOC_CRACK:
     description:
@@ -656,19 +665,19 @@ locations: !!omap
       long: 'You are in an alcove.  A small nw path seems to widen after a short\ndistance.  An extremely tight tunnel leads east.  It looks like a very\ntight squeeze.  An eerie light can be seen at the other end.'
       short: 'You''re in alcove.'
     conditions: {DEEP: true}
-    hits: [*dark]
+    hints: [*dark]
 - LOC_PLOVER:
     description:
       long: 'You''re in a small chamber lit by an eerie green light.  An extremely\nnarrow tunnel exits to the west.  A dark corridor leads ne.'
       short: 'You''re in Plover Room.'
     conditions: {DEEP: true, LIT: true}
-    hits: [*dark]
+    hints: [*dark]
 - LOC_DARKROOM:
     description:
       long: 'You''re in the dark-room.  A corridor leading south is the only exit.'
       short: 'You''re in dark-room.'
     conditions: {DEEP: true}
-    hits: [*dark]
+    hints: [*dark]
 - LOC_ARCHED:
     description:
       long: 'You are in an arched hall.  A coral passage once continued up and east\nfrom here, but is now blocked by debris.  The air smells of sea water.'
@@ -882,7 +891,7 @@ locations: !!omap
       long: 'You are in a large chamber with passages to the west and north.'
       short: !!null
     conditions: {DEEP: true}
-    hits: [*ogre]
+    hints: [*ogre]
 - LOC_STOREROOM:
     description:
       long: 'You are in the ogre''s storeroom.  The only exit is to the south.'
@@ -892,139 +901,139 @@ locations: !!omap
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST2:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_FOREST3:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST4:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: { FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST5:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST6:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_FOREST7:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST8:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST9:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST10:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_FOREST11:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST12:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST13:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST14:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_FOREST15:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST16:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST17:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST18:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_FOREST19:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST20:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
-    hits: [*forest]
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
+    hints: [*forest]
 - LOC_FOREST21:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
-    conditions: {FOREST: true, NOBACK: true, LIT: true, DEEP: true}
+    conditions: {FOREST: true, NOBACK: true, LIT: true}
     hints: [*forest]
 - LOC_FOREST22:
     description:
       long: 'You are wandering aimlessly through the forest.'
       short: !!null
     conditions: {FOREST: true, NOBACK: true, LIT: true}
-    hits: [*forest]
+    hints: [*forest]
 - LOC_LEDGE:
     description:
       long: 'You are on a small ledge on one face of a sheer cliff.  There are no\npaths away from the ledge.  Across the chasm is a small clearing\nsurrounded by forest.'
       short: 'You''re on ledge.'
-    conditions: {DEEP: true, LIT: true}
+    conditions: {ABOVE: true, LIT: true}
 - LOC_RESBOTTOM:
     description:
       long: 'You are walking across the bottom of the reservoir.  Walls of water\nrear up on either side.  The roar of the water cascading past is\nnearly deafening, and the mist is so thick you can barely see.'
@@ -1084,12 +1093,12 @@ locations: !!omap
     description:
       long: '>>Foof!<<'
       short: !!null
-    conditions: {DEEP: true}
+    conditions: {}
 - LOC_FOOF2:
     description:
       long: '>>Foof!<<'
       short: !!null
-    conditions: {DEEP: true}
+    conditions: {ABOVE: true}
 - LOC_FOOF3:
     description:
       long: '>>Foof!<<'
@@ -1099,7 +1108,7 @@ locations: !!omap
     description:
       long: '>>Foof!<<'
       short: !!null
-    conditions: {DEEP: true}
+    conditions: {ABOVE: true}
 - LOC_FOOF5:
     description:
       long: '>>Foof!<<'
@@ -1110,10 +1119,6 @@ locations: !!omap
       long: '>>Foof!<<'
       short: !!null
     conditions: {DEEP: true}
-- LOC_NUGGET5:
-    description:
-      long: !!null
-      short: !!null
 
 arbitrary_messages:  !!omap
 - NO_MESSAGE: !!null