From: NHOrus Date: Sun, 2 Jul 2017 07:16:03 +0000 (+0300) Subject: more tests X-Git-Tag: takebird~119 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=664b4cf4d71bc06d00a6063e57d574f16e35d7cd;p=open-adventure.git more tests --- diff --git a/tests/breakmirror.chk b/tests/breakmirror.chk index 5829120..c2daeab 100644 --- a/tests/breakmirror.chk +++ b/tests/breakmirror.chk @@ -1051,6 +1051,10 @@ midway between the canyon walls. (The mirror is obviously provided for the use of the dwarves who, as you know, are extremely vain.) A small window can be seen in either wall, some fifty feet up. +> break mirror + +It is too far up for you to reach. + > s You are in a secret n/s canyon above a large room. @@ -2118,13 +2122,13 @@ OK > drop sapphire +Tsk! A wizard wouldn't have to take 350 turns. This is going to cost +you a couple of points. + OK > drop amber -Tsk! A wizard wouldn't have to take 350 turns. This is going to cost -you a couple of points. - OK > drop rug @@ -2402,14 +2406,14 @@ You're in dusty rock room. > d -You're at complex junction. - -> e - Your lamp is getting dim. You'd best start wrapping this up, unless you can find some fresh batteries. I seem to recall there's a vending machine in the maze. Bring some coins with you. +You're at complex junction. + +> e + You are in an anteroom leading to a large passage to the east. Small passages go west and up. The remnants of recent digging are evident. A sign in midair here says "Cave under construction beyond this point. @@ -2626,14 +2630,14 @@ You're in Plover Room. > e +Your lamp has run out of power. + There is no way to go that direction. You're in Plover Room. > e -Your lamp has run out of power. - There is no way to go that direction. You're in Plover Room. @@ -2953,7 +2957,7 @@ The resulting ruckus has awakened the dwarves. There are now several threatening little dwarves in the room with you! Most of them throw knives at you! All of them get you! -You scored 383 out of a possible 430, using 469 turns. +You scored 383 out of a possible 430, using 470 turns. Your score puts you in Master Adventurer Class B. diff --git a/tests/breakmirror.log b/tests/breakmirror.log index c9ec80a..d7d90da 100644 --- a/tests/breakmirror.log +++ b/tests/breakmirror.log @@ -173,6 +173,7 @@ take water s s s +break mirror s d s diff --git a/tests/defeat.chk b/tests/defeat.chk index 3df0818..0574221 100644 --- a/tests/defeat.chk +++ b/tests/defeat.chk @@ -2942,6 +2942,10 @@ The grate is locked. "Treasure Vault. Keys in main office." +> carry sign + +Your hand passes through it as though it weren't there. + > take rod OK @@ -2960,7 +2964,7 @@ There is a loud explosion, and a twenty-foot hole appears in the far wall, burying the snakes in the rubble. A river of molten lava pours in through the hole, destroying everything in its path, including you! -You scored 399 out of a possible 430, using 470 turns. +You scored 399 out of a possible 430, using 471 turns. Your score puts you in Master Adventurer Class B. diff --git a/tests/defeat.log b/tests/defeat.log index 5f0af2a..f7f72ad 100644 --- a/tests/defeat.log +++ b/tests/defeat.log @@ -472,6 +472,7 @@ sw xyzzy plugh read sign +carry sign take rod drop rod ne diff --git a/tests/lampdim.chk b/tests/lampdim.chk index 7f838da..e304b02 100644 --- a/tests/lampdim.chk +++ b/tests/lampdim.chk @@ -1996,6 +1996,10 @@ face you again, he fixes you with a steely eye and intones: "Caution!" Genie and urn vanish in a cloud of amber smoke. The smoke condenses to form a rare amber gemstone, resting in the cavity in the rock. +> take cavity + +I suppose you collect doughnut holes, too? + > take amber OK @@ -2010,6 +2014,10 @@ The gem fits easily into the cavity. The persian rug stiffens and rises a foot or so off the ground. +> get rug + +The rug hovers stubbornly where it is. + > fly rug You board the persian rug, which promptly whisks you across the chasm. @@ -2114,6 +2122,9 @@ There are many coins here! > drop ruby +Tsk! A wizard wouldn't have to take 350 turns. This is going to cost +you a couple of points. + OK > drop sapphire @@ -2122,9 +2133,6 @@ OK > drop amber -Tsk! A wizard wouldn't have to take 350 turns. This is going to cost -you a couple of points. - OK > drop rug @@ -2474,7 +2482,7 @@ batteries. OK -You scored 343 out of a possible 430, using 401 turns. +You scored 343 out of a possible 430, using 403 turns. Your score puts you in Master Adventurer Class C. diff --git a/tests/lampdim.log b/tests/lampdim.log index aec8cc2..751c8b8 100644 --- a/tests/lampdim.log +++ b/tests/lampdim.log @@ -335,9 +335,11 @@ inven fill urn light urn rub urn +take cavity take amber drop rug drop emerald +get rug fly rug take sapphire fly rug diff --git a/tests/lockchain.chk b/tests/lockchain.chk index ebf4a1c..666fa13 100644 --- a/tests/lockchain.chk +++ b/tests/lockchain.chk @@ -1713,6 +1713,10 @@ The chain is now locked. It was already locked. +> attack bear + +The bear is confused; he only wants to be your friend. + > unlock chain The chain is now unlocked. @@ -1735,20 +1739,32 @@ You are being followed by a very large, tame bear. OK -> fork +> out You are being followed by a very large, tame bear. -The path forks here. The left fork leads northeast. A dull rumbling -seems to get louder in that direction. The right fork leads southeast -down a gentle slope. The main corridor enters from the west. +You're in front of Barren Room. > lock chain There is nothing here to which the chain can be locked. +> drop bear + +OK + +> back + +You're in Barren Room. + +There is a little axe here. + +> lock chain + +The chain is now locked. + -You scored 225 out of a possible 430, using 304 turns. +You scored 225 out of a possible 430, using 308 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/lockchain.log b/tests/lockchain.log index 57a79c6..1037d1f 100644 --- a/tests/lockchain.log +++ b/tests/lockchain.log @@ -303,9 +303,13 @@ unlock chain # Also tests message from bear in inventory lock chain lock chain +attack bear unlock chain take bear inven take chain -fork +out lock chain +drop bear +back +lock chain \ No newline at end of file diff --git a/tests/urntest.chk b/tests/urntest.chk index ff611cb..99c9071 100644 --- a/tests/urntest.chk +++ b/tests/urntest.chk @@ -2005,13 +2005,17 @@ I'm afraid I don't understand. I'm afraid I don't understand. +> extinguish urn + +The urn is now dark. + > fly If you mean to use the persian rug, it does not appear inclined to cooperate. -You scored 267 out of a possible 430, using 339 turns. +You scored 267 out of a possible 430, using 340 turns. You have reached "Junior Master" status. diff --git a/tests/urntest.log b/tests/urntest.log index a0d6be1..1966e86 100644 --- a/tests/urntest.log +++ b/tests/urntest.log @@ -342,4 +342,5 @@ light urn fill urn read urn extinguish +extinguish urn fly