Increase test coverage.
[open-adventure.git] / tests / illformed.chk
index d960af517c2d2f9313bb082b9b827fa825a1abfa..2e51eb924ad88b5950cf67274a7a5df8b754a260 100644 (file)
@@ -1,28 +1,94 @@
 
-Welcome to Adventure!!  Would you like instructions?  
+Welcome to Adventure!!  Would you like instructions?
+
+> foo
+
+Please answer the question.
+
+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.  
+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.
+
+> 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.
+
+You're in front of building.
+
+> listen
+
+The stream is gurgling placidly.
+
+> forward
+
+I am unsure how you are facing.  Use compass points or nearby objects.
+
+You're in front of building.
+
+> eat
+
+Eat what?
+
+> drink
+
+You have taken a drink from the stream.  The water tastes strongly of
+minerals, but is not unpleasant.  It is extremely cold.
+
+> 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.
+
+> 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.
 
 > in
 
-You are inside a building, a well house for a large spring. 
+You are inside a building, a well house for a large spring.
 
-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.
+
+> listen
+
+The stream is gurgling placidly.
+
+> keys
+
+What do you want to do with the keys?
 
-There is a bottle of water here.   
+> find keys
+
+I believe what you want is right here with you.
+
+> unlock keys
+
+You can't unlock the keys.
+
+> find foo
+
+Nothing happens.
+
+> find bar
+
+Sorry, I don't know the word "BAR".
 
 > carry
 
@@ -30,66 +96,197 @@ Carry what?
 
 > blast
 
-Blasting requires dynamite.   
+Blasting requires dynamite.
 
 > 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!
 
+> 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
+
+> throw keys
+
+OK
+
+> 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".
+
+> 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?
+
+> 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.
+
+There is a bottle of water here.
+
+> on
+
+Your lamp is now on.
+
+> xyzzy
+
+>>Foof!<<
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> take rod
+
+OK
+
+> wave rod
+
+Nothing happens.
+
+> listen
+
+All is silent.
 
 > quit
 
-Do you really want to quit now?   
+Do you really want to quit now?
 
 > n
 
-OK   
+OK
+
+> read
+
+Read what?
+
+> look
+
+It is now pitch dark.  If you proceed you will likely fall into a pit.
+
+> 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
+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.
+
+> go back
+
+>>Foof!<<
+
+You're inside building.
+
+There are some keys on the ground here.
+
+There is a lamp shining nearby.
+
+There is a bottle of water here.
+
+> fuck
+
+Watch it!
+
+> fly
+
+Though you flap your arms furiously, it is to no avail.
+
+> say boo
+
+Okay, "BOO".
 
 > score
 
-You have garnered  32 out of a possible 430 points, using    14 turns.  
+You have garnered 32 out of a possible 430 points, using 53 turns.
 
 > 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   15 turns.  
+You scored 32 out of a possible 430, using 54 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 14 more points.