projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify code, improve test coverage.
[open-adventure.git]
/
tests
/
illformed.chk
diff --git
a/tests/illformed.chk
b/tests/illformed.chk
index 17273140347dc9c054456687bd6ba9ab1f5b81b8..79b6cd74db05ee511235244da5d95a9be48ab06c 100644
(file)
--- a/
tests/illformed.chk
+++ b/
tests/illformed.chk
@@
-31,26
+31,43
@@
Seed set to 1801426495
You're in front of building.
You're in front of building.
+> stream
+
+You are in a valley in the forest beside a stream tumbling along a
+rocky bed.
+
+> take water
+
+You have nothing in which to carry it.
+
> 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.
> 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
.
+You're in
valley
.
> enter stream
Your feet are now wet.
> enter stream
Your feet are now wet.
+> try three words
+
+Please stick to 1- and 2-word commands.
+
> listen
The stream is gurgling placidly.
> listen
The stream is gurgling placidly.
+> carry
+
+Carry what?
+
> forward
I am unsure how you are facing. Use compass points or nearby objects.
> forward
I am unsure how you are facing. Use compass points or nearby objects.
-You're in
front of building
.
+You're in
valley
.
> eat
> eat
@@
-61,6
+78,10
@@
Eat what?
You have taken a drink from the stream. The water tastes strongly of
minerals, but is not unpleasant. It is extremely cold.
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
> find keys
I can only tell you what you see as you move about and manipulate
@@
-77,15
+98,10
@@
OK
> in
> 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.
+I don't know in from out here. Use compass points or name something
+in the general direction you want to go.
-There is food here.
-
-There is a bottle of water here.
+You're in valley.
> listen
> listen
@@
-93,15
+109,16
@@
The stream is gurgling placidly.
> keys
> keys
-What do you want to do with the keys?
+I see no keys here.
> find keys
> find keys
-I believe what you want is right here with you.
+I can only tell you what you see as you move about and manipulate
+things. I cannot tell you where remote things are.
> unlock keys
> unlock keys
-
You can't unlock the keys
.
+
I see no keys here
.
> find foo
> find foo
@@
-119,6
+136,15
@@
Carry what?
Blasting requires dynamite.
Blasting requires dynamite.
+> take bottle
+
+I see no bottl here.
+
+> drink water
+
+You have taken a drink from the stream. The water tastes strongly of
+minerals, but is not unpleasant. It is extremely cold.
+
> throw axe
I see no axe here.
> throw axe
I see no axe here.
@@
-153,35
+179,47
@@
I see no urn here.
> eat keys
> eat keys
-Don't be ridiculous!
+I see no keys here.
+
+> discard keys
+
+I see no keys here.
+
+> drink keys
+
+I see no keys here.
> off keys
> off keys
-I
'm afraid I don't understand
.
+I
see no keys here
.
> break keys
> break keys
-I
t is beyond your power to do that
.
+I
see no keys here
.
> wake keys
> wake keys
-Don't be ridiculous!
+I see no keys here.
> take keys
> take keys
-OK
+I see no keys here.
> feed keys
> feed keys
-I'm game. Would you care to explain how?
+I see no keys here.
+
+> fly keys
+
+I see no keys here.
> throw keys
> throw keys
-OK
+I see no keys here.
> eat food
> eat food
-Thank you, it was delicious!
+I see no food here.
> drink blood
> drink blood
@@
-189,11
+227,11
@@
I see no blood here.
> drink keys
> drink keys
-Don't be ridiculous!
+I see no keys here.
> light keys
> light keys
-I
'm afraid I don't understand
.
+I
see no keys here
.
> brief
> brief
@@
-206,45
+244,37
@@
Sorry, I don't know the word "FROB".
> read grate
> read grate
-
I'm afraid I don't understand
.
+
You're in valley
.
> grate
> grate
-What do you want to do with the grate?
+You're in valley.
> building
> 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.
+You're in front of building.
> on
> on
-Your lamp is now on.
+On what?
> xyzzy
> xyzzy
->>Foof!<<
+Nothing happens.
-
It is now pitch dark. If you proceed you will likely fall into a pit
.
+
You're in front of building
.
> take rod
> take rod
-OK
+I see no rod here.
> wave rod
> wave rod
-
Nothing happens
.
+
I see no rod here
.
> listen
> listen
-
All is silent
.
+
The stream is gurgling placidly
.
> quit
> quit
@@
-260,7
+290,9
@@
Read what?
> look
> look
-It is now pitch dark. If you proceed you will likely fall into a pit.
+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.
> news
> news
@@
-276,15
+308,9
@@
game. Saved games are now stored in much smaller files than before.
> go back
> go back
->>Foof!<<
-
-You're inside building.
+Sorry, but I no longer seem to remember how it was you got here.
-There are some keys on the ground here.
-
-There is a lamp shining nearby.
-
-There is a bottle of water here.
+You're in front of building.
> fuck
> fuck
@@
-304,11
+330,11
@@
Okay, "BOO".
> score
> score
-You have garnered 27 out of a possible 430 points, using
57
turns.
+You have garnered 27 out of a possible 430 points, using
66
turns.
-> quit
bottle
+> quit
keys
-Huh?
+I see no keys here.
> quit
> quit
@@
-318,7
+344,7
@@
Do you really want to quit now?
OK
OK
-You scored 27 out of a possible 430, using
59
turns.
+You scored 27 out of a possible 430, using
68
turns.
You are obviously a rank amateur. Better luck next time.
You are obviously a rank amateur. Better luck next time.