X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=02af861016fab4ce941587a0bd5e0c7ccdf7fa93;hb=f6267ff3eb635c3494b8a67e967bb2882a0f9875;hp=4f2f287cab96ebc7ab5ef144ce71ebfc0d25d0bc;hpb=ed4e6ad422e35770f9fdde6fa956b20fc33e6fca;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index 4f2f287..02af861 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -462,7 +462,7 @@ motions: !!omap - MOT_56: words: ['climb'] - LOOK: - words: ['look', 'exami', 'touch', 'descr'] + words: ['l', 'x', 'look', 'exami', 'touch', 'descr'] - MOT_58: words: ['floor'] - MOT_59: @@ -506,106 +506,106 @@ actions: !!omap - ACT_0: message: !!null words: !!null -- ACT_1: +- CARRY: message: ALREADY_CARRYING - words: ['carry', 'take', 'keep', 'catch', 'steal', 'captu', 'get', 'tote', 'snarf'] -- ACT_2: + words: ['g', 'carry', 'take', 'keep', 'catch', 'steal', 'captu', 'get', 'tote', 'snarf'] +- DROP: message: ARENT_CARRYING - words: ['drop', 'relea', 'free', 'disca', 'dump'] + words: ['d', 'drop', 'relea', 'free', 'disca', 'dump'] - SAY: message: NO_MESSAGE words: ['say', 'chant', 'sing', 'utter', 'mumbl'] -- ACT_4: +- UNLOCK: message: NOT_LOCKABLE words: ['unloc', 'open'] -- ACT_5: +- NOTHING: message: NO_MESSAGE - words: ['nothi'] + words: ['z', 'nothi'] - LOCK: message: NOT_LOCKABLE words: ['lock', 'close'] -- ACT_7: +- LIGHT: message: DONT_UNDERSTAND words: ['light', 'on'] -- ACT_8: +- EXTINGUISH: message: DONT_UNDERSTAND words: ['extin', 'off'] -- ACT_9: +- WAVE: message: NOTHING_HAPPENS words: ['wave', 'shake', 'swing'] -- ACT_10: +- TAME: message: AM_GAME words: ['calm', 'placa', 'tame'] -- ACT_11: +- GO: message: WHERE_QUERY words: ['walk', 'run', 'trave', 'go', 'proce', 'conti', 'explo', 'follo', 'turn'] -- ACT_12: +- ATTACK: message: RIDICULOUS_ATTEMPT words: ['attac', 'kill', 'fight', 'hit', 'strik', 'slay'] -- ACT_13: +- POUR: message: ARENT_CARRYING words: ['pour'] -- ACT_14: +- EAT: message: RIDICULOUS_ATTEMPT words: ['eat', 'devou'] -- ACT_15: +- DRINK: message: STREAM_WATER words: ['drink'] -- ACT_16: +- RUB: message: RUB_NOGO words: ['rub'] - THROW: message: ARENT_CARRYING words: ['throw', 'toss'] -- ACT_18: +- QUIT: message: HUH_MAN words: ['quit'] - FIND: message: NEARBY words: ['find', 'where'] -- INVENT: +- INVENTORY: message: NEARBY - words: ['inven'] -- ACT_21: + words: ['i', 'inven'] +- FEED: message: NO_EDIBLES words: ['feed'] -- ACT_22: +- FILL: message: CANT_FILL words: ['fill'] -- ACT_23: +- BLAST: message: REQUIRES_DYNAMITE words: ['blast', 'deton', 'ignit', 'blowu'] -- ACT_24: +- SCORE: message: HUH_MAN words: ['score'] -- ACT_25: +- GIANTWORDS: message: NOT_KNOWHOW words: ['fee', 'fie', 'foe', 'foo', 'fum'] -- ACT_26: +- BRIEF: message: ON_WHAT words: ['brief'] -- ACT_27: +- READ: message: DONT_UNDERSTAND words: ['read', 'perus'] -- ACT_28: +- BREAK: message: BEYOND_POWER words: ['break', 'shatt', 'smash'] -- ACT_29: +- WAKE: message: RIDICULOUS_ATTEMPT words: ['wake', 'distu'] -- ACT_30: +- SAVE: message: HUH_MAN words: ['suspe', 'pause', 'save'] -- ACT_31: +- RESUME: message: HUH_MAN words: ['resum', 'resta'] -- ACT_32: +- FLY: message: AM_GAME words: ['fly'] -- ACT_33: +- LISTEN: message: DONT_UNDERSTAND words: ['liste'] -- ACT_34: +- PART: message: NOTHING_HAPPENS words: ['z''zzz'] - ACT_35: @@ -920,9 +920,9 @@ locations: !!omap hints: [*snake] travel: [ {verbs: ['STAIR', 'UPWAR', 'EAST'], action: [goto, LOC_MISTHALL]}, - {verbs: ['NORTH', 'RIGHT'], cond: [not, SNAKE, 0], action: [goto, LOC_FLOORHOLE]}, - {verbs: ['SOUTH', 'LEFT'], cond: [not, SNAKE, 0], action: [goto, LOC_SOUTHSIDE]}, - {verbs: ['WEST', 'FORWA'], cond: [not, SNAKE, 0], action: [goto, LOC_WESTSIDE]}, + {verbs: ['NORTH', 'RIGHT'], cond: [not, SNAKE, SNAKE_BLOCKS], action: [goto, LOC_FLOORHOLE]}, + {verbs: ['SOUTH', 'LEFT'], cond: [not, SNAKE, SNAKE_BLOCKS], action: [goto, LOC_SOUTHSIDE]}, + {verbs: ['WEST', 'FORWA'], cond: [not, SNAKE, SNAKE_BLOCKS], action: [goto, LOC_WESTSIDE]}, {verbs: ['NORTH'], action: [goto, LOC_SNAKEBLOCK]}, {verbs: ['SW'], cond: [pct, 35], action: [goto, LOC_SECRET3]}, {verbs: ['SW'], cond: ["with", SNAKE], action: [goto, LOC_SNAKEBLOCK]}, @@ -995,9 +995,9 @@ locations: !!omap short: 'You''re on west bank of fissure.' conditions: {DEEP: true} travel: [ - {verbs: ['JUMP'], cond: [not, FISSURE, 0], action: ["speak", CROSS_BRIDGE]}, - {verbs: ['FORWA'], cond: [not, FISSURE, 1], action: [goto, LOC_NOMAKE]}, - {verbs: ['OVER', 'ACROS', 'EAST', 'CROSS'], cond: [not, FISSURE, 1], action: ["speak", NO_CROSS]}, + {verbs: ['JUMP'], cond: [not, FISSURE, UNBRIDGED], action: ["speak", CROSS_BRIDGE]}, + {verbs: ['FORWA'], cond: [not, FISSURE, BRIDGED], action: [goto, LOC_NOMAKE]}, + {verbs: ['OVER', 'ACROS', 'EAST', 'CROSS'], cond: [not, FISSURE, BRIDGED], action: ["speak", NO_CROSS]}, {verbs: ['OVER'], action: [goto, LOC_EASTBANK]}, {verbs: ['NORTH'], action: [goto, LOC_PARALLEL1]}, {verbs: ['WEST'], action: [goto, LOC_MISTWEST]}, @@ -1441,7 +1441,7 @@ locations: !!omap conditions: {DEEP: true} travel: [ {verbs: ['D', 'SLAB'], action: [goto, LOC_SLAB]}, - {verbs: ['SOUTH'], cond: [not, DRAGON, 0], action: [goto, LOC_SECRET5]}, + {verbs: ['SOUTH'], cond: [not, DRAGON, DRAGON_BLOCKS], action: [goto, LOC_SECRET5]}, {verbs: ['SOUTH'], action: [goto, LOC_SECRET4]}, {verbs: ['NORTH'], action: [goto, LOC_MIRRORCANYON]}, {verbs: ['RESER'], action: [goto, LOC_RESERVOIR]}, @@ -1492,7 +1492,7 @@ locations: !!omap conditions: {DEEP: true} travel: [ {verbs: ['EAST'], action: [goto, LOC_KINGHALL]}, - {verbs: ['WEST'], cond: [not, DRAGON, 0], action: [goto, LOC_SECRET5]}, + {verbs: ['WEST'], cond: [not, DRAGON, DRAGON_BLOCKS], action: [goto, LOC_SECRET5]}, {verbs: ['WEST'], action: [goto, LOC_SECRET6]}, {verbs: ['D'], action: [goto, LOC_WIDEPLACE]}, ] @@ -1921,9 +1921,9 @@ locations: !!omap travel: [ {verbs: ['SW'], action: [goto, LOC_WINDING]}, {verbs: ['OVER', 'ACROS', 'CROSS', 'NE'], cond: [with, TROLL], action: ["speak", TROLL_BLOCKS]}, - {verbs: ['OVER'], cond: [not, CHASM, 0], action: ["speak", BRIDGE_GONE]}, + {verbs: ['OVER'], cond: [not, CHASM, TROLL_BRIDGE], action: ["speak", BRIDGE_GONE]}, {verbs: ['OVER'], action: ["special", 3]}, - {verbs: ['JUMP'], cond: [not, CHASM, 0], action: [goto, LOC_NOMAKE]}, + {verbs: ['JUMP'], cond: [not, CHASM, TROLL_BRIDGE], action: [goto, LOC_NOMAKE]}, {verbs: ['JUMP'], action: ["speak", CROSS_BRIDGE]}, ] - LOC_WINDING: @@ -2551,7 +2551,7 @@ locations: !!omap conditions: {FLUID: true, DEEP: true} sound: WATERS_CRASHING travel: [ - {verbs: ['SOUTH', 'ACROS', 'CROSS'], cond: [not, RESER, 1], action: ["speak", BAD_DIRECTION]}, + {verbs: ['SOUTH', 'ACROS', 'CROSS'], cond: [not, RESER, WATERS_PARTED], action: ["speak", BAD_DIRECTION]}, {verbs: ['SOUTH'], action: [goto, LOC_RESBOTTOM]}, {verbs: ['NW', 'UPWAR', 'OUT'], action: [goto, LOC_TREACHEROUS]}, ] @@ -3090,8 +3090,8 @@ objects: !!omap locations: LOC_KINGHALL immovable: true longs: - - 'A huge green fierce snake bars the way!' - - '' # chased away + - [SNAKE_BLOCKS, 'A huge green fierce snake bars the way!'] + - [SNAKE_CHASED, ''] # chased away sounds: - 'The snake is hissing venomously.' - FISSURE: @@ -3243,7 +3243,7 @@ objects: !!omap locations: [LOC_SECRET4, LOC_SECRET6] immovable: true longs: - - 'A huge green fierce dragon bars the way!' + - [DRAGON_BLOCKS, 'A huge green fierce dragon bars the way!'] - 'The blood-specked body of a huge green dead dragon lies to one side.' - 'The body of a huge green dead dragon is lying off to one side.' - 'Congratulations! You have just vanquished a dragon with your bare\nhands! (Unbelievable, isn''t it?)' @@ -3257,8 +3257,8 @@ objects: !!omap locations: [LOC_SWCHASM, LOC_NECHASM] immovable: true longs: - - 'A rickety wooden bridge extends across the chasm, vanishing into the\nmist. A notice posted on the bridge reads, "Stop! Pay troll!"' - - 'The wreckage of a bridge (and a dead bear) can be seen at the bottom\nof the chasm.' + - [TROLL_BRIDGE, 'A rickety wooden bridge extends across the chasm, vanishing into the\nmist. A notice posted on the bridge reads, "Stop! Pay troll!"'] + - [BRIDGE_WRECKED, 'The wreckage of a bridge (and a dead bear) can be seen at the bottom\nof the chasm.'] - TROLL: words: ['troll'] inventory: '*troll' @@ -3366,7 +3366,7 @@ objects: !!omap immovable: true longs: - '' - - 'The waters have parted to form a narrow path across the reservoir.' + - [WATERS_PARTED, 'The waters have parted to form a narrow path across the reservoir.'] - 'The waters crash together again.' - OBJ_46: words: ['appen', 'lepor']