From: NHOrus Date: Tue, 13 Jun 2017 17:49:01 +0000 (+0300) Subject: Test for regression from before localizing SPK X-Git-Tag: 1.1~343 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a52f6b4d470d0e56b48d31f859168af13228cbed;p=open-adventure.git Test for regression from before localizing SPK --- diff --git a/tests/snake_food.chk b/tests/snake_food.chk new file mode 100644 index 0000000..0634986 --- /dev/null +++ b/tests/snake_food.chk @@ -0,0 +1,158 @@ + +Welcome to Adventure!! Would you like instructions? + +> n + +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. + +> seed 1951269982 +Seed set to 1951269982 + +You're in front of building. + +> in + +You are inside a building, a well house for a large spring. + +There are some keys on the ground here. + +There is a shiny brass lamp nearby. + +There is food here. + +There is a bottle of water here. + +> get lamp + +OK + +> get keys + +OK + +> out + +You're in front of building. + +> down + +You are in a valley in the forest beside a stream tumbling along a +rocky bed. + +> s + +At your feet all the water of the stream splashes into a 2-inch slit +in the rock. Downstream the streambed is bare rock. + +> s + +You are in a 20-foot depression floored with bare dirt. Set into the +dirt is a strong steel grate mounted in concrete. A dry streambed +leads into the depression. + +The grate is locked. + +> open + +The grate is now unlocked. + +> in + +You are in a small chamber beneath a 3x3 steel grate to the surface. +A low crawl over cobbles leads inward to the west. + +The grate is open. + +> west + +You are crawling over cobbles in a low passage. There is a dim light +at the east end of the passage. + +There is a small wicker cage discarded nearby. + +> get cage + +OK + +> w + +It is now pitch dark. If you proceed you will likely fall into a pit. + +> on + +Your lamp is now on. + +You are in a debris room filled with stuff washed in from the surface. +A low wide passage with cobbles becomes plugged with mud and debris +here, but an awkward canyon leads upward and west. In the mud someone +has scrawled, "MAGIC WORD XYZZY". + +A three foot black rod with a rusty star on an end lies nearby. + +> w + +You are in an awkward sloping east/west canyon. + +> w + +You are in a splendid chamber thirty feet high. The walls are frozen +rivers of orange stone. An awkward canyon and a good passage exit +from east and west sides of the chamber. + +A cheerful little bird is sitting here singing. + +> get bird + +OK + +> w + +At your feet is a small pit breathing traces of white mist. An east +passage ends here except for a small crack leading on. + +Rough stone steps lead down the pit. + +> down + +You are at one end of a vast hall stretching forward out of sight to +the west. There are openings to either side. Nearby, a wide stone +staircase leads downward. The hall is filled with wisps of white mist +swaying to and fro almost as if alive. A cold wind blows up the +staircase. There is a passage at the top of a dome behind you. + +Rough stone steps lead up the dome. + +> down + +You are in the Hall of the Mountain King, with passages off in all +directions. + +A huge green fierce snake bars the way! + +> inventory + +You are currently holding the following: +Set of keys +Brass lantern +Wicker cage +Little bird in cage + +> feed snake + +The snake has now devoured your bird. + +> inventory + +You are currently holding the following: +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. + +To achieve the next higher rating, you need 64 more points. diff --git a/tests/snake_food.log b/tests/snake_food.log new file mode 100644 index 0000000..4950277 --- /dev/null +++ b/tests/snake_food.log @@ -0,0 +1,25 @@ +## Snake must vocally eat bird +n +seed 1951269982 +in +get lamp +get keys +out +down +s +s +open +in +west +get cage +w +on +w +w +get bird +w +down +down +inventory +feed snake +inventory