From 9b879b41cb88a58802997752c48ad413f52d5ccc Mon Sep 17 00:00:00 2001 From: NHOrus Date: Sun, 9 Jul 2017 20:36:41 +0300 Subject: [PATCH] Test for selecting different plants --- tests/water_plant2.chk | 609 +++++++++++++++++++++++++++++++++++++++++ tests/water_plant2.log | 89 ++++++ 2 files changed, 698 insertions(+) create mode 100644 tests/water_plant2.chk create mode 100644 tests/water_plant2.log diff --git a/tests/water_plant2.chk b/tests/water_plant2.chk new file mode 100644 index 0000000..20f97d2 --- /dev/null +++ b/tests/water_plant2.chk @@ -0,0 +1,609 @@ + +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 183847312 +Seed set to 183847312 + +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. + +> take lamp + +OK + +> xyzzy + +>>Foof!<< + +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. + +> e + +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. + +> take cage + +OK + +> w + +You're in debris room. + +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. + +> take 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. + +> d + +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. + +> d + +You are in the Hall of the Mountain King, with passages off in all +directions. + +A huge green fierce snake bars the way! + +> free bird + +The little bird attacks the green snake, and in an astounding flurry +drives the snake away. + +> w + +You are in the west side chamber of the Hall of the Mountain King. +A passage continues west and up here. + +There are many coins here! + +> e + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> n + +You are in a low n/s passage at a hole in the floor. The hole goes +down to an e/w passage. + +There are bars of silver here! + +> n + +A little dwarf just walked around a corner, saw you, threw a little +axe at you which missed, cursed, and ran away. + +You are in a large room, with a passage to the south, a passage to the +west, and a wall of broken rock to the east. There is a large "Y2" on +a rock in the room's center. + +There is a little axe here. + +> d + +There is no way to go that direction. + +You're at "Y2". + +A hollow voice says "PLUGH". + +There is a little axe here. + +> n + +There is no way to go that direction. + +You're at "Y2". + +There is a little axe here. + +> n + +There is no way to go that direction. + +There is a threatening little dwarf in the room with you! + +You're at "Y2". + +There is a little axe here. + +> plugh + +>>Foof!<< + +You're inside building. + +There are some keys on the ground here. + +There is food here. + +There is a bottle of water here. + +> extin + +Your lamp is now off. + +> plugh + +>>Foof!<< + +It is now pitch dark. If you proceed you will likely fall into a pit. + +A hollow voice says "PLUGH". + +> on + +Your lamp is now on. + +You're at "Y2". + +There is a little axe here. + +> s + +You're in n/s passage above e/w passage. + +There are bars of silver here! + +> s + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> sw + +You are in a secret canyon which here runs e/w. It crosses over a +very tight canyon 15 feet below. If you go down you may not be able +to get back up. + +> w + +You are in a secret canyon which exits to the north and east. + +A huge green fierce dragon bars the way! + +The dragon is sprawled out on a persian rug!! + +> kill + +With what? Your bare hands? + +> y + +Congratulations! You have just vanquished a dragon with your bare +hands! (Unbelievable, isn't it?) + +You are in a secret canyon which exits to the north and east. + +There is a persian rug spread out on the floor! + +The blood-specked body of a huge green dead dragon lies to one side. + +> e + +You're in secret e/w canyon above tight canyon. + +> e + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> u + +You're in Hall of Mists. + +Rough stone steps lead up the dome. + +> d + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> n + +You're in n/s passage above e/w passage. + +There are bars of silver here! + +> n + +You are in a large room, with a passage to the south, a passage to the +west, and a wall of broken rock to the east. There is a large "Y2" on +a rock in the room's center. + +There is a little axe here. + +> off + +Your lamp is now off. + +It is now pitch dark. If you proceed you will likely fall into a pit. + +> plugh + +>>Foof!<< + +You're inside building. + +There are some keys on the ground here. + +There is food here. + +There is a bottle of water here. + +> out + +You're in front of building. + +> s + +You are in a valley in the forest beside a stream tumbling along a +rocky bed. + +> w + +You are wandering aimlessly through the forest. + +> n + +You are wandering aimlessly through the forest. + +Your keen eye spots a severed leporine appendage lying on the ground. + +> s + +You are wandering aimlessly through the forest. + +> s + +You're in valley. + +> n + +You're in front of building. + +> in + +You're inside building. + +There are some keys on the ground here. + +There is food here. + +There is a bottle of water here. + +> take water + +OK + +> plugh + +>>Foof!<< + +It is now pitch dark. If you proceed you will likely fall into a pit. + +A hollow voice says "PLUGH". + +> on + +Your lamp is now on. + +You're at "Y2". + +A hollow voice says "PLUGH". + +There is a little axe here. + +> s + +You're in n/s passage above e/w passage. + +There are bars of silver here! + +> s + +You are in the Hall of the Mountain King, with passages off in all +directions. + +A cheerful little bird is sitting here singing. + +> s + +You are in the south side chamber. + +There is precious jewelry here! + +> u + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> w + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> + +I don't know how to apply that word here. + +You are in the south side chamber. + +There is precious jewelry here! + +> s + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> w + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> s + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> w + +There is no way to go that direction. + +You are in the south side chamber. + +There is precious jewelry here! + +> n + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> n + +You're in n/s passage above e/w passage. + +There are bars of silver here! + +> n + +You're at "Y2". + +A hollow voice says "PLUGH". + +There is a little axe here. + +> d + +There is no way to go that direction. + +You're at "Y2". + +There is a little axe here. + +> e + +You are in a jumble of rock, with cracks everywhere. + +> u + +You're in Hall of Mists. + +Rough stone steps lead up the dome. + +> n + +You're in Hall of Mt King. + +A cheerful little bird is sitting here singing. + +> n + +You are in a low n/s passage at a hole in the floor. The hole goes +down to an e/w passage. + +There are bars of silver here! + +> d + +You are in a dirty broken passage. To the east is a crawl. To the +west is a large passage. Above you is a hole to another passage. + +> bedqu + +You are in Bedquilt, a long east/west passage with holes everywhere. +To explore at random select north, south, up, or down. + +> slab + +You are in a large low circular chamber whose floor is an immense slab +fallen from the ceiling (Slab Room). East and west there once were +large passages, but they are now filled with boulders. Low small +passages go north and south, and the south one quickly bends west +around the boulders. + +> s + +You are at the west end of the Twopit Room. There is a large hole in +the wall above the pit at this end of the room. + +> d + +You are at the bottom of the western pit in the Twopit Room. There is +a large hole in the wall about 25 feet above you. + +There is a tiny little plant in the pit, murmuring "water, water, ..." + +> water plant + +The plant spurts into furious growth for a few seconds. + +You're in west pit. + +There is a 12-foot-tall beanstalk stretching up out of the pit, +bellowing "WATER!! WATER!!" + +> u + +You're at west end of Twopit Room. + +The top of a 12-foot-tall beanstalk is poking out of the west pit. + +> w + +You're in Slab Room. + +> u + +You are in a secret n/s canyon above a large room. + +> reser + +You are at the edge of a large underground reservoir. An opaque cloud +of white mist fills the room and rises rapidly upward. The lake is +fed by a stream, which tumbles out of a hole in the wall about 10 feet +overhead and splashes noisily into the water somewhere within the +mist. There is a passage going back toward the south. + +> n + +There is no way to go that direction. + +You're at reservoir. + +> take water + +Your bottle is now full of water. + +> s + +There is a threatening little dwarf in the room with you! + +You are in a north/south canyon about 25 feet across. The floor is +covered by white mist seeping in from the north. The walls extend +upward for well over 100 feet. Suspended from some unseen point far +above you, an enormous two-sided mirror is hanging parallel to and +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. + +> s + +A little dwarf with a big knife blocks your way. + +There is a threatening little dwarf in the room with you! + +One sharp nasty knife is thrown at you! + +It misses! + +You're in Mirror Canyon. + +> s + +There is a threatening little dwarf in the room with you! + +You are in a secret n/s canyon above a large room. + +> d + +There is a threatening little dwarf in the room with you! + +You're in Slab Room. + +> s + +There is a threatening little dwarf in the room with you! + +You're at west end of Twopit Room. + +The top of a 12-foot-tall beanstalk is poking out of the west pit. + +> water plant + +What do you want to do with the plant? + + +You scored 65 out of a possible 430, using 85 turns. + +Your score qualifies you as a novice class adventurer. + +To achieve the next higher rating, you need 56 more points. diff --git a/tests/water_plant2.log b/tests/water_plant2.log new file mode 100644 index 0000000..f168f03 --- /dev/null +++ b/tests/water_plant2.log @@ -0,0 +1,89 @@ +## Chech that action correctly switches between plant states (fuzzed) +n +seed 183847312 +in +take lamp +xyzzy +on +e +take cage +w +w +w +take bird +w +d +d +free bird +w +e +n +n +d +n +n +plugh +extin +plugh +on +s +s +sw +w +kill +y +e +e +u +d +n +n +off +plugh +out +s +w +n +s +s +n +in +take water +plugh +on +s +s +s +u +w + +s +w +s +w +n +n +n +d +e +u +n +n +d +bedqu +slab +s +d +water plant +u +w +u +reser +n +take water +s +s +s +d +s +water plant -- 2.31.1