X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=7b40eaf26ff8dbf08339082f68584d74f4b165af;hb=refs%2Ftags%2F1.10;hp=175635a6b3f8613b0d8efa865bf1d024056990ad;hpb=19662647151988d84cc1caa3e6d4d60d69467f63;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index 175635a..7b40eaf 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -62,7 +62,7 @@ # # arbitrary_messages: These are arguments to rspeak(). Some spans of # these messages need to be kept adjacent and ordered (for now), -# though there are no depenencies on actual numbers left. To see +# though there are no dependencies on actual numbers left. To see # which, grep for rspeak() calls containing expressions with # arithmetic. Eventually, these will be pulled out into more # appropriate data structures. Then ordering can be dropped. @@ -81,7 +81,9 @@ # Order doesn't matter; the logic simply tests every threshold on # the assumption that turn counts never decrease nor skip values. # -# objects: Objects have attributes as follows... +# objects: Objects that are refernced in C code or the YAML by name +# have human-readable names; others are named OBJ with a numeric suffix. +# Objects have attributes as follows... # inventory: A description for use in the inventory command. # states: A list of state labels for states from 0 up. Each # becomes a #define, and is also a state label that @@ -112,6 +114,9 @@ # %s = an ASCII string # %S = The letter 's' or nothing (if a previous %d value is exactly 1) # %V = substitute program version string +# +# Copyright (c) 2017 by Eric S. Raymond +# SPDX-License-Identifier: BSD-2-clause motions: !!omap - MOT_0: @@ -602,7 +607,7 @@ locations: !!omap description: long: |- The crack is far too small for you to follow. At its widest it is - barely wide enough to admit your foot.' + barely wide enough to admit your foot. short: !!null conditions: {DEEP: true} travel: [ @@ -937,9 +942,9 @@ locations: !!omap hints: [*maze] travel: [ {verbs: [EAST], action: [goto, LOC_ALIKE2]}, - {verbs: [DOWN], action: [goto, LOC_DEADEND3]}, + {verbs: [DOWN], action: [goto, LOC_MAZEEND3]}, {verbs: [SOUTH], action: [goto, LOC_ALIKE6]}, - {verbs: [NORTH], action: [goto, LOC_DEADEND9]}, + {verbs: [NORTH], action: [goto, LOC_MAZEEND9]}, ] - LOC_ALIKE4: description: @@ -950,11 +955,11 @@ locations: !!omap travel: [ {verbs: [WEST], action: [goto, LOC_ALIKE1]}, {verbs: [NORTH], action: [goto, LOC_ALIKE2]}, - {verbs: [EAST], action: [goto, LOC_DEADEND1]}, - {verbs: [SOUTH], action: [goto, LOC_DEADEND2]}, + {verbs: [EAST], action: [goto, LOC_MAZEEND1]}, + {verbs: [SOUTH], action: [goto, LOC_MAZEEND2]}, {verbs: [UPWAR, DOWN], action: [goto, LOC_ALIKE14]}, ] -- LOC_DEADEND1: +- LOC_MAZEEND1: description: long: 'Dead end' short: !!null @@ -963,7 +968,7 @@ locations: !!omap travel: [ {verbs: [WEST, OUT], action: [goto, LOC_ALIKE4]}, ] -- LOC_DEADEND2: +- LOC_MAZEEND2: description: long: 'Dead end' short: !!null @@ -972,7 +977,7 @@ locations: !!omap travel: [ {verbs: [EAST, OUT], action: [goto, LOC_ALIKE4]}, ] -- LOC_DEADEND3: +- LOC_MAZEEND3: description: long: 'Dead end' short: !!null @@ -1027,7 +1032,7 @@ locations: !!omap {verbs: [SOUTH], action: [goto, LOC_ALIKE8]}, {verbs: [UPWAR], action: [goto, LOC_ALIKE9]}, {verbs: [NORTH], action: [goto, LOC_ALIKE10]}, - {verbs: [DOWN], action: [goto, LOC_DEADEND11]}, + {verbs: [DOWN], action: [goto, LOC_MAZEEND11]}, ] - LOC_ALIKE9: description: @@ -1038,9 +1043,9 @@ locations: !!omap travel: [ {verbs: [WEST], action: [goto, LOC_ALIKE7]}, {verbs: [NORTH], action: [goto, LOC_ALIKE8]}, - {verbs: [SOUTH], action: [goto, LOC_DEADEND4]}, + {verbs: [SOUTH], action: [goto, LOC_MAZEEND4]}, ] -- LOC_DEADEND4: +- LOC_MAZEEND4: description: long: 'Dead end' short: !!null @@ -1058,10 +1063,10 @@ locations: !!omap travel: [ {verbs: [WEST], action: [goto, LOC_ALIKE8]}, {verbs: [NORTH], action: [goto, LOC_ALIKE10]}, - {verbs: [DOWN], action: [goto, LOC_DEADEND5]}, + {verbs: [DOWN], action: [goto, LOC_MAZEEND5]}, {verbs: [EAST], action: [goto, LOC_PITBRINK]}, ] -- LOC_DEADEND5: +- LOC_MAZEEND5: description: long: 'Dead end' short: !!null @@ -1081,11 +1086,11 @@ locations: !!omap travel: [ {verbs: [DOWN, CLIMB], action: [goto, LOC_BIRD]}, {verbs: [WEST], action: [goto, LOC_ALIKE10]}, - {verbs: [SOUTH], action: [goto, LOC_DEADEND6]}, + {verbs: [SOUTH], action: [goto, LOC_MAZEEND6]}, {verbs: [NORTH], action: [goto, LOC_ALIKE12]}, {verbs: [EAST], action: [goto, LOC_ALIKE13]}, ] -- LOC_DEADEND6: +- LOC_MAZEEND6: description: long: 'Dead end' short: !!null @@ -1187,7 +1192,7 @@ locations: !!omap - LOC_SWISSCHEESE: description: long: |- - You are in a room whose walls resemble swiss cheese. Obvious passages + You are in a room whose walls resemble Swiss cheese. Obvious passages go west, east, ne, and nw. Part of the room is occupied by a large bedrock block. short: 'You''re in Swiss Cheese Room.' @@ -1357,9 +1362,9 @@ locations: !!omap {verbs: [NORTH], action: [goto, LOC_ALIKE1]}, {verbs: [WEST], action: [goto, LOC_ALIKE11]}, {verbs: [SOUTH], action: [goto, LOC_ALIKE11]}, - {verbs: [EAST], action: [goto, LOC_DEADEND8]}, + {verbs: [EAST], action: [goto, LOC_MAZEEND8]}, ] -- LOC_DEADEND8: +- LOC_MAZEEND8: description: long: 'Dead end' short: !!null @@ -1368,7 +1373,7 @@ locations: !!omap travel: [ {verbs: [WEST, OUT], action: [goto, LOC_ALIKE11]}, ] -- LOC_DEADEND9: +- LOC_MAZEEND9: description: long: 'Dead end' short: !!null @@ -1385,7 +1390,7 @@ locations: !!omap travel: [ {verbs: [SOUTH], action: [goto, LOC_PITBRINK]}, {verbs: [EAST], action: [goto, LOC_ALIKE13]}, - {verbs: [WEST], action: [goto, LOC_DEADEND10]}, + {verbs: [WEST], action: [goto, LOC_MAZEEND10]}, ] - LOC_ALIKE13: description: @@ -1395,9 +1400,9 @@ locations: !!omap travel: [ {verbs: [NORTH], action: [goto, LOC_PITBRINK]}, {verbs: [WEST], action: [goto, LOC_ALIKE12]}, - {verbs: [NW], action: [goto, LOC_DEADEND12]}, + {verbs: [NW], action: [goto, LOC_MAZEEND12]}, ] -- LOC_DEADEND10: +- LOC_MAZEEND10: description: long: 'Dead end' short: !!null @@ -1405,7 +1410,7 @@ locations: !!omap travel: [ {verbs: [EAST, OUT], action: [goto, LOC_ALIKE12]}, ] -- LOC_DEADEND11: +- LOC_MAZEEND11: description: long: 'Dead end' short: !!null @@ -1600,7 +1605,7 @@ locations: !!omap description: long: |- You're in a large room carved out of sedimentary rock. The floor and - walls are littered with bits of shells imbedded in the stone. A + walls are littered with bits of shells embedded in the stone. A shallow passage proceeds downward, and a somewhat steeper one leads up. A low hands and knees passage enters from the south. short: 'You''re in Shell Room.' @@ -1757,7 +1762,7 @@ locations: !!omap {verbs: [NORTH, ACROS, CROSS], cond: [not, RESER, WATERS_PARTED], action: [speak, BAD_DIRECTION]}, {verbs: [NORTH], action: [goto, LOC_RESBOTTOM]}, ] -- LOC_DEADEND12: +- LOC_MAZEEND12: description: long: 'Dead end' short: !!null @@ -2542,7 +2547,7 @@ locations: !!omap conditions: {DEEP: true} travel: [ {verbs: [DOWN], action: [goto, LOC_CLIFFBASE]}, - {verbs: [UPWAR], cond: [carry, OBJ_46], action: [goto, LOC_CLIFFTOP]}, + {verbs: [UPWAR], cond: [carry, RABBITFOOT], action: [goto, LOC_CLIFFTOP]}, {verbs: [UPWAR], action: [goto, LOC_FOOTSLIP]}, ] - LOC_FOOTSLIP: @@ -2759,7 +2764,7 @@ arbitrary_messages: !!omap You'd best take inventory and drop something. - CLAM_BLOCKER: 'You can''t fit this five-foot clam through that little passage!' - OYSTER_BLOCKER: 'You can''t fit this five-foot oyster through that little passage!' -#- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<' +- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<' - DROP_OYSTER: 'I advise you to put down the oyster before opening it. >WRENCH!<' - CLAM_OPENER: 'You don''t have anything strong enough to open the clam.' - OYSTER_OPENER: 'You don''t have anything strong enough to open the oyster.' @@ -2924,19 +2929,19 @@ arbitrary_messages: !!omap to form a rare amber gemstone, resting in the cavity in the rock. - DOUGHNUT_HOLES: 'I suppose you collect doughnut holes, too?' - GEM_FITS: 'The gem fits easily into the cavity.' -- RUG_RISES: 'The persian rug stiffens and rises a foot or so off the ground.' +- RUG_RISES: 'The Persian rug stiffens and rises a foot or so off the ground.' - RUG_WIGGLES: |- - The persian rug draped over your shoulder seems to wriggle for a + The Persian rug draped over your shoulder seems to wriggle for a moment, but then subsides. -- RUG_SETTLES: 'The persian rug settles gently to the ground.' +- RUG_SETTLES: 'The Persian rug settles gently to the ground.' - RUG_HOVERS: 'The rug hovers stubbornly where it is.' - RUG_NOTHING1: 'The rug does not appear inclined to cooperate.' - RUG_NOTHING2: |- - If you mean to use the persian rug, it does not appear inclined to + If you mean to use the Persian rug, it does not appear inclined to cooperate. - FLAP_ARMS: 'Though you flap your arms furiously, it is to no avail.' - RUG_GOES: |- - You board the persian rug, which promptly whisks you across the chasm. + You board the Persian rug, which promptly whisks you across the chasm. You have time for a fleeting glimpse of a two thousand foot drop to a mighty river; then you find yourself on the other side. - RUG_RETURNS: 'The rug ferries you back across the chasm.' @@ -2990,7 +2995,7 @@ arbitrary_messages: !!omap # %d of %d vocabulary words %d of %d locations # %d of %d objects %d of %d action verbs # %d of %d "random" messages %d of %d "class" messages -# %d of %d hints %d of %d turn threshholds' +# %d of %d hints %d of %d turn thresholds' - RESUME_ABANDON: 'To resume an earlier Adventure, you must abandon the current one.' - VERSION_SKEW: |- I'm sorry, but that Adventure was begun using Version %d.%d of the @@ -3039,7 +3044,7 @@ classes: 'Adventuredom stands in awe -- you have now joined the ranks of the W O R L D C H A M P I O N A D V E N T U R E R S ! It may interest you to know that the Dungeon-Master himself has, to - my knowledge, never achieved this threshhold in fewer than 330 turns.' + my knowledge, never achieved this threshold in fewer than 330 turns.' turn_thresholds: - threshold: 350 @@ -3194,7 +3199,7 @@ objects: !!omap immovable: true descriptions: - |- - A massive stone tablet imbedded in the wall reads: + A massive stone tablet embedded in the wall reads: "Congratulations on bringing light into the dark-room!" texts: - '"Congratulations on bringing light into the dark-room!"' @@ -3414,7 +3419,7 @@ objects: !!omap immovable: true states: [UNTAMED_BEAR, SITTING_BEAR, CONTENTED_BEAR, BEAR_DEAD] descriptions: - - 'There is a ferocious cave bear eying you from the far end of the room!' + - 'There is a ferocious cave bear eyeing you from the far end of the room!' - 'There is a gentle cave bear sitting placidly in one corner.' - 'There is a contented-looking bear wandering about nearby.' - '' @@ -3524,7 +3529,7 @@ objects: !!omap changes: - 'The waters crash together again.' - 'The waters have parted to form a narrow path across the reservoir.' -- OBJ_46: +- RABBITFOOT: words: ['appen', 'lepor'] inventory: 'Leporine appendage' locations: LOC_FOREST22 @@ -3666,9 +3671,9 @@ objects: !!omap treasure: true states: [RUG_FLOOR, RUG_DRAGON, RUG_HOVER] descriptions: - - 'There is a persian rug spread out on the floor!' - - 'The dragon is sprawled out on a persian rug!!' - - 'There is a persian rug here, hovering in mid-air!' + - 'There is a Persian rug spread out on the floor!' + - 'The dragon is sprawled out on a Persian rug!!' + - 'There is a Persian rug here, hovering in mid-air!' - OBJ_63: words: ['spice'] inventory: 'Rare spices'