Coverage -- more odd actions
[open-adventure.git] / tests / illformed.chk
index 790e4bcb9bcc2d1eeff827965e873c53ec4c0af6..784f87322059073a4b5b36335817ded8a81966bb 100644 (file)
 
-Welcome to Adventure!!  Would you like instructions?  
+Welcome to Adventure!!  Would you like instructions?
 
 > foo
 
-Please answer the question.   
+Please answer the question.
 
-Welcome to Adventure!!  Would you like instructions?  
+Welcome to Adventure!!  Would you like instructions?
 
-> n
+> y
+
+Somewhere nearby is Colossal Cave, where others have found fortunes in
+treasure and gold, though it is rumored that some who enter are never
+seen again.  Magic is said to work in the cave.  I will be your eyes
+and hands.  Direct me with commands of 1 or 2 words.  I should warn
+you that I look at only the first five letters of each word, so you'll
+have to enter "northeast" as "ne" to distinguish it from "north".
+You can type "help" for some general hints.  For information on how
+to end your adventure, scoring, etc., type "info".
+                             - - -
+This program was originally developed by Willie Crowther.  Most of the
+features of the current program were added by Don Woods.
 
-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.  
+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 1801426495
 Seed set to 1801426495
 
-You're in front of building.  
+You're in front of building.
+
+> version
+
+There is a puff of orange smoke; within it, fiery runes spell out:
+
+       Open Adventure 1.1 - http://www.catb.org/esr/open-adventure/
+
+> help
+
+I know of places, actions, and things.  Most of my vocabulary
+describes places and is used to move you there.  To move, try words
+like forest, building, downstream, enter, east, west, north, south,
+up, or down.  I know about a few special objects, like a black rod
+hidden in the cave.  These objects can be manipulated using some of
+the action words that I know.  Usually you will need to give both the
+object and action words (in either order), but sometimes I can infer
+the object from the verb alone.  Some objects also imply verbs; in
+particular, "inventory" implies "take inventory", which causes me to
+give you a list of what you're carrying.  Some objects have unexpected
+effects; the effects are not always desirable!  Usually people having
+trouble moving just need to try a few more words.  Usually people
+trying unsuccessfully to manipulate an object are attempting something
+beyond their (or my!) capabilities and should try a completely
+different tack.  One point often confusing to beginners is that, when
+there are several ways to go in a certain direction (e.g., if there
+are several holes in a wall), choosing that direction in effect
+chooses one of the ways at random; often, though, by specifying the
+place you want to reach you can guarantee choosing the right path.
+Also, to speed the game you can sometimes move long distances with a
+single word.  For example, "building" usually gets you to the building
+from anywhere above ground except when lost in the forest.  Also, note
+that cave passages and forest paths turn a lot, so leaving one place
+heading north doesn't guarantee entering the next from the south.
+However (another important point), except when you've used a "long
+distance" word such as "building", there is always a way to go back
+where you just came from unless I warn you to the contrary, even
+though the direction that takes you back might not be the reverse of
+what got you here.  Good luck, and have fun!
+
+> info
+
+For a summary of the most recent changes to the game, say "news".
+If you want to end your adventure early, say "quit".  To suspend your
+adventure such that you can continue later, say "suspend" (or "pause"
+or "save").  To see how well you're doing, say "score".  To get full
+credit for a treasure, you must have left it safely in the building,
+though you get partial credit just for locating it.  You lose points
+for getting killed, or for quitting, though the former costs you more.
+There are also points based on how much (if any) of the cave you've
+managed to explore; in particular, there is a large bonus just for
+getting in (to distinguish the beginners from the rest of the pack),
+and there are other ways to determine whether you've been through some
+of the more harrowing sections.  If you think you've found all the
+treasures, just keep exploring for a while.  If nothing interesting
+happens, you haven't found them all yet.  If something interesting
+*DOES* happen (incidentally, there *ARE* ways to hasten things along),
+it means you're getting a bonus and have an opportunity to garner many
+more points in the Master's section.  I may occasionally offer hints
+if you seem to be having trouble.  If I do, I'll warn you in advance
+how much it will affect your score to accept the hints.  Finally, to
+save time, you may specify "brief", which tells me never to repeat the
+full description of a place unless you explicitly ask me to.
+
+> eat grate
+
+Don't be ridiculous!
+
+> eat building
+
+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.
+
+> in
+
+I don't know in from out here.  Use compass points or name something
+in the general direction you want to go.
+
+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.
+
+> in
+
+I don't know in from out here.  Use compass points or name something
+in the general direction you want to go.
+
+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.
+
+> throw food
+
+You aren't carrying it!
+
+> nothing food
+
+OK
+
+> calm food
+
+I'm game.  Would you care to explain how?
+
+> walk food
+
+Where?
+
+> score food
+
+Huh?
+
+> foo food
+
+I don't know how.
+
+> brief food
+
+On what?
+
+> blast food
+
+Blasting requires dynamite.
+
+> find grate
+
+I can only tell you what you see as you move about and manipulate
+things.  I cannot tell you where remote things are.
+
+> light food
+
+I'm afraid I don't understand.
+
+> lock food
+
+I don't know how to lock or unlock such a thing.
+
+> unlock food
+
+I don't know how to lock or unlock such a thing.
+
+> extinguish food
+
+I'm afraid I don't understand.
+
+> suspend food
+
+Huh?
+
+> resume food
+
+Huh?
+
+> crawl
+
+Which way?
+
+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.
+
+> out
+
+You're in front of building.
+
+> stream
+
+You are in a valley in the forest beside a stream tumbling along a
+rocky bed.
+
+> lock
+
+There is nothing here with a lock!
+
+> take water
+
+You have nothing in which to carry it.
+
+> blast
+
+Blasting requires dynamite.
+
+> building
+
+You're in front of building.
 
 > cave
 
-I don't know where the cave is, but hereabouts no stream can run on   
-the surface for long.  I would try the stream.    
+I don't know where the cave is, but hereabouts no stream can run on
+the surface for long.  I would try the stream.
+
+You're in front of building.
+
+> enter stream
 
-You're in front of building.  
+Your feet are now wet.
+
+> try three words
+
+Please stick to 1- and 2-word commands.
 
 > listen
 
-The stream is gurgling placidly.   
+The stream is gurgling placidly.
+
+> carry
+
+Carry what?
 
 > forward
 
 I am unsure how you are facing.  Use compass points or nearby objects.
 
-You're in front of building.  
+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.
 
 > eat
 
@@ -41,49 +275,62 @@ Eat what?
 
 > drink
 
-You have taken a drink from the stream.  The water tastes strongly of 
+You have taken a drink from the stream.  The water tastes strongly of
 minerals, but is not unpleasant.  It is extremely cold.
 
+> throw keys
+
+I see no keys here.
+
 > find keys
 
 I can only tell you what you see as you move about and manipulate
-things.  I cannot tell you where remote things are.    
+things.  I cannot tell you where remote things are.
+
+> inven keys
+
+I can only tell you what you see as you move about and manipulate
+things.  I cannot tell you where remote things are.
+
+> nothing
+
+OK
 
 > in
 
-You are inside a building, a well house for a large spring. 
+You're inside building.
 
-There are some keys on the ground here. 
+There are some keys on the ground here.
 
 There is a shiny brass lamp nearby.
 
-There is food here. 
+There is food here.
 
-There is a bottle of water here.   
+There is a bottle of water here.
 
 > listen
 
-The stream is gurgling placidly.   
+The stream is gurgling placidly.
 
 > keys
 
-What do you want to do with the keys?   
+What do you want to do with the keys?
 
 > find keys
 
-I believe what you want is right here with you.   
+I believe what you want is right here with you.
 
 > unlock keys
 
-You can't unlock the keys.    
+You can't unlock the keys.
 
 > find foo
 
-Nothing happens.    
+Nothing happens.
 
 > find bar
 
-Sorry, I don't know the word "BAR".
+Sorry, I don't know the word "bar".
 
 > carry
 
@@ -91,78 +338,196 @@ Carry what?
 
 > blast
 
-Blasting requires dynamite.   
+Blasting requires dynamite.
+
+> take bottle
+
+OK
+
+> find bottle
+
+You are already carrying it!
+
+> drink water
+
+The bottle of water is now empty.
+
+> fill bottle
+
+Your bottle is now full of water.
 
 > throw axe
 
-I see no axe here.  
+I see no axe here.
 
 > throw knife
 
-I see no knife here.  
+I see no knife here.
 
 > lock
 
-There is nothing here with a lock! 
+There is nothing here with a lock!
 
 > unlock
 
-There is nothing here with a lock! 
+There is nothing here with a lock!
 
 > throw
 
 Throw what?
 
+> attack
+
+There is nothing here to attack.
+
 > unlock chain
 
-I see no chain here.  
+I see no chain here.
 
 > fill urn
 
-I see no urn here.  
+I see no urn here.
 
 > eat keys
 
 Don't be ridiculous!
 
+> discard keys
+
+You aren't carrying it!
+
+> drink keys
+
+Don't be ridiculous!
+
+> off keys
+
+I'm afraid I don't understand.
+
+> break keys
+
+It is beyond your power to do that.
+
+> wake keys
+
+Don't be ridiculous!
+
+> take keys
+
+OK
+
+> feed keys
+
+I'm game.  Would you care to explain how?
+
+> fly keys
+
+I'm game.  Would you care to explain how?
+
+> pour keys
+
+You can't pour that.
+
+> throw keys
+
+OK
+
+> foo up
+
+There is no way to go that direction.
+
+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.
+
+> eat food
+
+Thank you, it was delicious!
+
 > drink blood
 
-I see no blood here.  
+I see no blood here.
+
+> drink keys
+
+Don't be ridiculous!
+
+> light keys
+
+I'm afraid I don't understand.
 
 > brief
 
-Okay, from now on I'll only describe a place in full the first time   
-you come to it.  To get the full description, say "look".   
+Okay, from now on I'll only describe a place in full the first time
+you come to it.  To get the full description, say "look".
+
+> frob grate
+
+Sorry, I don't know the word "frob".
+
+> read grate
+
+I'm afraid I don't understand.
+
+> grate
+
+What do you want to do with the grate?
+
+> pour bottle
+
+Your bottle is empty and the ground is wet.
+
+> fill bottle
+
+Your bottle is now full of water.
+
+> building
+
+I don't know how to apply that word here.
+
+You're inside building.
+
+There are some keys on the ground here.
+
+There is a shiny brass lamp nearby.
 
 > on
 
 Your lamp is now on.
 
+> pour bottle
+
+Your bottle is empty and the ground is wet.
+
 > xyzzy
 
->>Foof!<<  
+>>Foof!<<
 
 It is now pitch dark.  If you proceed you will likely fall into a pit.
 
 > take rod
 
-OK   
+OK
 
 > wave rod
 
-Nothing happens.    
+Nothing happens.
 
 > listen
 
-All is silent. 
+All is silent.
 
 > quit
 
-Do you really want to quit now?   
+Do you really want to quit now?
 
 > n
 
-OK   
+OK
 
 > read
 
@@ -172,35 +537,49 @@ Read what?
 
 It is now pitch dark.  If you proceed you will likely fall into a pit.
 
+> l
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> x
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> i
+
+You are currently holding the following:
+Black rod
+Small bottle
+
 > news
 
-Open Adventure is an author-approved open-source release of 
-Version 2.5 with, as yet, no gameplay changes.  
-Version 2.5 was essentially the same as Version II; the cave and the    
-hazards therein are unchanged, and top score is still 430 points.  
-There are a few more hints, especially for some of the more obscure   
-puzzles.  There are a few minor bugfixes and cosmetic changes.  You   
-can now save a game and resume it at once (formerly you had to wait a 
+Open Adventure is an author-approved open-source release of
+Version 2.5 with, as yet, no gameplay changes.
+Version 2.5 was essentially the same as Version II; the cave and the
+hazards therein are unchanged, and top score is still 430 points.
+There are a few more hints, especially for some of the more obscure
+puzzles.  There are a few minor bugfixes and cosmetic changes.  You
+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.  
+game.  Saved games are now stored in much smaller files than before.
 
 > go back
 
->>Foof!<<  
+>>Foof!<<
 
-You're inside building.  
+You're inside building.
 
-There are some keys on the ground here. 
+There are some keys on the ground here.
 
-There is a lamp shining nearby.    
+There is a lamp shining nearby.
 
-There is food here. 
+> fuck
 
-There is a bottle of water here.   
+Watch it!
 
-> fuck
+> walk
 
-Watch it! 
+Where?
 
 > fly
 
@@ -208,22 +587,34 @@ Though you flap your arms furiously, it is to no avail.
 
 > say boo
 
-Okay, "BOO".   
+Okay, "boo".
 
 > score
 
-You have garnered  32 out of a possible 430 points, using    39 turns.  
+You have garnered 27 out of a possible 430 points, using 103 turns.
+
+> z
+
+OK
+
+> score
+
+You have garnered 27 out of a possible 430 points, using 105 turns.
+
+> quit keys
+
+Huh?
 
 > quit
 
-Do you really want to quit now?   
+Do you really want to quit now?
 
 > yes
 
-OK   
+OK
 
-You scored  32 out of a possible 430, using   40 turns.  
+You scored 27 out of a possible 430, using 107 turns.
 
-You are obviously a rank amateur.  Better luck next time.   
+You are obviously a rank amateur.  Better luck next time.
 
-To achieve the next higher rating, you need 14 more points.  
+To achieve the next higher rating, you need 19 more points.