From 5f7ce870405316959d22ea4750e87c26f53fb416 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 22 Mar 2023 17:09:14 -0400 Subject: [PATCH] Change prompt generation to be more compatible with the advent430 branch. --- main.c | 9 +++++++-- tests/axebear.chk | 2 +- tests/axeorama.chk | 2 +- tests/barehands.chk | 2 +- tests/bigfail.chk | 2 +- tests/birdweight.chk | 2 +- tests/boulder2.chk | 2 +- tests/carrybird.chk | 2 +- tests/carryfreebird.chk | 2 +- tests/cheatresume.chk | 2 +- tests/cheatresume2.chk | 2 +- tests/domefail.chk | 2 +- tests/dragon_secret5.chk | 2 +- tests/dropcagedbird.chk | 2 +- tests/dwarf_alternative.chk | 1 + tests/eggs_done.chk | 2 +- tests/eggs_vanish.chk | 2 +- tests/fail_hint_maze.chk | 2 +- tests/fail_hint_ogre.chk | 2 +- tests/fail_hint_ogre2.chk | 2 +- tests/fail_hint_woods.chk | 2 +- tests/fillfail.chk | 2 +- tests/fillvase.chk | 2 +- tests/flyback.chk | 2 +- tests/foobug.chk | 2 +- tests/footslip.chk | 2 +- tests/gemstates.chk | 2 +- tests/goback.chk | 2 +- tests/hint_dark.chk | 2 +- tests/hint_grate.chk | 2 +- tests/hint_jade.chk | 2 +- tests/hint_snake.chk | 2 +- tests/hint_urn.chk | 2 +- tests/hint_witt.chk | 2 +- tests/illformed.chk | 1 + tests/intransitivecarry.chk | 2 +- tests/isofoo.chk | 2 +- tests/issue36.chk | 2 +- tests/issue37.chk | 2 +- tests/lampdim.chk | 2 +- tests/lampdim2.chk | 2 +- tests/lockchain.chk | 1 + tests/logopt.chk | 2 +- tests/mazealldiff.chk | 2 +- tests/mazehint.chk | 2 +- tests/notrident.chk | 2 +- tests/ogre_no_dwarves.chk | 2 +- tests/ogrehint.chk | 2 +- tests/oilplant.chk | 2 +- tests/panic.chk | 2 +- tests/panic2.chk | 2 +- tests/pirate_carry.chk | 2 +- tests/pirate_pyramid.chk | 2 +- tests/pirate_spotted.chk | 2 +- tests/plover.chk | 2 +- tests/reach_ledge_short.chk | 2 +- tests/reach_noclimb.chk | 2 +- tests/reach_planttop.chk | 2 +- tests/reincarnate.chk | 2 +- tests/resumefail.chk | 3 ++- tests/resumefail2.chk | 2 +- tests/savefail.chk | 3 ++- tests/saveresumeopt.chk | 2 +- tests/snake_food.chk | 2 +- tests/softroom.chk | 2 +- tests/specials.chk | 2 +- tests/takebird.chk | 2 +- tests/tall.chk | 2 +- tests/trident.chk | 2 +- tests/troll_returns.chk | 2 +- tests/urntest.chk | 2 +- tests/urntest2.chk | 2 +- tests/urntest3.chk | 2 +- tests/vending.chk | 2 +- tests/water_plant2.chk | 2 +- tests/weirdbird.chk | 2 +- tests/weirddwarf.chk | 2 +- tests/wittsend.chk | 2 +- tests/woodshint.chk | 2 +- 79 files changed, 87 insertions(+), 77 deletions(-) diff --git a/main.c b/main.c index b318cd0..f83c4e0 100644 --- a/main.c +++ b/main.c @@ -55,8 +55,13 @@ char *myreadline(const char *prompt) * logfiles for testing purposes. */ /* Normal case - no script arguments */ - if (settings.argc == 0) - return readline(prompt); + if (settings.argc == 0) { + char *ln = readline(prompt); + if (ln == NULL) { + fputs(prompt, stdout); + } + return ln; + } char *buf = malloc(LINESIZE + 1); for (;;) { diff --git a/tests/axebear.chk b/tests/axebear.chk index 7cff028..ba465c2 100644 --- a/tests/axebear.chk +++ b/tests/axebear.chk @@ -1631,7 +1631,7 @@ There is a little axe lying beside the bear. The bear is locked to the wall with a golden chain! - +> You scored 251 out of a possible 430, using 271 turns. You have reached "Junior Master" status. diff --git a/tests/axeorama.chk b/tests/axeorama.chk index 741ac50..fbb1d7b 100644 --- a/tests/axeorama.chk +++ b/tests/axeorama.chk @@ -652,7 +652,7 @@ mist. A notice posted on the bridge reads, "Stop! Pay troll!" A burly troll stands by the bridge and insists you throw him a treasure before you may cross. - +> You scored 105 out of a possible 430, using 109 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/barehands.chk b/tests/barehands.chk index 38b0c05..f94685f 100644 --- a/tests/barehands.chk +++ b/tests/barehands.chk @@ -307,7 +307,7 @@ The blood-specked body of a huge green dead dragon lies to one side. For crying out loud, the poor thing is already dead! - +> You scored 77 out of a possible 430, using 49 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/bigfail.chk b/tests/bigfail.chk index eebea66..8084d1c 100644 --- a/tests/bigfail.chk +++ b/tests/bigfail.chk @@ -2537,7 +2537,7 @@ best start wrapping this up. OK - +> You scored 207 out of a possible 430, using 416 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/birdweight.chk b/tests/birdweight.chk index 0df99e6..24f0904 100644 --- a/tests/birdweight.chk +++ b/tests/birdweight.chk @@ -456,7 +456,7 @@ attack. He seems almost amused by your puny effort. OK - +> You scored 61 out of a possible 430, using 81 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/boulder2.chk b/tests/boulder2.chk index 9430308..87aee68 100644 --- a/tests/boulder2.chk +++ b/tests/boulder2.chk @@ -1479,7 +1479,7 @@ You're in Chamber of Boulders. There are rare spices here! - +> You scored 119 out of a possible 430, using 238 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/carrybird.chk b/tests/carrybird.chk index 7f3b931..55f6ac9 100644 --- a/tests/carrybird.chk +++ b/tests/carrybird.chk @@ -75,7 +75,7 @@ You can catch the bird, but you cannot carry it. The little bird is now dead. Its body disappears. - +> You scored 32 out of a possible 430, using 10 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/carryfreebird.chk b/tests/carryfreebird.chk index dcaf64b..870ea4b 100644 --- a/tests/carryfreebird.chk +++ b/tests/carryfreebird.chk @@ -327,7 +327,7 @@ The bird eyes you suspiciously and flutters away. A moment later you feel something wet land on your head, but upon looking up you can see no sign of the culprit. - +> You scored 113 out of a possible 430, using 57 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/cheatresume.chk b/tests/cheatresume.chk index 08c1263..a56a78b 100644 --- a/tests/cheatresume.chk +++ b/tests/cheatresume.chk @@ -13,7 +13,7 @@ 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. - +> Now let's see you do it without suspending in mid-Adventure. You scored 9031 out of a possible 430, using 0 turns. diff --git a/tests/cheatresume2.chk b/tests/cheatresume2.chk index d698a26..af3648c 100644 --- a/tests/cheatresume2.chk +++ b/tests/cheatresume2.chk @@ -13,7 +13,7 @@ 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. - +> Now let's see you do it without suspending in mid-Adventure. You scored 10031 out of a possible 430, using 0 turns. diff --git a/tests/domefail.chk b/tests/domefail.chk index 000995b..961b8c5 100644 --- a/tests/domefail.chk +++ b/tests/domefail.chk @@ -166,7 +166,7 @@ The dome is unclimbable. You're in Hall of Mists. - +> You scored 63 out of a possible 430, using 24 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/dragon_secret5.chk b/tests/dragon_secret5.chk index 1d5e121..b469f27 100644 --- a/tests/dragon_secret5.chk +++ b/tests/dragon_secret5.chk @@ -246,7 +246,7 @@ There is a Persian rug spread out on the floor! The blood-specked body of a huge green dead dragon lies to one side. - +> You scored 65 out of a possible 430, using 32 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/dropcagedbird.chk b/tests/dropcagedbird.chk index b5c64e6..5f382a3 100644 --- a/tests/dropcagedbird.chk +++ b/tests/dropcagedbird.chk @@ -150,7 +150,7 @@ A huge green fierce snake bars the way! There's nothing here it wants to eat (except perhaps you). - +> You scored 59 out of a possible 430, using 25 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/dwarf_alternative.chk b/tests/dwarf_alternative.chk index 5fcaf06..d9adb04 100644 --- a/tests/dwarf_alternative.chk +++ b/tests/dwarf_alternative.chk @@ -58,3 +58,4 @@ Oh dear, you seem to have gotten yourself killed. I might be able to help you out, but I've never really done this before. Do you want me to try to reincarnate you? +> \ No newline at end of file diff --git a/tests/eggs_done.chk b/tests/eggs_done.chk index 70dcf03..4e85042 100644 --- a/tests/eggs_done.chk +++ b/tests/eggs_done.chk @@ -1223,7 +1223,7 @@ Wicker cage Black rod Small bottle - +> You scored 77 out of a possible 430, using 190 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/eggs_vanish.chk b/tests/eggs_vanish.chk index 2fe0579..256ac5e 100644 --- a/tests/eggs_vanish.chk +++ b/tests/eggs_vanish.chk @@ -435,7 +435,7 @@ There is a large nest here, full of golden eggs! The passage here is blocked by a recent cave-in. - +> You scored 67 out of a possible 430, using 66 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/fail_hint_maze.chk b/tests/fail_hint_maze.chk index 9973218..46b0aa7 100644 --- a/tests/fail_hint_maze.chk +++ b/tests/fail_hint_maze.chk @@ -436,7 +436,7 @@ OK OK - +> You scored 59 out of a possible 430, using 93 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/fail_hint_ogre.chk b/tests/fail_hint_ogre.chk index 71a9d72..4d300b7 100644 --- a/tests/fail_hint_ogre.chk +++ b/tests/fail_hint_ogre.chk @@ -1638,7 +1638,7 @@ OK OK - +> You scored 77 out of a possible 430, using 263 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/fail_hint_ogre2.chk b/tests/fail_hint_ogre2.chk index 28b673e..3437b22 100644 --- a/tests/fail_hint_ogre2.chk +++ b/tests/fail_hint_ogre2.chk @@ -394,7 +394,7 @@ You are in a large chamber with passages to the west and north. A formidable ogre bars the northern exit. - +> You scored 63 out of a possible 430, using 56 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/fail_hint_woods.chk b/tests/fail_hint_woods.chk index 990cf8e..ca5ac5e 100644 --- a/tests/fail_hint_woods.chk +++ b/tests/fail_hint_woods.chk @@ -109,7 +109,7 @@ OK OK - +> You scored 32 out of a possible 430, using 25 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/fillfail.chk b/tests/fillfail.chk index fd3d096..11f58eb 100644 --- a/tests/fillfail.chk +++ b/tests/fillfail.chk @@ -57,7 +57,7 @@ You can't fill that. Your bottle is already full. - +> You scored 32 out of a possible 430, using 10 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/fillvase.chk b/tests/fillvase.chk index 5d8c889..cbbeea4 100644 --- a/tests/fillvase.chk +++ b/tests/fillvase.chk @@ -1463,7 +1463,7 @@ A small velvet pillow lies on the ground. You can't be serious! - +> You scored 191 out of a possible 430, using 241 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/flyback.chk b/tests/flyback.chk index 2d8750e..a60fe97 100644 --- a/tests/flyback.chk +++ b/tests/flyback.chk @@ -2040,7 +2040,7 @@ A brilliant blue star sapphire is here! > - +> You scored 257 out of a possible 430, using 337 turns. You have reached "Junior Master" status. diff --git a/tests/foobug.chk b/tests/foobug.chk index 046b820..c121eb8 100644 --- a/tests/foobug.chk +++ b/tests/foobug.chk @@ -1694,7 +1694,7 @@ Nothing happens. Nothing happens. - +> You scored 311 out of a possible 430, using 291 turns. You have reached "Junior Master" status. diff --git a/tests/footslip.chk b/tests/footslip.chk index ef2f595..a9f28d3 100644 --- a/tests/footslip.chk +++ b/tests/footslip.chk @@ -796,7 +796,7 @@ There is food here. > - +> You scored 61 out of a possible 430, using 121 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/gemstates.chk b/tests/gemstates.chk index db58aa4..8739f93 100644 --- a/tests/gemstates.chk +++ b/tests/gemstates.chk @@ -2145,7 +2145,7 @@ There is a ruby resting in a small cavity in the rock! There is a Persian rug spread out on the floor! - +> You scored 271 out of a possible 430, using 365 turns. You have reached "Junior Master" status. diff --git a/tests/goback.chk b/tests/goback.chk index 27d0cb8..fb6eb0f 100644 --- a/tests/goback.chk +++ b/tests/goback.chk @@ -2527,7 +2527,7 @@ best start wrapping this up. OK - +> You scored 207 out of a possible 430, using 413 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/hint_dark.chk b/tests/hint_dark.chk index cee6051..1a95bf8 100644 --- a/tests/hint_dark.chk +++ b/tests/hint_dark.chk @@ -150,7 +150,7 @@ There is a way to explore that region without having to worry about falling into a pit. None of the objects available is immediately useful in discovering the secret. - +> You scored 54 out of a possible 430, using 27 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/hint_grate.chk b/tests/hint_grate.chk index 652b639..fa7d80d 100644 --- a/tests/hint_grate.chk +++ b/tests/hint_grate.chk @@ -83,7 +83,7 @@ The grate is very solid and has a hardened steel lock. You cannot enter without a key, and there are no keys nearby. I would recommend looking elsewhere for the keys. - +> You scored 30 out of a possible 430, using 10 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/hint_jade.chk b/tests/hint_jade.chk index 446cc33..e8d9f81 100644 --- a/tests/hint_jade.chk +++ b/tests/hint_jade.chk @@ -1849,7 +1849,7 @@ Do you want the hint? Once you've found all the other treasures, it is no longer possible to locate the one you're now missing. - +> You scored 91 out of a possible 430, using 297 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/hint_snake.chk b/tests/hint_snake.chk index 78ca80f..d5a1c44 100644 --- a/tests/hint_snake.chk +++ b/tests/hint_snake.chk @@ -192,7 +192,7 @@ You can't kill the snake, or drive it away, or avoid it, or anything like that. There is a way to get by, but you don't have the necessary resources right now. - +> You scored 55 out of a possible 430, using 25 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/hint_urn.chk b/tests/hint_urn.chk index d51adc1..63b7542 100644 --- a/tests/hint_urn.chk +++ b/tests/hint_urn.chk @@ -74,7 +74,7 @@ Do you want the hint? This section is quite advanced. Find the cave first. - +> You scored 30 out of a possible 430, using 11 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/hint_witt.chk b/tests/hint_witt.chk index 5afca9f..315f402 100644 --- a/tests/hint_witt.chk +++ b/tests/hint_witt.chk @@ -2430,7 +2430,7 @@ Do you want the hint? Don't go west. - +> You scored 339 out of a possible 430, using 397 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/illformed.chk b/tests/illformed.chk index e18fbf9..2f9cad3 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -697,3 +697,4 @@ I am prepared to give you a hint, but it will cost you 2 points. Do you want the hint? +> \ No newline at end of file diff --git a/tests/intransitivecarry.chk b/tests/intransitivecarry.chk index 510a9bd..4fe9674 100644 --- a/tests/intransitivecarry.chk +++ b/tests/intransitivecarry.chk @@ -35,7 +35,7 @@ OK OK - +> You scored 32 out of a possible 430, using 5 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/isofoo.chk b/tests/isofoo.chk index 1c0cbaf..23f17a7 100644 --- a/tests/isofoo.chk +++ b/tests/isofoo.chk @@ -11,7 +11,7 @@ down a gully. Nothing happens. - +> You scored 32 out of a possible 430, using 1 turn. You are obviously a rank amateur. Better luck next time. diff --git a/tests/issue36.chk b/tests/issue36.chk index 412f019..99d82df 100644 --- a/tests/issue36.chk +++ b/tests/issue36.chk @@ -33,7 +33,7 @@ Get what? OK - +> You scored 32 out of a possible 430, using 3 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/issue37.chk b/tests/issue37.chk index 6d8772b..4aa9320 100644 --- a/tests/issue37.chk +++ b/tests/issue37.chk @@ -32,7 +32,7 @@ OK You are currently holding the following: Tasty food - +> You scored 32 out of a possible 430, using 4 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/lampdim.chk b/tests/lampdim.chk index 2ea31c6..cfbb010 100644 --- a/tests/lampdim.chk +++ b/tests/lampdim.chk @@ -2508,7 +2508,7 @@ There is a message scrawled in the dust in a flowery script, reading: There is a massive vending machine here, swung back to reveal a southward passage. - +> You scored 343 out of a possible 430, using 406 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/lampdim2.chk b/tests/lampdim2.chk index bd6215a..740e719 100644 --- a/tests/lampdim2.chk +++ b/tests/lampdim2.chk @@ -2595,7 +2595,7 @@ It is now pitch dark. If you proceed you will likely fall into a pit. Your lamp has run out of power. - +> You scored 368 out of a possible 430, using 423 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/lockchain.chk b/tests/lockchain.chk index 791991f..ff334a2 100644 --- a/tests/lockchain.chk +++ b/tests/lockchain.chk @@ -1888,3 +1888,4 @@ Oh dear, you seem to have gotten yourself killed. I might be able to help you out, but I've never really done this before. Do you want me to try to reincarnate you? +> \ No newline at end of file diff --git a/tests/logopt.chk b/tests/logopt.chk index 4defeae..e48c318 100644 --- a/tests/logopt.chk +++ b/tests/logopt.chk @@ -21,7 +21,7 @@ There is a bottle of water here. > - +> You scored 32 out of a possible 430, using 1 turn. You are obviously a rank amateur. Better luck next time. diff --git a/tests/mazealldiff.chk b/tests/mazealldiff.chk index 87aeb0d..00168a4 100644 --- a/tests/mazealldiff.chk +++ b/tests/mazealldiff.chk @@ -2509,7 +2509,7 @@ You are in a maze of little twisty passages, all different. You are in a twisting little maze of passages, all different. - +> You scored 343 out of a possible 430, using 409 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/mazehint.chk b/tests/mazehint.chk index 0d00119..5c72b61 100644 --- a/tests/mazehint.chk +++ b/tests/mazehint.chk @@ -618,7 +618,7 @@ Do you want the hint? You can make the passages look less alike by dropping things. - +> You scored 71 out of a possible 430, using 113 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/notrident.chk b/tests/notrident.chk index 8e08825..88a8d6d 100644 --- a/tests/notrident.chk +++ b/tests/notrident.chk @@ -1316,7 +1316,7 @@ You're at brink of small pit. > - +> You scored 179 out of a possible 430, using 224 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/ogre_no_dwarves.chk b/tests/ogre_no_dwarves.chk index dff2bc5..37492fa 100644 --- a/tests/ogre_no_dwarves.chk +++ b/tests/ogre_no_dwarves.chk @@ -152,7 +152,7 @@ A formidable ogre bars the northern exit. The ogre, who despite his bulk is quite agile, easily dodges your attack. He seems almost amused by your puny effort. - +> You scored 59 out of a possible 430, using 23 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/ogrehint.chk b/tests/ogrehint.chk index dbb8d8f..9391193 100644 --- a/tests/ogrehint.chk +++ b/tests/ogrehint.chk @@ -720,7 +720,7 @@ Brass lantern Leporine appendage Platinum pyramid - +> You scored 101 out of a possible 430, using 108 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/oilplant.chk b/tests/oilplant.chk index 2f74824..167a3b7 100644 --- a/tests/oilplant.chk +++ b/tests/oilplant.chk @@ -1146,7 +1146,7 @@ The plant indignantly shakes the oil off its leaves and asks, "Water?" You can't be serious! - +> You scored 185 out of a possible 430, using 187 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/panic.chk b/tests/panic.chk index bd23880..e44e632 100644 --- a/tests/panic.chk +++ b/tests/panic.chk @@ -2631,7 +2631,7 @@ The grate is locked. A mysterious recorded voice groans into life and announces: "This exit is closed. Please leave via main office." - +> You scored 365 out of a possible 430, using 422 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/panic2.chk b/tests/panic2.chk index ac42e46..db66581 100644 --- a/tests/panic2.chk +++ b/tests/panic2.chk @@ -2592,7 +2592,7 @@ A mysterious recorded voice groans into life and announces: You're at "Y2". - +> You scored 365 out of a possible 430, using 414 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/pirate_carry.chk b/tests/pirate_carry.chk index f2e7893..72b1681 100644 --- a/tests/pirate_carry.chk +++ b/tests/pirate_carry.chk @@ -316,7 +316,7 @@ You are on the west side of the fissure in the Hall of Mists. A crystal bridge spans the fissure. - +> You scored 67 out of a possible 430, using 43 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/pirate_pyramid.chk b/tests/pirate_pyramid.chk index a7ac101..873cdaa 100644 --- a/tests/pirate_pyramid.chk +++ b/tests/pirate_pyramid.chk @@ -356,7 +356,7 @@ You are currently holding the following: Brass lantern Wicker cage - +> You scored 69 out of a possible 430, using 50 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/pirate_spotted.chk b/tests/pirate_spotted.chk index b57d7e7..e8fad72 100644 --- a/tests/pirate_spotted.chk +++ b/tests/pirate_spotted.chk @@ -1839,7 +1839,7 @@ You're in Hall of Mists. Rough stone steps lead up the dome. - +> You scored 123 out of a possible 430, using 295 turns. You have achieved the rating: "Experienced Adventurer". diff --git a/tests/plover.chk b/tests/plover.chk index 67e58af..c59ae86 100644 --- a/tests/plover.chk +++ b/tests/plover.chk @@ -1169,7 +1169,7 @@ Egg-sized emerald It is now pitch dark. If you proceed you will likely fall into a pit. - +> You scored 169 out of a possible 430, using 187 turns. You have achieved the rating: "Experienced Adventurer". diff --git a/tests/reach_ledge_short.chk b/tests/reach_ledge_short.chk index d6f8175..7e57aa1 100644 --- a/tests/reach_ledge_short.chk +++ b/tests/reach_ledge_short.chk @@ -1475,7 +1475,7 @@ There is a Persian rug here, hovering in mid-air! A brilliant blue star sapphire is here! - +> You scored 81 out of a possible 430, using 237 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/reach_noclimb.chk b/tests/reach_noclimb.chk index 0a06bd0..6f42d7c 100644 --- a/tests/reach_noclimb.chk +++ b/tests/reach_noclimb.chk @@ -170,7 +170,7 @@ You're in west pit. There is a tiny little plant in the pit, murmuring "water, water, ..." - +> You scored 59 out of a possible 430, using 24 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/reach_planttop.chk b/tests/reach_planttop.chk index 8009e1f..c19c9d2 100644 --- a/tests/reach_planttop.chk +++ b/tests/reach_planttop.chk @@ -387,7 +387,7 @@ You're at west end of Twopit Room. The top of a 12-foot-tall beanstalk is poking out of the west pit. - +> You scored 63 out of a possible 430, using 50 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/reincarnate.chk b/tests/reincarnate.chk index c8a8842..edaaf8a 100644 --- a/tests/reincarnate.chk +++ b/tests/reincarnate.chk @@ -143,7 +143,7 @@ There is food here. There is a bottle of water here. - +> You scored 47 out of a possible 430, using 18 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/resumefail.chk b/tests/resumefail.chk index 7be9b12..976fcc9 100644 --- a/tests/resumefail.chk +++ b/tests/resumefail.chk @@ -24,9 +24,10 @@ Is this acceptable? OK Can't open file /badfilename, try again. +File name: You're in front of building. - +> You scored 32 out of a possible 430, using 1 turn. You are obviously a rank amateur. Better luck next time. diff --git a/tests/resumefail2.chk b/tests/resumefail2.chk index 756c094..931c72d 100644 --- a/tests/resumefail2.chk +++ b/tests/resumefail2.chk @@ -16,7 +16,7 @@ using that other version in order to resume that Adventure. You're in front of building. - +> You scored 32 out of a possible 430, using 1 turn. You are obviously a rank amateur. Better luck next time. diff --git a/tests/savefail.chk b/tests/savefail.chk index de89a53..0f005a2 100644 --- a/tests/savefail.chk +++ b/tests/savefail.chk @@ -25,9 +25,10 @@ Is this acceptable? OK Can't open file /, try again. +File name: You're in front of building. - +> You scored 27 out of a possible 430, using 1 turn. You are obviously a rank amateur. Better luck next time. diff --git a/tests/saveresumeopt.chk b/tests/saveresumeopt.chk index bc08d9b..6e8ead0 100644 --- a/tests/saveresumeopt.chk +++ b/tests/saveresumeopt.chk @@ -1,7 +1,7 @@ You're in front of building. - +> You scored 27 out of a possible 430, using 2 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/snake_food.chk b/tests/snake_food.chk index 96f6900..56e73b3 100644 --- a/tests/snake_food.chk +++ b/tests/snake_food.chk @@ -151,7 +151,7 @@ Set of keys Brass lantern Wicker cage - +> You scored 57 out of a possible 430, using 22 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/softroom.chk b/tests/softroom.chk index cc168f3..3e9c86d 100644 --- a/tests/softroom.chk +++ b/tests/softroom.chk @@ -1350,7 +1350,7 @@ There is a delicate, precious, ming vase here! > - +> You scored 191 out of a possible 430, using 223 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/specials.chk b/tests/specials.chk index 75f457e..0606117 100644 --- a/tests/specials.chk +++ b/tests/specials.chk @@ -131,7 +131,7 @@ can now save a game and resume it at once (formerly you had to wait a while first), but it now costs you a few points each time you save the game. Saved games are now stored in much smaller files than before. - +> You scored 32 out of a possible 430, using 15 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/takebird.chk b/tests/takebird.chk index d69f094..6c6b64d 100644 --- a/tests/takebird.chk +++ b/tests/takebird.chk @@ -2076,7 +2076,7 @@ The grate is locked. OK - +> You scored 391 out of a possible 430, using 345 turns. Your score puts you in Master Adventurer Class B. diff --git a/tests/tall.chk b/tests/tall.chk index d962f77..05f456b 100644 --- a/tests/tall.chk +++ b/tests/tall.chk @@ -1024,7 +1024,7 @@ seems to open up. The canyon runs into a mass of boulders -- dead end. - +> You scored 77 out of a possible 430, using 163 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/trident.chk b/tests/trident.chk index 37de9fe..c27ef42 100644 --- a/tests/trident.chk +++ b/tests/trident.chk @@ -1420,7 +1420,7 @@ Your lamp is now on. You're at "Y2". - +> You scored 167 out of a possible 430, using 231 turns. You have achieved the rating: "Experienced Adventurer". diff --git a/tests/troll_returns.chk b/tests/troll_returns.chk index 6b597d9..6715126 100644 --- a/tests/troll_returns.chk +++ b/tests/troll_returns.chk @@ -912,7 +912,7 @@ mist. A notice posted on the bridge reads, "Stop! Pay troll!" A burly troll stands by the bridge and insists you throw him a treasure before you may cross. - +> You scored 75 out of a possible 430, using 140 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/urntest.chk b/tests/urntest.chk index 0ca8748..8724f9d 100644 --- a/tests/urntest.chk +++ b/tests/urntest.chk @@ -2105,7 +2105,7 @@ A small urn full of oil is embedded in the rock. If you mean to use the Persian rug, it does not appear inclined to cooperate. - +> You scored 265 out of a possible 430, using 358 turns. You have reached "Junior Master" status. diff --git a/tests/urntest2.chk b/tests/urntest2.chk index 25de76b..8f8e9cc 100644 --- a/tests/urntest2.chk +++ b/tests/urntest2.chk @@ -2030,7 +2030,7 @@ There is nothing here with which to fill it. The urn is now dark. - +> You scored 267 out of a possible 430, using 344 turns. You have reached "Junior Master" status. diff --git a/tests/urntest3.chk b/tests/urntest3.chk index 1c95ae3..34c30e7 100644 --- a/tests/urntest3.chk +++ b/tests/urntest3.chk @@ -2015,7 +2015,7 @@ You are wandering aimlessly through the forest. There is nothing here with which to fill the bottle. - +> You scored 267 out of a possible 430, using 340 turns. You have reached "Junior Master" status. diff --git a/tests/vending.chk b/tests/vending.chk index 6e67b28..4f837bc 100644 --- a/tests/vending.chk +++ b/tests/vending.chk @@ -305,7 +305,7 @@ Attack what? The vending machine swings back to block the passage. - +> You scored 75 out of a possible 430, using 56 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/water_plant2.chk b/tests/water_plant2.chk index 1cbf119..bc1efe3 100644 --- a/tests/water_plant2.chk +++ b/tests/water_plant2.chk @@ -602,7 +602,7 @@ The top of a 12-foot-tall beanstalk is poking out of the west pit. What do you want to do with the water? - +> You scored 65 out of a possible 430, using 85 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/weirdbird.chk b/tests/weirdbird.chk index 52f5eb7..c583787 100644 --- a/tests/weirdbird.chk +++ b/tests/weirdbird.chk @@ -218,7 +218,7 @@ You're outside grate. The grate is open. - +> You scored 30 out of a possible 430, using 37 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/weirddwarf.chk b/tests/weirddwarf.chk index 1d73e0e..0216bc5 100644 --- a/tests/weirddwarf.chk +++ b/tests/weirddwarf.chk @@ -514,7 +514,7 @@ With what? Your bare hands? Feed what? - +> You scored 103 out of a possible 430, using 88 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/wittsend.chk b/tests/wittsend.chk index dcd9bd4..b92cf2f 100644 --- a/tests/wittsend.chk +++ b/tests/wittsend.chk @@ -2628,7 +2628,7 @@ It is now pitch dark. If you proceed you will likely fall into a pit. You're in Plover Room. - +> You scored 342 out of a possible 430, using 423 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/woodshint.chk b/tests/woodshint.chk index c26d471..7ea7cdd 100644 --- a/tests/woodshint.chk +++ b/tests/woodshint.chk @@ -314,7 +314,7 @@ You are wandering aimlessly through the forest. You're at end of road. - +> You scored 30 out of a possible 430, using 45 turns. You are obviously a rank amateur. Better luck next time. -- 2.31.1