Add test for feeding ogre.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 14 Jun 2017 20:53:45 +0000 (16:53 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 14 Jun 2017 20:53:45 +0000 (16:53 -0400)
tests/ogrehint.chk
tests/ogrehint.log

index 7f205762f4fcce6fe842332e0878dc8ab15880c1..52520ca12ee8ba8bfadaf6183b61841ed2f870a1 100644 (file)
@@ -408,6 +408,10 @@ There is a bottle of water here.
 
 OK
 
 
 OK
 
+> take food
+
+OK
+
 > plugh
 
 >>Foof!<<
 > plugh
 
 >>Foof!<<
@@ -674,32 +678,27 @@ There is a little axe here.
 
 A formidable ogre bars the northern exit.
 
 
 A formidable ogre bars the northern exit.
 
-> n
+> feed ogre
 
 
-The ogre snarls and shoves you back.
-
-You are in a large chamber with passages to the west and north.
+The ogre doesn't appear to be hungry.
 
 
-There is a little axe here.
+Do you need help dealing with the ogre?
 
 
-A formidable ogre bars the northern exit.
+> n
 
 
-Do you need help dealing with the ogre?
+OK
 
 > y
 
 
 > y
 
-I am prepared to give you a hint, but it will cost you 4 points.
-
-Do you want the hint?
+Sorry, I don't know the word "Y".
 
 > y
 
 
 > y
 
-There is nothing the presence of which will prevent you from defeating
-him; thus it can't hurt to fetch everything you possibly can.
+Sorry, I don't know the word "Y".
 
 
 
 
-You scored 101 out of a possible 430, using 103 turns.
+You scored 105 out of a possible 430, using 106 turns.
 
 Your score qualifies you as a novice class adventurer.
 
 
 Your score qualifies you as a novice class adventurer.
 
-To achieve the next higher rating, you need 20 more points.
+To achieve the next higher rating, you need 16 more points.
index aee63dd4735d88c18ccb2439a88febcfa1597718..1d814816b93db0e84f1aa4eb63e06effbd4df685 100644 (file)
@@ -71,7 +71,7 @@ s
 s
 n
 in
 s
 n
 in
-take water
+take food
 plugh
 on
 plover
 plugh
 on
 plover
@@ -105,6 +105,6 @@ take axe
 throw axe
 take axe
 throw axe
 throw axe
 take axe
 throw axe
-n
+feed ogre
 y
 y
 y
 y