From: Aaron Traas Date: Fri, 21 Jul 2017 13:52:19 +0000 (-0400) Subject: Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml X-Git-Tag: 1.3~16 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5337e00725f17e08836fb2a2f59ab178ece47000;p=open-adventure.git Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml NOTE: the tests are all updated because now, like every other action, SEED and WASTE have a \n before their output, as they correctly use SPEAK --- diff --git a/actions.c b/actions.c index 3990f8c..0a67cf4 100644 --- a/actions.c +++ b/actions.c @@ -1244,6 +1244,26 @@ static int wake(verb_t verb, obj_t obj) } } +static int seed(verb_t verb, const char *arg) +/* Set seed */ +{ + long seed = atol(arg); + speak(actions[verb].message, arg); + set_seed(seed); + --game.turns; + return GO_TOP; +} + +static int waste(verb_t verb, turn_t turns) +/* Burn turns */ +{ + game.limit -= turns; + char newlim[1024]; + sprintf(newlim, "%ld", (long)game.limit); + speak(actions[verb].message, newlim); + return GO_TOP; +} + static int wave(verb_t verb, obj_t obj) /* Wave. No effect unless waving rod at fissure or at bird. */ { @@ -1430,6 +1450,10 @@ int action(struct command_t *command) return listen(); case PART: return reservoir(); + case SEED: + case WASTE: + rspeak(NUMERIC_REQUIRED); + return GO_TOP; default: // LCOV_EXCL_LINE BUG(INTRANSITIVE_ACTION_VERB_EXCEEDS_GOTO_LIST); // LCOV_EXCL_LINE } @@ -1531,6 +1555,10 @@ int action(struct command_t *command) } case PART: return reservoir(); + case SEED: + return seed(command->verb, command->raw2); + case WASTE: + return waste(command->verb, (turn_t)atol(command->raw2)); default: // LCOV_EXCL_LINE BUG(TRANSITIVE_ACTION_VERB_EXCEEDS_GOTO_LIST); // LCOV_EXCL_LINE } diff --git a/advent.h b/advent.h index a20c3dd..09ec71b 100644 --- a/advent.h +++ b/advent.h @@ -87,7 +87,7 @@ enum termination {endgame, quitgame, scoregame}; enum speechpart {unknown, intransitive, transitive}; -enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, SPECIAL}; +enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, SPECIAL, NUMERIC}; typedef enum scorebonus {none, splatter, defeat, victory} score_t; diff --git a/adventure.yaml b/adventure.yaml index 4ee5cc7..8c940f8 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -3015,6 +3015,8 @@ arbitrary_messages: !!omap - GO_UNNEEDED: |- You don't have to say "go" every time; just specify a direction or, if it's nearby, name the place to which you wish to move. +- NUMERIC_REQUIRED: + This command requires a numeric argument. classes: - threshold: 0 @@ -3878,6 +3880,12 @@ actions: !!omap - PART: message: *nothing_happens words: ['z''zzz'] +- SEED: + message: 'Seed set to %s' + words: ['seed'] +- WASTE: + message: 'Game limit is now %s' + words: ['waste'] - ACT_UNKNOWN: message: *huh_man words: !!null diff --git a/main.c b/main.c index faa353b..c837fe6 100644 --- a/main.c +++ b/main.c @@ -133,28 +133,6 @@ int main(int argc, char *argv[]) terminate(quitgame); } -static bool fallback_handler(struct command_t command) -/* fallback handler for commands not handled by FORTRANish parser */ -{ - long sv; - turn_t turnlimit; - char buf[DIM(command.raw1) + DIM(command.raw2) + 1]; - sprintf(buf, "%s %s", command.raw1, command.raw2); - - if (sscanf(buf, "seed %ld", &sv) == 1) { - set_seed(sv); - printf("Seed set to %ld\n", sv); - // autogenerated, so don't charge user time for it. - --game.turns; - return true; - } else if (sscanf(buf, "waste %ld", &turnlimit) == 1) { - game.limit -= turnlimit; - printf("Game limit is now %ld\n", game.limit); - return true; - } - return false; -} - /* Check if this loc is eligible for any hints. If been here long * enough, display. Ignore "HINTS" < 4 (special stuff, see database * notes). */ @@ -1136,8 +1114,6 @@ Lookup: rspeak(GO_UNNEEDED); } if (command.id1 == WORD_NOT_FOUND) { - if (fallback_handler(command)) - continue; /* Gee, I don't understand. */ sspeak(DONT_KNOW, command.raw1); goto Lclearobj; @@ -1152,12 +1128,16 @@ Lookup: command.obj = command.id1; break; case ACTION: - command.part = intransitive; + if(command.type2 == NUMERIC) + command.part = transitive; + else + command.part = intransitive; command.verb = command.id1; break; case SPECIAL: speak(specials[command.id1].message); goto Lclearobj; + case NUMERIC: default: // LCOV_EXCL_LINE BUG(VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3); // LCOV_EXCL_LINE } diff --git a/misc.c b/misc.c index 120a503..2fe1363 100644 --- a/misc.c +++ b/misc.c @@ -399,6 +399,30 @@ static int get_special_vocab_id(const char* word) return (WORD_NOT_FOUND); } +static bool is_valid_int(const char *str) +/* Returns true if the string passed in is represents a valid integer, + * that could then be parsed by atoi() */ +{ + // Handle negative number + if (*str == '-') + ++str; + + // Handle empty string or just "-" + if (!*str) + return false; + + // Check for non-digit chars in the rest of the stirng. + while (*str) + { + if (!isdigit(*str)) + return false; + else + ++str; + } + + return true; +} + static void get_vocab_metadata(const char* word, vocab_t* id, enum wordtype* type) { /* Check for an empty string */ @@ -445,6 +469,13 @@ static void get_vocab_metadata(const char* word, vocab_t* id, enum wordtype* typ return; } + // Check words that are actually numbers. + if (is_valid_int(word)) { + *id = WORD_EMPTY; + *type = NUMERIC; + return; + } + *id = WORD_NOT_FOUND; *type = NO_WORD_TYPE; return; diff --git a/tests/axebear.chk b/tests/axebear.chk index 417c1f9..4bd8d07 100644 --- a/tests/axebear.chk +++ b/tests/axebear.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/axeorama.chk b/tests/axeorama.chk index a1b316f..f9bc843 100644 --- a/tests/axeorama.chk +++ b/tests/axeorama.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/barehands.chk b/tests/barehands.chk index dad89bc..b8bc9a7 100644 --- a/tests/barehands.chk +++ b/tests/barehands.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/bigfail.chk b/tests/bigfail.chk index bab7c6f..8a216dc 100644 --- a/tests/bigfail.chk +++ b/tests/bigfail.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. @@ -2512,6 +2513,7 @@ Brass lantern Dwarf's axe > waste 2443 + Game limit is now 30 You're in Hall of Mists. diff --git a/tests/birdsnakewake.chk b/tests/birdsnakewake.chk index afcc84e..1642118 100644 --- a/tests/birdsnakewake.chk +++ b/tests/birdsnakewake.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/boulder2.chk b/tests/boulder2.chk index 8f2f953..08ee7b9 100644 --- a/tests/boulder2.chk +++ b/tests/boulder2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/breakmirror.chk b/tests/breakmirror.chk index 709c352..8fb1910 100644 --- a/tests/breakmirror.chk +++ b/tests/breakmirror.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/carrybird.chk b/tests/carrybird.chk index 654577a..7f3b931 100644 --- a/tests/carrybird.chk +++ b/tests/carrybird.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1071883378 + Seed set to 1071883378 You're in front of building. diff --git a/tests/carryfreebird.chk b/tests/carryfreebird.chk index 87e2447..7d78c9f 100644 --- a/tests/carryfreebird.chk +++ b/tests/carryfreebird.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/death-jump.chk b/tests/death-jump.chk index 69bd301..5be6c02 100644 --- a/tests/death-jump.chk +++ b/tests/death-jump.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495774850 + Seed set to 1495774850 You're in front of building. diff --git a/tests/defeat.chk b/tests/defeat.chk index d21f2b8..353acc0 100644 --- a/tests/defeat.chk +++ b/tests/defeat.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/domefail.chk b/tests/domefail.chk index e3f301c..000995b 100644 --- a/tests/domefail.chk +++ b/tests/domefail.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/dragon_secret5.chk b/tests/dragon_secret5.chk index 03c5d13..202b08e 100644 --- a/tests/dragon_secret5.chk +++ b/tests/dragon_secret5.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 18084731 + Seed set to 18084731 You're in front of building. diff --git a/tests/dropcagedbird.chk b/tests/dropcagedbird.chk index 4836a41..b5c64e6 100644 --- a/tests/dropcagedbird.chk +++ b/tests/dropcagedbird.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/drown.chk b/tests/drown.chk index c1f3319..b581ef3 100644 --- a/tests/drown.chk +++ b/tests/drown.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/dwarf.chk b/tests/dwarf.chk index c189647..47aec5e 100644 --- a/tests/dwarf.chk +++ b/tests/dwarf.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1494912171 + Seed set to 1494912171 You're in front of building. diff --git a/tests/dwarf_alternative.chk b/tests/dwarf_alternative.chk index d45ef8c..5fcaf06 100644 --- a/tests/dwarf_alternative.chk +++ b/tests/dwarf_alternative.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 383847 + Seed set to 383847 You're in front of building. diff --git a/tests/eggs_done.chk b/tests/eggs_done.chk index dad7c6b..e8d9a50 100644 --- a/tests/eggs_done.chk +++ b/tests/eggs_done.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/eggs_vanish.chk b/tests/eggs_vanish.chk index 52eb210..5f84bfc 100644 --- a/tests/eggs_vanish.chk +++ b/tests/eggs_vanish.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/endgame428.chk b/tests/endgame428.chk index fa7e248..d79e450 100644 --- a/tests/endgame428.chk +++ b/tests/endgame428.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/fail_hint_maze.chk b/tests/fail_hint_maze.chk index 2551f20..9973218 100644 --- a/tests/fail_hint_maze.chk +++ b/tests/fail_hint_maze.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 25508795 + Seed set to 25508795 You're in front of building. diff --git a/tests/fail_hint_ogre.chk b/tests/fail_hint_ogre.chk index 7de5781..b7d6952 100644 --- a/tests/fail_hint_ogre.chk +++ b/tests/fail_hint_ogre.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/fail_hint_ogre2.chk b/tests/fail_hint_ogre2.chk index 845df47..701dfec 100644 --- a/tests/fail_hint_ogre2.chk +++ b/tests/fail_hint_ogre2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 25508795 + Seed set to 25508795 You're in front of building. diff --git a/tests/fillvase.chk b/tests/fillvase.chk index 51e9b52..6f86288 100644 --- a/tests/fillvase.chk +++ b/tests/fillvase.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/footslip.chk b/tests/footslip.chk index 0be8983..50abc40 100644 --- a/tests/footslip.chk +++ b/tests/footslip.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/gemstates.chk b/tests/gemstates.chk index 28d633d..568ae17 100644 --- a/tests/gemstates.chk +++ b/tests/gemstates.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/hint_dark.chk b/tests/hint_dark.chk index ba37865..cee6051 100644 --- a/tests/hint_dark.chk +++ b/tests/hint_dark.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/hint_grate.chk b/tests/hint_grate.chk index 965be07..652b639 100644 --- a/tests/hint_grate.chk +++ b/tests/hint_grate.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495774850 + Seed set to 1495774850 You're in front of building. diff --git a/tests/hint_jade.chk b/tests/hint_jade.chk index c59b24c..b9bf99e 100644 --- a/tests/hint_jade.chk +++ b/tests/hint_jade.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/hint_snake.chk b/tests/hint_snake.chk index 8dfcc8c..78ca80f 100644 --- a/tests/hint_snake.chk +++ b/tests/hint_snake.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1951269982 + Seed set to 1951269982 You're in front of building. diff --git a/tests/hint_urn.chk b/tests/hint_urn.chk index 74a8ac6..d51adc1 100644 --- a/tests/hint_urn.chk +++ b/tests/hint_urn.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/hint_witt.chk b/tests/hint_witt.chk index af20bc2..919f079 100644 --- a/tests/hint_witt.chk +++ b/tests/hint_witt.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/illformed.chk b/tests/illformed.chk index 17d277c..3546395 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -32,6 +32,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. @@ -72,6 +73,20 @@ Sorry, but I no longer seem to remember how it was you got here. You're in front of building. +> seed + +This command requires a numeric argument. + +You're in front of building. + +> waste + +This command requires a numeric argument. + +You are standing at the end of a road before a small brick building. +Around you is a forest. A small stream flows out of the building and +down a gully. + > eat grate I see no grate here. @@ -236,9 +251,7 @@ Blasting requires dynamite. > building -You are standing at the end of a road before a small brick building. -Around you is a forest. A small stream flows out of the building and -down a gully. +You're in front of building. > cave @@ -597,7 +610,7 @@ Okay, "boo". > score -You have garnered 27 out of a possible 430 points, using 113 turns. +You have garnered 27 out of a possible 430 points, using 115 turns. > z @@ -605,7 +618,7 @@ OK > score -You have garnered 27 out of a possible 430 points, using 115 turns. +You have garnered 27 out of a possible 430 points, using 117 turns. > quit keys @@ -654,7 +667,7 @@ Do you really want to quit now? OK -You scored 27 out of a possible 430, using 123 turns. +You scored 27 out of a possible 430, using 125 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index 1ee23a5..f3b781f 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -13,6 +13,8 @@ say rub say grate _ back +seed +waste eat grate eat building in diff --git a/tests/lampdim.chk b/tests/lampdim.chk index 0589e26..41faeb4 100644 --- a/tests/lampdim.chk +++ b/tests/lampdim.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/lampdim2.chk b/tests/lampdim2.chk index 9f4f455..eff2157 100644 --- a/tests/lampdim2.chk +++ b/tests/lampdim2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/lampdim3.chk b/tests/lampdim3.chk index 17f721f..56ad30f 100644 --- a/tests/lampdim3.chk +++ b/tests/lampdim3.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/listenloud.chk b/tests/listenloud.chk index 60ef13b..2843ed2 100644 --- a/tests/listenloud.chk +++ b/tests/listenloud.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/lockchain.chk b/tests/lockchain.chk index 2b71194..6af55cb 100644 --- a/tests/lockchain.chk +++ b/tests/lockchain.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/mazealldiff.chk b/tests/mazealldiff.chk index 7baf1a9..10d289f 100644 --- a/tests/mazealldiff.chk +++ b/tests/mazealldiff.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/mazehint.chk b/tests/mazehint.chk index f762ebb..0d00119 100644 --- a/tests/mazehint.chk +++ b/tests/mazehint.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1071883378 + Seed set to 1071883378 You're in front of building. diff --git a/tests/notrident.chk b/tests/notrident.chk index fa1b1f9..b9ccccf 100644 --- a/tests/notrident.chk +++ b/tests/notrident.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/ogre_no_dwarves.chk b/tests/ogre_no_dwarves.chk index 087c765..dff2bc5 100644 --- a/tests/ogre_no_dwarves.chk +++ b/tests/ogre_no_dwarves.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 25508795 + Seed set to 25508795 You're in front of building. diff --git a/tests/ogrehint.chk b/tests/ogrehint.chk index 1cd0ca2..bff9632 100644 --- a/tests/ogrehint.chk +++ b/tests/ogrehint.chk @@ -8,11 +8,13 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 437547289 + Seed set to 437547289 You're in front of building. > seed 1071883378 + Seed set to 1071883378 You're in front of building. diff --git a/tests/oilplant.chk b/tests/oilplant.chk index 3d76b66..bb1c0c3 100644 --- a/tests/oilplant.chk +++ b/tests/oilplant.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/panic.chk b/tests/panic.chk index 4933371..3af6d4f 100644 --- a/tests/panic.chk +++ b/tests/panic.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/panic2.chk b/tests/panic2.chk index 180e633..98be4c8 100644 --- a/tests/panic2.chk +++ b/tests/panic2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/pirate_carry.chk b/tests/pirate_carry.chk index f19a290..1f7498c 100644 --- a/tests/pirate_carry.chk +++ b/tests/pirate_carry.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1837473132 + Seed set to 1837473132 You're in front of building. diff --git a/tests/pirate_pyramid.chk b/tests/pirate_pyramid.chk index e1837c9..00fbc28 100644 --- a/tests/pirate_pyramid.chk +++ b/tests/pirate_pyramid.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1830473132 + Seed set to 1830473132 You're in front of building. diff --git a/tests/pirate_spotted.chk b/tests/pirate_spotted.chk index 8579139..c3ec897 100644 --- a/tests/pirate_spotted.chk +++ b/tests/pirate_spotted.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/pitfall.chk b/tests/pitfall.chk index 1286058..f812b6c 100644 --- a/tests/pitfall.chk +++ b/tests/pitfall.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 780351908 + Seed set to 780351908 You're in front of building. diff --git a/tests/plover.chk b/tests/plover.chk index c1c628e..ebe1ba7 100644 --- a/tests/plover.chk +++ b/tests/plover.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495951709 + Seed set to 1495951709 You're in front of building. diff --git a/tests/reach_ledge_short.chk b/tests/reach_ledge_short.chk index cdb18dc..1e7dd62 100644 --- a/tests/reach_ledge_short.chk +++ b/tests/reach_ledge_short.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/reach_noclimb.chk b/tests/reach_noclimb.chk index be868ce..3160646 100644 --- a/tests/reach_noclimb.chk +++ b/tests/reach_noclimb.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/reach_planttop.chk b/tests/reach_planttop.chk index 85019c8..8009e1f 100644 --- a/tests/reach_planttop.chk +++ b/tests/reach_planttop.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/reincarnate.chk b/tests/reincarnate.chk index 4f5cc60..c8a8842 100644 --- a/tests/reincarnate.chk +++ b/tests/reincarnate.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1495774850 + Seed set to 1495774850 You're in front of building. diff --git a/tests/resumefail.chk b/tests/resumefail.chk index 27f8271..7be9b12 100644 --- a/tests/resumefail.chk +++ b/tests/resumefail.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1240742801 + Seed set to 1240742801 You're in front of building. diff --git a/tests/savefail.chk b/tests/savefail.chk index 7bce9d0..de89a53 100644 --- a/tests/savefail.chk +++ b/tests/savefail.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1240742801 + Seed set to 1240742801 You're in front of building. diff --git a/tests/saveresume.1.chk b/tests/saveresume.1.chk index 0ee7b5d..711d158 100644 --- a/tests/saveresume.1.chk +++ b/tests/saveresume.1.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1240742801 + Seed set to 1240742801 You're in front of building. diff --git a/tests/saveresume.3.chk b/tests/saveresume.3.chk index 9ebe8cc..df532ef 100644 --- a/tests/saveresume.3.chk +++ b/tests/saveresume.3.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/seedcrash.chk b/tests/seedcrash.chk index 88dc02b..7590280 100644 --- a/tests/seedcrash.chk +++ b/tests/seedcrash.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. @@ -1274,6 +1275,7 @@ You're in Shell Room. There is an enormous clam here with its shell tightly closed. > seed 1635997320 + Seed set to 1635997320 You're in Shell Room. diff --git a/tests/snake_food.chk b/tests/snake_food.chk index 0634986..96f6900 100644 --- a/tests/snake_food.chk +++ b/tests/snake_food.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1951269982 + Seed set to 1951269982 You're in front of building. diff --git a/tests/splatter.chk b/tests/splatter.chk index a1f8e60..67b4368 100644 --- a/tests/splatter.chk +++ b/tests/splatter.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/tall.chk b/tests/tall.chk index 8beaa77..7a30299 100644 --- a/tests/tall.chk +++ b/tests/tall.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/trident.chk b/tests/trident.chk index 55593c0..5d9f213 100644 --- a/tests/trident.chk +++ b/tests/trident.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1071883378 + Seed set to 1071883378 You're in front of building. diff --git a/tests/troll_returns.chk b/tests/troll_returns.chk index 00dc700..9118618 100644 --- a/tests/troll_returns.chk +++ b/tests/troll_returns.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/turnpenalties.chk b/tests/turnpenalties.chk index fa9bf46..88315a3 100644 --- a/tests/turnpenalties.chk +++ b/tests/turnpenalties.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1951269982 + Seed set to 1951269982 You're in front of building. diff --git a/tests/urntest.chk b/tests/urntest.chk index a3a4503..dcfde2c 100644 --- a/tests/urntest.chk +++ b/tests/urntest.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/urntest2.chk b/tests/urntest2.chk index 35a18ac..56c6a0c 100644 --- a/tests/urntest2.chk +++ b/tests/urntest2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/urntest3.chk b/tests/urntest3.chk index ec16bbd..18829cf 100644 --- a/tests/urntest3.chk +++ b/tests/urntest3.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/vending.chk b/tests/vending.chk index 229dd89..6e67b28 100644 --- a/tests/vending.chk +++ b/tests/vending.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/wakedwarves.chk b/tests/wakedwarves.chk index c8dfd32..4f79d76 100644 --- a/tests/wakedwarves.chk +++ b/tests/wakedwarves.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/wakedwarves2.chk b/tests/wakedwarves2.chk index f899bd0..f339924 100644 --- a/tests/wakedwarves2.chk +++ b/tests/wakedwarves2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/wakedwarves3.chk b/tests/wakedwarves3.chk index 48a72ca..5ae3b74 100644 --- a/tests/wakedwarves3.chk +++ b/tests/wakedwarves3.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1838473132 + Seed set to 1838473132 You're in front of building. diff --git a/tests/water_plant2.chk b/tests/water_plant2.chk index 20f97d2..4ccbe2b 100644 --- a/tests/water_plant2.chk +++ b/tests/water_plant2.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 183847312 + Seed set to 183847312 You're in front of building. diff --git a/tests/weirdbird.chk b/tests/weirdbird.chk index 5e298b2..52f5eb7 100644 --- a/tests/weirdbird.chk +++ b/tests/weirdbird.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 694608006 + Seed set to 694608006 You're in front of building. diff --git a/tests/weirddwarf.chk b/tests/weirddwarf.chk index 90104c8..24fb92e 100644 --- a/tests/weirddwarf.chk +++ b/tests/weirddwarf.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1071883378 + Seed set to 1071883378 You're in front of building. diff --git a/tests/wittsend.chk b/tests/wittsend.chk index a4bb9b7..ac54c71 100644 --- a/tests/wittsend.chk +++ b/tests/wittsend.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 1635997320 + Seed set to 1635997320 You're in front of building. diff --git a/tests/woodshint.chk b/tests/woodshint.chk index c8cdc08..c26d471 100644 --- a/tests/woodshint.chk +++ b/tests/woodshint.chk @@ -8,6 +8,7 @@ Around you is a forest. A small stream flows out of the building and down a gully. > seed 2099333241 + Seed set to 2099333241 You're in front of building.