From 9b5142af5a082210ddee56f7eac5eb89e7faf879 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Jul 2017 16:05:26 -0400 Subject: [PATCH] De-FORTRANIZE some IDs. --- actions.c | 4 ++-- adventure.yaml | 18 ++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) 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: -- 2.31.1