Coverage improvement. Also, it's rude to die silently.
[open-adventure.git] / tests / illformed.chk
index f777412cd57f52e886061170afa6f4b84ccb624f..03c650cd262208cdbcd8f61343efbe3c22e6f598 100644 (file)
@@ -32,6 +32,7 @@ Around you is a forest.  A small stream flows out of the building and
 down a gully.
 
 > seed 1635997320
+
 Seed set to 1635997320
 
 You're in front of building.
@@ -42,67 +43,25 @@ You can't get there from here.
 
 You're in front of building.
 
-> version
-
-There is a puff of orange smoke; within it, fiery runes spell out:
-
-       Open Adventure 1.2 - 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.
+> take grate
+
+I see no grate here.
+
+> no rub
+
+OK
+
+> say axe
+
+Okay, "axe".
+
+> say rub
+
+Okay, "rub".
+
+> say grate
+
+Okay, "grate".
 
 > _
 
@@ -114,9 +73,27 @@ Sorry, but I no longer seem to remember how it was you got here.
 
 You're in front of building.
 
+> seed
+
+This command requires a numeric argument.
+
+You're in front of building.
+
+> waste
+
+This command requires a numeric argument.
+
+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 grate
 
-Don't be ridiculous!
+I see no grate here.
+
+> 23
+
+Sorry, I don't know the word "23".
 
 > eat building
 
@@ -151,19 +128,19 @@ Nothing happens.
 
 > say fee
 
-I don't know how.
+OK
 
 > say fie
 
-I don't know how.
+OK
 
 > say foe
 
-I don't know how.
+OK
 
 > say fum
 
-I don't know how.
+Nothing happens.
 
 > in
 
@@ -180,6 +157,10 @@ There is food here.
 
 There is a bottle of water here.
 
+> keys
+
+What do you want to do with the keys?
+
 > throw food
 
 You aren't carrying it!
@@ -278,9 +259,7 @@ Blasting requires dynamite.
 
 > 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.
+You're in front of building.
 
 > cave
 
@@ -354,10 +333,6 @@ There is a bottle of water here.
 
 The stream is gurgling placidly.
 
-> keys
-
-What do you want to do with the keys?
-
 > find keys
 
 I believe what you want is right here with you.
@@ -486,6 +461,14 @@ There is a shiny brass lamp nearby.
 
 There is food here.
 
+> get
+
+Get what?
+
+> food
+
+OK
+
 > eat food
 
 Thank you, it was delicious!
@@ -513,11 +496,17 @@ Sorry, I don't know the word "frob".
 
 > read grate
 
-I'm afraid I don't understand.
+I see no grate here.
 
 > grate
 
-What do you want to do with the grate?
+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.
 
 > pour bottle
 
@@ -633,7 +622,7 @@ Okay, "boo".
 
 > score
 
-You have garnered 27 out of a possible 430 points, using 111 turns.
+You have garnered 27 out of a possible 430 points, using 118 turns.
 
 > z
 
@@ -641,7 +630,7 @@ OK
 
 > score
 
-You have garnered 27 out of a possible 430 points, using 113 turns.
+You have garnered 27 out of a possible 430 points, using 120 turns.
 
 > quit keys
 
@@ -682,16 +671,29 @@ You're outside grate.
 
 The grate is locked.
 
-> quit
+> seed -123
 
-Do you really want to quit now?
+Seed set to -123
 
-> yes
+You're outside grate.
+
+The grate is locked.
+
+> no
 
 OK
 
-You scored 27 out of a possible 430, using 121 turns.
+Are you trying to get into the cave?
+
+> quit
+
+Please answer the question.
+
+Are you trying to get into the cave?
+
+> yes
+
+I am prepared to give you a hint, but it will cost you 2 points.
 
-You are obviously a rank amateur.  Better luck next time.
+Do you want the hint?
 
-To achieve the next higher rating, you need 19 more points.