X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=a1925a8b71fa9630698409a62e1d138a82f924ce;hb=eb27776c99068914abf60b5cbea47f3cc072f8a7;hp=aed2a4f1951abe44319a23a0e730be9cf8bf7b6b;hpb=cd36e91381d7f8a3d499867de5b183a0c7a0cc5d;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index aed2a4f..a1925a8 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -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 @@ -2545,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: @@ -2762,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.' @@ -3527,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