X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=60a148de79b1c5458ec0e686310c367896c68b03;hb=5c2b76f762552228e43d4ab5b91be2dae0286898;hp=a30a369e7714202136aa04d82475149a60712334;hpb=e05f959974ec2802362d25b8305a26e58d14a753;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index a30a369..60a148d 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -8,7 +8,7 @@ # # motions: Motion words, grouped into synonyms. The 'oldstyle' # attribute, if false, means that single-letter synonyms should be -# accepted in oldstyle mode; it defaults to truie. +# accepted in oldstyle mode; it defaults to true. # actions: Action words, grouped into synonyms, and their corresponding # default messages. The 'oldstyle' attribute is as for motions. @@ -56,6 +56,7 @@ # [with, OBJ] Must be carrying or in room with # [not, OBJ N] Property of named OBJ must not be N. # N may be numeric or a state label. +# [nodwarves] Dwarves must skip this rule. # All attributes are optional except the long description and # travel. Order of locations is not significant. # @@ -1244,7 +1245,7 @@ locations: !!omap travel: [ {verbs: ['EAST'], action: [goto, LOC_LONGEAST]}, {verbs: ['NORTH'], action: [goto, LOC_CROSSOVER]}, - {verbs: ['SOUTH'], cond: [carry, OBJ_0], action: [goto, LOC_DIFFERENT1]}, + {verbs: ['SOUTH'], cond: ["nodwarves"], action: [goto, LOC_DIFFERENT1]}, ] - LOC_CROSSOVER: description: @@ -3329,6 +3330,7 @@ objects: !!omap - [TROLL_GONE, ''] # chased away sounds: - 'The troll sounds quite adamant in his demand for a treasure.' + - 'The troll sounds quite adamant in his demand for a treasure.' - TROLL2: words: ['troll'] inventory: '*phony troll' @@ -3513,9 +3515,9 @@ objects: !!omap locations: LOC_GIANTROOM treasure: true descriptions: - - 'There is a large nest here, full of golden eggs!' - - 'The nest of golden eggs has vanished!' - - 'Done!' + - [EGGS_HERE, 'There is a large nest here, full of golden eggs!'] + - [EGGS_VANISHED, 'The nest of golden eggs has vanished!'] + - [EGGS_DONE, 'Done!'] - TRIDENT: words: ['tride'] inventory: 'Jeweled trident'