Nothing but FOO can start a magic-word sequence,
100% coverage ans oldcompare passes.
This commit is contained in:
parent
20cb8b9ffb
commit
0a1f5dbb43
3 changed files with 17 additions and 4 deletions
|
@ -194,6 +194,11 @@ static phase_codes_t bigwords(vocab_t id)
|
|||
{
|
||||
int foobar = abs(game.foobar);
|
||||
|
||||
if ((foobar == WORD_EMPTY) && (id == FIE || id == FOE || id == FOO || id == FUM)) {
|
||||
rspeak(NOTHING_HAPPENS);
|
||||
return GO_CLEAROBJ;
|
||||
}
|
||||
|
||||
if ((foobar == WORD_EMPTY && id == FEE) ||
|
||||
(foobar == FEE && id == FIE) ||
|
||||
(foobar == FIE && id == FOE) ||
|
||||
|
|
|
@ -13,6 +13,14 @@ Seed set to 1838473132
|
|||
|
||||
You're in front of building.
|
||||
|
||||
> foo
|
||||
|
||||
Nothing happens.
|
||||
|
||||
> say foo
|
||||
|
||||
Nothing happens.
|
||||
|
||||
> in
|
||||
|
||||
You are inside a building, a well house for a large spring.
|
||||
|
@ -1863,7 +1871,7 @@ OK
|
|||
What's the matter, can't you read? Now you'd best start over.
|
||||
|
||||
>
|
||||
You scored 253 out of a possible 430, using 313 turns.
|
||||
You scored 253 out of a possible 430, using 315 turns.
|
||||
|
||||
You have reached "Junior Master" status.
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
n
|
||||
seed 1838473132
|
||||
# Test isolated 'foo' word
|
||||
#foo
|
||||
#say foo
|
||||
foo
|
||||
say foo
|
||||
in
|
||||
# Say bigwords ending with foo when not in Giant's Room
|
||||
say fee
|
||||
|
@ -48,7 +48,7 @@ say fie
|
|||
say foe
|
||||
#say fum
|
||||
z
|
||||
#find foo
|
||||
find foo
|
||||
z
|
||||
take lamp
|
||||
xyzzy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue