Address GitLab issue #55: water should not be available in endgame.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 16 Feb 2021 03:16:43 +0000 (22:16 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 16 Feb 2021 03:21:26 +0000 (22:21 -0500)
actions.c
tests/endobjects.chk [new file with mode: 0644]
tests/endobjects.log [new file with mode: 0644]

index 9917199bc5bcef7bed8a7ca38ba1174ba1e63df4..3946b0e7268a0539e9a7b39fd19fccf9b3995bbb 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -1354,8 +1354,8 @@ phase_codes_t action(command_t command)
             /* FALL THROUGH */;
         else if (command.obj == DWARF && atdwrf(game.loc) > 0)
             /* FALL THROUGH */;
-        else if ((LIQUID() == command.obj && HERE(BOTTLE)) ||
-                 command.obj == LIQLOC(game.loc))
+        else if (!game.closed && ((LIQUID() == command.obj && HERE(BOTTLE)) ||
+                                command.obj == LIQLOC(game.loc)))
             /* FALL THROUGH */;
         else if (command.obj == OIL && HERE(URN) && game.prop[URN] != URN_EMPTY) {
             command.obj = URN;
diff --git a/tests/endobjects.chk b/tests/endobjects.chk
new file mode 100644 (file)
index 0000000..1f06db5
--- /dev/null
@@ -0,0 +1,2463 @@
+
+Welcome to Adventure!!  Would you like instructions?
+
+> no
+
+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 11247848
+
+Seed set to 11247848
+
+You're in front of building.
+
+> no
+
+OK
+
+> seed 1516020414
+
+Seed set to 1516020414
+
+You're in front of building.
+
+> e
+
+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.
+
+> plugh
+
+>>Foof!<<
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> plove
+
+>>Foof!<<
+
+You're in a small chamber lit by an eerie green light.  An extremely
+narrow tunnel exits to the west.  A dark corridor leads ne.
+
+There is an emerald here the size of a plover's egg!
+
+> get emerald
+
+OK
+
+> w
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> drop emerald
+
+OK
+
+> e
+
+You're in Plover Room.
+
+> ne
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> get pyramid
+
+OK
+
+> s
+
+You're in Plover Room.
+
+> plove
+
+>>Foof!<<
+
+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 a shiny brass lamp nearby.
+
+There is food here.
+
+There is a bottle of water here.
+
+> drop pyramid
+
+OK
+
+> get 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.
+
+> get rod
+
+OK
+
+> 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.
+
+> get cage
+
+OK
+
+> pit
+
+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.
+
+> w
+
+You are on the east bank of a fissure slicing clear across the hall.
+The mist is quite thick here, and the fissure is too wide to jump.
+
+> wave rod
+
+A crystal bridge now spans the fissure.
+
+> w
+
+You are on the west side of the fissure in the Hall of Mists.
+
+There are diamonds here!
+
+A crystal bridge spans the fissure.
+
+> get diamonds
+
+OK
+
+> e
+
+You're on east bank of fissure.
+
+A crystal bridge spans the fissure.
+
+> e
+
+You're in Hall of Mists.
+
+Rough stone steps lead up the dome.
+
+> u
+
+You're at top of small pit.
+
+Rough stone steps lead down the pit.
+
+> drop rod
+
+OK
+
+> e
+
+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
+
+You're at top of small pit.
+
+A three foot black rod with a rusty star on an end lies nearby.
+
+Rough stone steps lead down the pit.
+
+> free bird
+
+OK
+
+> get rod
+
+OK
+
+> wave rod
+
+The bird flies about agitatedly for a moment, then disappears through
+the crack.  It reappears shortly, carrying in its beak a jade
+necklace, which it drops at your feet.
+
+> get necklace
+
+OK
+
+> drop rod
+
+OK
+
+> get bird
+
+OK
+
+> d
+
+You're in Hall of Mists.
+
+Rough stone steps lead up the dome.
+
+> s
+
+This is a low room with a crude note on the wall.  The note says,
+"You won't get it up the steps".
+
+There is a large sparkling nugget of gold here!
+
+> get gold
+
+OK
+
+> n
+
+You're in Hall of Mists.
+
+> 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.
+
+> get bird
+
+OK
+
+> s
+
+You are in the south side chamber.
+
+There is precious jewelry here!
+
+> get jewelry
+
+OK
+
+> n
+
+You're in Hall of Mt King.
+
+> 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 dragon
+
+With what?  Your bare hands?
+
+> yes
+
+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.
+
+> drink blood
+
+Your head buzzes strangely for a moment.
+
+> get rug
+
+OK
+
+> e
+
+You're in secret e/w canyon above tight canyon.
+
+> e
+
+You're in Hall of Mt King.
+
+> 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
+
+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.
+
+> plugh
+
+>>Foof!<<
+
+You're inside building.
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+There is a bottle of water here.
+
+> drop necklace
+
+OK
+
+> drop gold
+
+OK
+
+> drop jewelry
+
+OK
+
+> drop diamonds
+
+OK
+
+> w
+
+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.
+
+> get appendage
+
+OK
+
+> free bird
+
+OK
+
+> drop cage
+
+OK
+
+> listen
+
+The bird is singing to you in gratitude for your having returned it to
+its home.  In return, it informs you of a magic word which it thinks
+you may find useful somewhere near the Hall of Mists.  The magic word
+changes frequently, but for now the bird believes it is "U'SIM".  You
+thank the bird for this information, and it flies off into the forest.
+
+> s
+
+You are wandering aimlessly through the forest.
+
+> s
+
+You're in valley.
+
+> n
+
+You're in front of building.
+
+> e
+
+You're inside building.
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+There is a bottle of water here.
+
+> plugh
+
+>>Foof!<<
+
+You're at "Y2".
+
+> 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.
+
+> sw
+
+You're in secret e/w canyon above tight canyon.
+
+> w
+
+You are in a secret canyon which exits to the north and east.
+
+The body of a huge green dead dragon is lying off to one side.
+
+> n
+
+You are in a secret n/s canyon above a large room.
+
+> reserv
+
+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.
+
+> U'SIM
+
+The waters have parted to form a narrow path across the reservoir.
+
+> n
+
+You are walking across the bottom of the reservoir.  Walls of water
+rear up on either side.  The roar of the water cascading past is
+nearly deafening, and the mist is so thick you can barely see.
+
+> n
+
+You are at the northern edge of the reservoir.  A northwest passage
+leads sharply up from here.
+
+The waters have parted to form a narrow path across the reservoir.
+
+> u
+
+You are scrambling along a treacherously steep, rocky passage.
+
+> u
+
+You are on a very steep incline, which widens at it goes upward.
+
+> u
+
+You are at the base of a nearly vertical cliff.  There are some
+slim footholds which would enable you to climb up, but it looks
+extremely dangerous.  Here at the base of the cliff lie the remains
+of several earlier adventurers who apparently failed to make it.
+
+> u
+
+You are climbing along a nearly vertical cliff.
+
+> u
+
+Just as you reach the top, your foot slips on a loose rock and you
+make one last desperate grab.  Your luck holds, as does your grip.
+With an enormous heave, you lift yourself to the ledge above.
+
+You are on a small ledge at the top of a nearly vertical cliff.
+There is a low crawl leading off to the northeast.
+
+> ne
+
+You have reached a dead end.
+
+There is a richly-carved ebony statuette here!
+
+> get statuette
+
+OK
+
+> sw
+
+You're at top of cliff.
+
+> d
+
+You are climbing along a nearly vertical cliff.
+
+> d
+
+You're at base of cliff.
+
+> d
+
+You are on a very steep incline, which widens at it goes upward.
+
+> d
+
+You are scrambling along a treacherously steep, rocky passage.
+
+> d
+
+You're north of reservoir.
+
+The waters have parted to form a narrow path across the reservoir.
+
+> s
+
+You're at bottom of reservoir.
+
+> s
+
+You're at reservoir.
+
+The waters have parted to form a narrow path across the reservoir.
+
+> s
+
+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
+
+You are in a secret n/s canyon above a large room.
+
+> s
+
+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 secret canyon which exits to the north and east.
+
+There is a little axe here.
+
+The body of a huge green dead dragon is lying off to one side.
+
+> get axe
+
+OK
+
+> e
+
+There is a threatening little dwarf in the room with you!
+
+You're in secret e/w canyon above tight canyon.
+
+> e
+
+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 secret e/w canyon above tight canyon.
+
+> e
+
+There is a threatening little dwarf in the room with you!
+
+You're in Hall of Mt King.
+
+> w
+
+There is a threatening little dwarf in the room with you!
+
+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!
+
+> w
+
+There is a threatening little dwarf in the room with you!
+
+You are at a crossover of a high n/s passage and a low e/w one.
+
+> w
+
+There is a threatening little dwarf in the room with you!
+
+You are at the east end of a very long hall apparently without side
+chambers.  To the east a low wide crawl slants up.  To the north a
+round two foot hole slants down.
+
+> w
+
+There is a threatening little dwarf in the room with you!
+
+You are at the west end of a very long featureless hall.  The hall
+joins up with a narrow north/south passage.
+
+> s
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all different.
+
+> sw
+
+There is a threatening little dwarf in the room with you!
+
+You are in a little maze of twisty passages, all different.
+
+> se
+
+There is a threatening little dwarf in the room with you!
+
+You are in a little maze of twisting passages, all different.
+
+> s
+
+There is a threatening little dwarf in the room with you!
+
+Dead end
+
+There is a massive and somewhat battered vending machine here.  The
+instructions on it read: "Drop coins here to receive fresh batteries."
+
+> hit machine
+
+As you strike the vending machine, it pivots backward along with a
+section of wall, revealing a dark passage leading south.
+
+> s
+
+There is a threatening little dwarf in the room with you!
+
+You are in a long, rough-hewn, north/south corridor.
+
+> s
+
+There is a threatening little dwarf in the room with you!
+
+You are in a large chamber with passages to the west and north.
+
+A formidable ogre bars the northern exit.
+
+> hit ogre
+
+The ogre, who despite his bulk is quite agile, easily dodges your
+attack.  He seems almost amused by your puny effort.
+
+One sharp nasty knife is thrown at you!
+
+The ogre, distracted by your rush, is struck by the knife.  With a
+blood-curdling yell he turns and bounds after the dwarf, who flees
+in panic.  You are left alone in the room.
+
+> s
+
+There is no way to go that direction.
+
+You are in a large chamber with passages to the west and north.
+
+> n
+
+You are in the ogre's storeroom.  The only exit is to the south.
+
+There is an enormous ruby here!
+
+> get ruby
+
+OK
+
+> s
+
+You are in a large chamber with passages to the west and north.
+
+> w
+
+You are in a long, rough-hewn, north/south corridor.
+
+> n
+
+Dead end
+
+There is a massive vending machine here, swung back to reveal a
+southward passage.
+
+> n
+
+You are in a little maze of twisting passages, all different.
+
+> d
+
+You are in a maze of little twisting passages, all different.
+
+> d
+
+You are in a maze of twisty little passages, all different.
+
+> d
+
+You're at west end of long hall.
+
+> e
+
+You're at east end of long hall.
+
+> e
+
+You are at the west end of the Hall of Mists.  A low wide crawl
+continues west and another goes north.  To the south is a little
+passage 6 feet off the floor.
+
+> e
+
+You're on west bank of fissure.
+
+A crystal bridge spans the fissure.
+
+> e
+
+You're on east bank of fissure.
+
+A crystal bridge spans the fissure.
+
+> e
+
+You're in Hall of Mists.
+
+Rough stone steps lead up the dome.
+
+> d
+
+There is a threatening little dwarf in the room with you!
+
+You are in the Hall of the Mountain King, with passages off in all
+directions.
+
+> throw axe
+
+You killed a little dwarf.  The body vanishes in a cloud of greasy
+black smoke.
+
+You're in Hall of Mt King.
+
+There is a little axe here.
+
+> get axe
+
+OK
+
+> n
+
+You're in n/s passage above e/w passage.
+
+There are bars of silver here!
+
+> get silver
+
+OK
+
+> n
+
+You're at "Y2".
+
+> plugh
+
+>>Foof!<<
+
+You're inside building.
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+There is a bottle of water here.
+
+> drop silver
+
+OK
+
+> drop ebony
+
+OK
+
+> drop appendage
+
+OK
+
+> get water
+
+OK
+
+> plugh
+
+>>Foof!<<
+
+Out from the shadows behind you pounces a bearded pirate!  "Har, har,"
+he chortles, "I'll just take all this booty and hide it away with me
+chest deep in the maze!"  He snatches your treasure and vanishes into
+the gloom.
+
+There is a threatening little dwarf in the room with you!
+
+You're at "Y2".
+
+A hollow voice says "PLUGH".
+
+> throw axe
+
+You killed a little dwarf.
+
+You're at "Y2".
+
+There is a little axe here.
+
+> get axe
+
+OK
+
+> s
+
+You're in n/s passage above e/w passage.
+
+> 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.
+
+> bedquilt
+
+You are in Bedquilt, a long east/west passage with holes everywhere.
+To explore at random select north, south, up, or down.
+
+> w
+
+You are in a room whose walls resemble Swiss cheese.  Obvious passages
+go west, east, ne, and nw.  Part of the room is occupied by a large
+bedrock block.
+
+> w
+
+You are at the east end of the Twopit Room.  The floor here is
+littered with thin rock slabs, which make it easy to descend the pits.
+There is a path here bypassing the pits to connect passages from east
+and west.  There are holes all over, but the only big one is on the
+wall directly over the west pit where you can't get to it.
+
+> w
+
+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, ..."
+
+> pour water
+
+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.
+
+> e
+
+You're at east end of Twopit Room.
+
+The top of a 12-foot-tall beanstalk is poking out of the west pit.
+
+> d
+
+You are at the bottom of the eastern pit in the Twopit Room.  There is
+a small pool of oil in one corner of the pit.
+
+> get oil
+
+Your bottle is now full of oil.
+
+> u
+
+You're at east end of Twopit Room.
+
+The top of a 12-foot-tall beanstalk is poking out of the west pit.
+
+> e
+
+You're in Swiss Cheese Room.
+
+> e
+
+You are in the Soft Room.  The walls are covered with heavy curtains,
+the floor with a thick pile carpet.  Moss covers the ceiling.
+
+A small velvet pillow lies on the floor.
+
+> get pillow
+
+OK
+
+> w
+
+You're in Swiss Cheese Room.
+
+> orien
+
+This is the Oriental Room.  Ancient oriental cave drawings cover the
+walls.  A gently sloping passage leads upward to the north, another
+passage leads se, and a hands and knees crawl leads west.
+
+There is a delicate, precious, ming vase here!
+
+> get vase
+
+OK
+
+> n
+
+You are following a wide path around the outer edge of a large cavern.
+Far below, through a heavy white mist, strange splashing noises can be
+heard.  The mist rises up through a fissure in the ceiling.  The path
+exits to the south and west.
+
+> w
+
+You are in an alcove.  A small nw path seems to widen after a short
+distance.  An extremely tight tunnel leads east.  It looks like a very
+tight squeeze.  An eerie light can be seen at the other end.
+
+There is an emerald here the size of a plover's egg!
+
+> get emerald
+
+OK
+
+> nw
+
+You're in misty cavern.
+
+> s
+
+You're in Oriental Room.
+
+> se
+
+You're in Swiss Cheese Room.
+
+> ne
+
+You're in Bedquilt.
+
+> 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.
+
+> u
+
+You are in a secret n/s canyon above a large room.
+
+> s
+
+You are in a secret canyon which exits to the north and east.
+
+The body of a huge green dead dragon is lying off to one side.
+
+> e
+
+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.
+
+> e
+
+You're in Hall of Mt King.
+
+> n
+
+You're in n/s passage above e/w passage.
+
+> 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.
+
+> plugh
+
+>>Foof!<<
+
+You are inside a building, a well house for a large spring.
+
+Your keen eye spots a severed leporine appendage lying on the ground.
+
+There is a richly-carved ebony statuette here!
+
+There are bars of silver here!
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+> drop pillow
+
+OK
+
+> drop vase
+
+The vase is now resting, delicately, on a velvet pillow.
+
+> drop emerald
+
+OK
+
+> xyzzy
+
+>>Foof!<<
+
+You're in debris room.
+
+> pit
+
+You're at top of small pit.
+
+A three foot black rod with a rusty star on an end lies nearby.
+
+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.
+
+> w
+
+You're on east bank of fissure.
+
+A crystal bridge spans the fissure.
+
+> w
+
+You're on west bank of fissure.
+
+A crystal bridge spans the fissure.
+
+> w
+
+You're at west end of Hall of Mists.
+
+> s
+
+You are in a maze of twisty little passages, all alike.
+
+> e
+
+There are faint rustling noises from the darkness behind you.
+
+You are in a maze of twisty little passages, all alike.
+
+> s
+
+You are in a maze of twisty little passages, all alike.
+
+> s
+
+There is a threatening little dwarf in the room with you!
+
+One sharp nasty knife is thrown at you!
+
+It misses!
+
+You are in a maze of twisty little passages, all alike.
+
+> s
+
+There are faint rustling noises from the darkness behind you.
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all alike.
+
+> n
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all alike.
+
+> throw axe
+
+You attack a little dwarf, but he dodges out of the way.
+
+There is a threatening little dwarf in the room with you!
+
+One sharp nasty knife is thrown at you!
+
+It misses!
+
+You are in a maze of twisty little passages, all alike.
+
+There is a little axe here.
+
+> get axe
+
+OK
+
+> e
+
+There is a threatening little dwarf in the room with you!
+
+You are on the brink of a thirty foot pit with a massive orange column
+down one wall.  You could climb down here but you could not get back
+up.  The maze continues at this level.
+
+> e
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all alike.
+
+> nw
+
+There is a threatening little dwarf in the room with you!
+
+Dead end
+
+There is an enormous ruby here!
+
+There is a Persian rug spread out on the floor!
+
+The pirate's treasure chest is here!
+
+> get chest
+
+OK
+
+> get ruby
+
+OK
+
+> get rug
+
+OK
+
+> se
+
+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!
+
+Dead end
+
+> se
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all alike.
+
+> w
+
+There is a threatening little dwarf in the room with you!
+
+You are in a maze of twisty little passages, all alike.
+
+> throw axe
+
+You killed a little dwarf.
+
+You are in a maze of twisty little passages, all alike.
+
+There is a little axe here.
+
+> s
+
+You're at brink of pit.
+
+> d
+
+You're in bird chamber.
+
+> debris
+
+You're in debris room.
+
+> xyzzy
+
+>>Foof!<<
+
+You're inside building.
+
+There is an emerald here the size of a plover's egg!
+
+There is a delicate, precious, ming vase here!
+
+A small velvet pillow lies on the floor.
+
+Your keen eye spots a severed leporine appendage lying on the ground.
+
+There is a richly-carved ebony statuette here!
+
+There are bars of silver here!
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+> drop chest
+
+OK
+
+> get emerald
+
+OK
+
+> w
+
+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.
+
+> w
+
+You have walked up a hill, still in the forest.  The road slopes back
+down the other side of the hill.  There is a building in the distance.
+
+> n
+
+You are wandering aimlessly through the forest.
+
+> n
+
+You are wandering aimlessly through the forest.
+
+> n
+
+The forest thins out here to reveal a steep cliff.  There is no way
+down, but a small ledge can be seen to the west across the chasm.
+
+A small urn is embedded in the rock.
+
+> fill urn
+
+Your bottle is now empty and the urn is full of oil.
+
+> light urn
+
+The urn is now lit.
+
+> rub urn
+
+As you rub the urn, there is a flash of light and a genie appears.
+His aspect is stern as he advises: "One who wouldst traffic in
+precious stones must first learn to recognize the signals thereof."
+He wrests the urn from the stone, leaving a small cavity.  Turning to
+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.
+
+> get amber
+
+OK
+
+> drop rug
+
+OK
+
+> drop emerald
+
+The gem fits easily into the cavity.
+
+The Persian rug stiffens and rises a foot or so off the ground.
+
+> fly rug
+
+You board the Persian rug, which promptly whisks you across the chasm.
+You have time for a fleeting glimpse of a two thousand foot drop to a
+mighty river; then you find yourself on the other side.
+
+You are on a small ledge on one face of a sheer cliff.  There are no
+paths away from the ledge.  Across the chasm is a small clearing
+surrounded by forest.
+
+There is a Persian rug here, hovering in mid-air!
+
+A brilliant blue star sapphire is here!
+
+> get sapphire
+
+OK
+
+> fly rug
+
+The rug ferries you back across the chasm.
+
+You're at cliff.
+
+There is an emerald resting in a small cavity in the rock!
+
+There is a Persian rug here, hovering in mid-air!
+
+> get emerald
+
+OK
+
+> drop ruby
+
+The gem fits easily into the cavity.
+
+The Persian rug settles gently to the ground.
+
+> get rug
+
+OK
+
+> get ruby
+
+OK
+
+> e
+
+You are wandering aimlessly through the forest.
+
+> s
+
+You are wandering aimlessly through the forest.
+
+> e
+
+You're at hill in road.
+
+> e
+
+You're in front of building.
+
+> e
+
+You're inside building.
+
+The pirate's treasure chest is here!
+
+There is a delicate, precious, ming vase here!
+
+A small velvet pillow lies on the floor.
+
+Your keen eye spots a severed leporine appendage lying on the ground.
+
+There is a richly-carved ebony statuette here!
+
+There are bars of silver here!
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+There are some keys on the ground here.
+
+There is food here.
+
+> drop ruby
+
+OK
+
+> drop sapphire
+
+OK
+
+> drop amber
+
+OK
+
+> drop emerald
+
+OK
+
+> drop rug
+
+OK
+
+> get water
+
+Your bottle is now full of water.
+
+> get keys
+
+OK
+
+> get food
+
+OK
+
+> plugh
+
+>>Foof!<<
+
+You're at "Y2".
+
+> s
+
+You are in a low n/s passage at a hole in the floor.  The hole goes
+down to an e/w passage.
+
+> s
+
+You're in Hall of Mt King.
+
+> sw
+
+You're in secret e/w canyon above tight canyon.
+
+> w
+
+You are in a secret canyon which exits to the north and east.
+
+The body of a huge green dead dragon is lying off to one side.
+
+> n
+
+You are in a secret n/s canyon above a large room.
+
+> d
+
+You're in Slab Room.
+
+> s
+
+You're at west end of Twopit Room.
+
+The top of a 12-foot-tall beanstalk is poking out of the west pit.
+
+> d
+
+You're in west pit.
+
+There is a 12-foot-tall beanstalk stretching up out of the pit,
+bellowing "WATER!! WATER!!"
+
+> pour water
+
+The plant grows explosively, almost filling the bottom of the pit.
+
+You're in west pit.
+
+There is a gigantic beanstalk stretching all the way up to the hole.
+
+> u
+
+You're at west end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> e
+
+You're at east end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> d
+
+You're in east pit.
+
+> get oil
+
+Your bottle is now full of oil.
+
+> u
+
+You're at east end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> w
+
+You're at west end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> d
+
+You're in west pit.
+
+There is a gigantic beanstalk stretching all the way up to the hole.
+
+> climb
+
+You clamber up the plant and scurry through the hole at the top.
+
+You are in a long, narrow corridor stretching out of sight to the
+west.  At the eastern end is a hole through which you can see a
+profusion of leaves.
+
+> w
+
+You are in the Giant Room.  The ceiling here is too high up for your
+lamp to show it.  Cavernous passages lead east, north, and south.  On
+the west wall is scrawled the inscription, "FEE FIE FOE FOO" [sic].
+
+There is a large nest here, full of golden eggs!
+
+> get eggs
+
+OK
+
+> n
+
+You are at one end of an immense north/south passage.
+
+The way north is barred by a massive, rusty, iron door.
+
+> oil door
+
+The oil has freed up the hinges so that the door will now move,
+although it requires some effort.
+
+> n
+
+You are in a magnificent cavern with a rushing stream, which cascades
+over a sparkling waterfall into a roaring whirlpool which disappears
+through a hole in the floor.  Passages exit to the south and west.
+
+There is a jewel-encrusted trident here!
+
+> get trident
+
+OK
+
+> w
+
+You are at the top of a steep incline above a large room.  You could
+climb down here, but you would not be able to climb up.  There is a
+passage leading back to the north.
+
+> d
+
+You are in a large low room.  Crawls lead north, se, and sw.
+
+> sw
+
+You are in a long winding corridor sloping out of sight in both
+directions.
+
+> u
+
+You are on one side of a large, deep chasm.  A heavy white mist rising
+up from below obscures all view of the far side.  A sw path leads away
+from the chasm into a winding corridor.
+
+A rickety wooden bridge extends across the chasm, vanishing into the
+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.
+
+> toss eggs
+
+The troll catches your treasure and scurries away out of sight.
+
+> cross
+
+You are on the far side of the chasm.  A ne path leads away from the
+chasm on this side.
+
+A rickety wooden bridge extends across the chasm, vanishing into the
+mist.  A notice posted on the bridge reads, "Stop! Pay troll!"
+
+The troll is nowhere to be seen.
+
+> barren
+
+You are standing at the entrance to a large, barren room.  A notice
+above the entrance reads:  "Caution!  Bear in room!"
+
+> e
+
+You are inside a barren room.  The center of the room is completely
+empty except for some dust.  Marks in the dust lead away toward the
+far end of the room.  The only exit is the way you came in.
+
+There is a ferocious cave bear eyeing you from the far end of the room!
+
+The bear is locked to the wall with a golden chain!
+
+> feed bear
+
+The bear eagerly wolfs down your food, after which he seems to calm
+down considerably and even becomes rather friendly.
+
+> unlock chain
+
+The chain is now unlocked.
+
+> get chain
+
+OK
+
+> get bear
+
+OK
+
+> fork
+
+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.
+
+> ne
+
+You are being followed by a very large, tame bear.
+
+The walls are quite warm here.  From the north can be heard a steady
+roar, so loud that the entire cave seems to be trembling.  Another
+passage leads south, and a low crawl goes east.
+
+> e
+
+You are being followed by a very large, tame bear.
+
+You are in a small chamber filled with large boulders.  The walls are
+very warm, causing the air in the room to be almost stifling from the
+heat.  The only exit is a crawl heading west, through which is coming
+a low rumbling.
+
+There are rare spices here!
+
+> drop keys
+
+OK
+
+> get spices
+
+OK
+
+> fork
+
+You are being followed by a very large, tame bear.
+
+You're at fork in path.
+
+> w
+
+You are being followed by a very large, tame bear.
+
+You're in a long east/west corridor.  A faint rumbling noise can be
+heard in the distance.
+
+> w
+
+You are being followed by a very large, tame bear.
+
+You're on ne side of chasm.
+
+A rickety wooden bridge extends across the chasm, vanishing into the
+mist.  A notice posted on the bridge reads, "Stop! Pay troll!"
+
+The troll is nowhere to be seen.
+
+> cross
+
+The troll steps out from beneath the bridge and blocks your way.
+
+You are being followed by a very large, tame bear.
+
+You're on ne side of chasm.
+
+A rickety wooden bridge extends across the chasm, vanishing into the
+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.
+
+> free bear
+
+The bear lumbers toward the troll, who lets out a startled shriek and
+scurries away.  The bear soon gives up the pursuit and wanders back.
+
+> cross
+
+You're on sw side of chasm.
+
+A rickety wooden bridge extends across the chasm, vanishing into the
+mist.  A notice posted on the bridge reads, "Stop! Pay troll!"
+
+The troll is nowhere to be seen.
+
+> sw
+
+You're in sloping corridor.
+
+> d
+
+You're in large low room.
+
+> bedquilt
+
+You're in Bedquilt.
+
+> w
+
+You're in Swiss Cheese Room.
+
+> w
+
+You are at the east end of the Twopit Room.  The floor here is
+littered with thin rock slabs, which make it easy to descend the pits.
+There is a path here bypassing the pits to connect passages from east
+and west.  There are holes all over, but the only big one is on the
+wall directly over the west pit where you can't get to it.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> w
+
+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.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> 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 gigantic beanstalk stretching all the way up to the hole.
+
+> climb
+
+You clamber up the plant and scurry through the hole at the top.
+
+You're in narrow corridor.
+
+> w
+
+You're in Giant Room.
+
+> fee
+
+OK
+
+> fie
+
+OK
+
+> foe
+
+OK
+
+> foo
+
+There is a large nest here, full of golden eggs!
+
+> get eggs
+
+OK
+
+> s
+
+You're in narrow corridor.
+
+> d
+
+You're in west pit.
+
+There is a gigantic beanstalk stretching all the way up to the hole.
+
+> u
+
+You're at west end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> e
+
+You're at east end of Twopit Room.
+
+There is a huge beanstalk growing out of the west pit up to the hole.
+
+> e
+
+You are in a room whose walls resemble Swiss cheese.  Obvious passages
+go west, east, ne, and nw.  Part of the room is occupied by a large
+bedrock block.
+
+> ne
+
+You're in Bedquilt.
+
+> e
+
+You are at a complex junction.  A low hands and knees passage from the
+north joins a higher crawl from the east to make a walking passage
+going west.  There is also a large room above.  The air is damp here.
+
+> n
+
+You're in a large room carved out of sedimentary rock.  The floor and
+walls are littered with bits of shells embedded in the stone.  A
+shallow passage proceeds downward, and a somewhat steeper one leads
+up.  A low hands and knees passage enters from the south.
+
+There is an enormous clam here with its shell tightly closed.
+
+> open clam
+
+A glistening pearl falls out of the clam and rolls away.  Goodness,
+this must really be an oyster.  (I never was very good at identifying
+bivalves.)  Whatever it is, it has now snapped shut again.
+
+> d
+
+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 are in a long sloping corridor with ragged sharp walls.
+
+> d
+
+You are in a cul-de-sac about eight feet across.
+
+Off to one side lies a glistening pearl!
+
+> get pearl
+
+OK
+
+> shell
+
+You're in Shell Room.
+
+There is an enormous oyster here with its shell tightly closed.
+
+> s
+
+You're at complex junction.
+
+> u
+
+You are in a large room full of dusty rocks.  There is a big hole in
+the floor.  There are cracks everywhere, and a passage leading east.
+
+> e
+
+You're in dirty passage.
+
+> u
+
+You're in n/s passage above e/w passage.
+
+> s
+
+You're in Hall of Mt King.
+
+> w
+
+You're in the west side chamber.
+
+There are many coins here!
+
+> drop bottle
+
+OK
+
+> get coins
+
+OK
+
+> e
+
+You are in the Hall of the Mountain King, with passages off in all
+directions.
+
+> n
+
+You're in n/s passage above e/w passage.
+
+> n
+
+You're at "Y2".
+
+> plugh
+
+>>Foof!<<
+
+You're inside building.
+
+There is a Persian rug spread out on the floor!
+
+There is an emerald here the size of a plover's egg!
+
+There is a rare amber gemstone here!
+
+A brilliant blue star sapphire is here!
+
+There is an enormous ruby here!
+
+The pirate's treasure chest is here!
+
+There is a delicate, precious, ming vase here!
+
+A small velvet pillow lies on the floor.
+
+Your keen eye spots a severed leporine appendage lying on the ground.
+
+There is a richly-carved ebony statuette here!
+
+There are bars of silver here!
+
+There are diamonds here!
+
+There is precious jewelry here!
+
+There is a large sparkling nugget of gold here!
+
+A precious jade necklace has been dropped here!
+
+There is a platinum pyramid here, 8 inches on a side!
+
+> drop chain
+
+OK
+
+> drop spices
+
+OK
+
+> drop trident
+
+OK
+
+> drop pearl
+
+OK
+
+> drop eggs
+
+OK
+
+> drop coins
+
+OK
+
+> plugh
+
+>>Foof!<<
+
+You're at "Y2".
+
+A hollow voice says "PLUGH".
+
+> s
+
+You're in n/s passage above e/w passage.
+
+> d
+
+You're in dirty passage.
+
+> w
+
+You're in dusty rock room.
+
+> d
+
+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.
+Proceed at own risk.  [Witt Construction Company]"
+
+There are a few recent issues of "Spelunker Today" magazine here.
+
+> get magazine
+
+OK
+
+> e
+
+You are at Witt's End.  Passages lead off in *ALL* directions.
+
+> drop magazine
+
+Your lamp has run out of power.
+
+OK
+
+> look
+
+Sorry, but I am not allowed to give more detail.  I will repeat the
+long description of your location.
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+Sorry, but I am not allowed to give more detail.  I will repeat the
+long description of your location.
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+Sorry, but I am not allowed to give more detail.  I will repeat the
+long description of your location.
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+Tsk!  A wizard wouldn't have to take 350 turns.  This is going to cost
+you a couple of points.
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+A sepulchral voice reverberating through the cave, says, "Cave closing
+soon.  All adventurers exit immediately through main office."
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+Do you need help getting out of here?
+
+> no
+
+OK
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+Do you need help getting out of here?
+
+> no
+
+OK
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+Do you need help getting out of here?
+
+> no
+
+OK
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> look
+
+The sepulchral voice intones, "The cave is now closed."  As the echoes
+fade, there is a blinding flash of light (and a small puff of orange
+smoke). . . .    As your eyes refocus, you look around and find...
+
+You are at the northeast end of an immense room, even larger than the
+Giant Room.  It appears to be a repository for the "Adventure"
+program.  Massive torches far overhead bathe the room with smoky
+yellow light.  Scattered about you can be seen a pile of bottles (all
+of them empty), a nursery of young beanstalks murmuring quietly, a bed
+of oysters, a bundle of black rods with rusty stars on their ends, and
+a collection of brass lanterns.  Off to one side a great many dwarves
+are sleeping on the floor, snoring loudly.  A notice nearby reads: "Do
+not disturb the dwarves!"  An immense mirror is hanging against one
+wall, and stretches to the other end of the room, where various other
+sundry objects can be glimpsed dimly in the distance.
+
+> get water
+
+I see no water here.
+
+> get bottle
+
+OK
+
+> inven
+
+You are currently holding the following:
+Small bottle
+
+> sw
+
+You are at the southwest end of the repository.  To one side is a pit
+full of fierce green snakes.  On the other side is a row of small
+wicker cages, each of which contains a little sulking bird.  In one
+corner is a bundle of black rods with rusty marks on their ends.  A
+large number of velvet pillows are scattered about on the floor.  A
+vast mirror stretches off to the northeast.  At your feet is a large
+steel grate, next to which is a sign that reads, "Treasure Vault.
+Keys in main office."
+
+The grate is locked.
+
+> get cage
+
+OK
+
+> inven
+
+You are currently holding the following:
+Wicker cage
+Small bottle
+
+> get bird
+
+OK
+
+> inven
+
+You are currently holding the following:
+Wicker cage
+Little bird in cage
+Small bottle
+
+> quit
+
+Do you really want to quit now?
+
+> yes
+
+OK
+
+You scored 389 out of a possible 430, using 416 turns.
+
+Your score puts you in Master Adventurer Class B.
+
+To achieve the next higher rating, you need 22 more points.
diff --git a/tests/endobjects.log b/tests/endobjects.log
new file mode 100644 (file)
index 0000000..8ebd57c
--- /dev/null
@@ -0,0 +1,426 @@
+## Check that water is unavailable in endgame
+# Addresses GitLab issue #55: in endgame, some object starting states are incorrect
+no
+seed 11247848
+no
+seed 1516020414
+e
+plugh
+plove
+get emerald
+w
+drop emerald
+e
+ne
+get pyramid
+s
+plove
+plugh
+drop pyramid
+get lamp
+xyzzy
+on
+get rod
+e
+get cage
+pit
+d
+w
+wave rod
+w
+get diamonds
+e
+e
+u
+drop rod
+e
+get bird
+w
+free bird
+get rod
+wave rod
+get necklace
+drop rod
+get bird
+d
+s
+get gold
+n
+d
+free bird
+get bird
+s
+get jewelry
+n
+sw
+w
+kill dragon
+yes
+drink blood
+get rug
+e
+e
+n
+n
+plugh
+drop necklace
+drop gold
+drop jewelry
+drop diamonds
+w
+s
+w
+n
+get appendage
+free bird
+drop cage
+listen
+s
+s
+n
+e
+plugh
+s
+s
+sw
+w
+n
+reserv
+U'SIM
+n
+n
+u
+u
+u
+u
+u
+ne
+get statuette
+sw
+d
+d
+d
+d
+d
+s
+s
+s
+s
+s
+get axe
+e
+e
+e
+w
+w
+w
+w
+s
+sw
+se
+s
+hit machine
+s
+s
+hit ogre
+s
+n
+get ruby
+s
+w
+n
+n
+d
+d
+d
+e
+e
+e
+e
+e
+d
+throw axe
+get axe
+n
+get silver
+n
+plugh
+drop silver
+drop ebony
+drop appendage
+get water
+plugh
+throw axe
+get axe
+s
+d
+bedquilt
+w
+w
+w
+d
+pour water
+u
+e
+d
+get oil
+u
+e
+e
+get pillow
+w
+orien
+get vase
+n
+w
+get emerald
+nw
+s
+se
+ne
+slab
+u
+s
+e
+e
+n
+n
+plugh
+drop pillow
+drop vase
+drop emerald
+xyzzy
+pit
+d
+w
+w
+w
+s
+e
+s
+s
+s
+n
+throw axe
+get axe
+e
+e
+nw
+get chest
+get ruby
+get rug
+se
+se
+w
+throw axe
+s
+d
+debris
+xyzzy
+drop chest
+get emerald
+w
+w
+n
+n
+n
+fill urn
+light urn
+rub urn
+get amber
+drop rug
+drop emerald
+fly rug
+get sapphire
+fly rug
+get emerald
+drop ruby
+get rug
+get ruby
+e
+s
+e
+e
+e
+drop ruby
+drop sapphire
+drop amber
+drop emerald
+drop rug
+get water
+get keys
+get food
+plugh
+s
+s
+sw
+w
+n
+d
+s
+d
+pour water
+u
+e
+d
+get oil
+u
+w
+d
+climb
+w
+get eggs
+n
+oil door
+n
+get trident
+w
+d
+sw
+u
+toss eggs
+cross
+barren
+e
+feed bear
+unlock chain
+get chain
+get bear
+fork
+ne
+e
+drop keys
+get spices
+fork
+w
+w
+cross
+free bear
+cross
+sw
+d
+bedquilt
+w
+w
+w
+d
+climb
+w
+fee
+fie
+foe
+foo
+get eggs
+s
+d
+u
+e
+e
+ne
+e
+n
+open clam
+d
+d
+get pearl
+shell
+s
+u
+e
+u
+s
+w
+drop bottle
+get coins
+e
+n
+n
+plugh
+drop chain
+drop spices
+drop trident
+drop pearl
+drop eggs
+drop coins
+plugh
+s
+d
+w
+d
+e
+get magazine
+e
+drop magazine
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+no
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+no
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+look
+no
+look
+look
+get water
+get bottle
+inven
+sw
+get cage
+inven
+get bird
+inven
+quit
+yes