From: Eric S. Raymond Date: Wed, 14 Jun 2017 20:53:45 +0000 (-0400) Subject: Add test for feeding ogre. X-Git-Tag: 1.1~316 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c818a10f2875b8b9f63c6cf6d5ef1389e37bf857;p=open-adventure.git Add test for feeding ogre. --- diff --git a/tests/ogrehint.chk b/tests/ogrehint.chk index 7f20576..52520ca 100644 --- a/tests/ogrehint.chk +++ b/tests/ogrehint.chk @@ -408,6 +408,10 @@ There is a bottle of water here. OK +> take food + +OK + > plugh >>Foof!<< @@ -674,32 +678,27 @@ There is a little axe here. 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 -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 -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. -To achieve the next higher rating, you need 20 more points. +To achieve the next higher rating, you need 16 more points. diff --git a/tests/ogrehint.log b/tests/ogrehint.log index aee63dd..1d81481 100644 --- a/tests/ogrehint.log +++ b/tests/ogrehint.log @@ -71,7 +71,7 @@ s s n in -take water +take food plugh on plover @@ -105,6 +105,6 @@ take axe throw axe take axe throw axe -n +feed ogre y y