From: Eric S. Raymond Date: Sun, 16 Jul 2017 20:05:26 +0000 (-0400) Subject: De-FORTRANIZE some IDs. X-Git-Tag: 1.3~68 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=9b5142af5a082210ddee56f7eac5eb89e7faf879;hp=2fca59d9fd6a6c2240ce715d010995c614836999 De-FORTRANIZE some IDs. --- diff --git a/actions.c b/actions.c index 54cd4e0..e9e7b70 100644 --- a/actions.c +++ b/actions.c @@ -1315,14 +1315,14 @@ int action(struct command_t *command) if (game.loc == LOC_START || game.loc == LOC_VALLEY || game.loc == LOC_SLIT) { - command->obj = DPRSSN; + command->obj = DEPRESSION; } if (game.loc == LOC_COBBLE || game.loc == LOC_DEBRIS || game.loc == LOC_AWKWARD || game.loc == LOC_BIRD || game.loc == LOC_PITTOP) { - command->obj = ENTRNC; + command->obj = ENTRANCE; } } else if (command->obj == DWARF && atdwrf(game.loc) > 0) /* FALL THROUGH */; diff --git a/adventure.yaml b/adventure.yaml index 4e2da1e..4ee5cc7 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -246,9 +246,9 @@ motions: !!omap words: ['slab', 'slabr'] - XYZZY: words: ['xyzzy'] -- DPRSSN: +- DEPRESSION: words: ['depre'] -- ENTRNC: +- ENTRANCE: words: ['entra'] - PLUGH: words: ['plugh'] @@ -256,23 +256,21 @@ motions: !!omap words: ['secre'] - CAVE: words: ['cave'] -- MOT_68: - words: !!null -- MOT_69: +- CROSS: words: ['cross'] - BEDQUILT: words: ['bedqu'] - PLOVER: words: ['plove'] -- FORWARD2: +- ORIENTAL: words: ['orien'] -- FORWARD3: +- CAVERN: words: ['caver'] -- FORWARD4: +- SHELLROOM: words: ['shell'] -- FORWARD5: +- RESERVOIR: words: ['reser'] -- FORWARD6: +- OFFICE: words: ['main', 'offic'] hints: