359 lines
3.4 KiB
Text
359 lines
3.4 KiB
Text
## Test processing of variuus fee fie foe foo fum cases.
|
|
# SPDX-FileCopyrightText: Eric S. Raymond
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# How thry're supposed to work:
|
|
#
|
|
# 1. The word "fum", from the famous phrase, "fee fie foe fum" is treated
|
|
# as a red herring for the player and is handled differently in the
|
|
# logic of the game
|
|
#
|
|
# 2. Each word of the magic phrase and the word "fum" can be preceded by
|
|
# the word "say", so "say fee", "say fie", etc. will work, as
|
|
# well. For "say fum", 'Okay, "FUM"' should NOT be the response,
|
|
# similar to what is seen when other non-magic words are uttered with
|
|
# "say"
|
|
#
|
|
# 3. The sequence is triggered by the first word "fee" only. If any of
|
|
# the other words of the phrase or "fum" are said before "fee",
|
|
# "nothing happens"
|
|
#
|
|
# 4. The phrase "fee fie foe foo" must be entered as four separate
|
|
# commands, in order, without interruption. A move, like "east" or a
|
|
# non-move, like "look", are both considered interruptions
|
|
#
|
|
# 5. Once the sequence has begun, if any of the words of the phrase,
|
|
# including a second "fee", are said out of order, or "fum" is spoken at
|
|
# all during the sequence, the player is admonished for not being able
|
|
# to read. The assumption here is the player at some point in the time
|
|
# had previously read the phrase, but then messes up the order and/or
|
|
# thinks "fum" was a part of the phrase when they attempt to speak
|
|
# it. The player then must say "fee" again to restart the sequence. And
|
|
# to clarify, a second "fee" in the sequence triggers the admonishment,
|
|
# it does not restart the sequence
|
|
#
|
|
n
|
|
seed 1838473132
|
|
# Test isolated 'foo' word
|
|
foo
|
|
say foo
|
|
in
|
|
# Say bigwords ending with foo when not in Giant's Room
|
|
say fee
|
|
say fie
|
|
say foe
|
|
say foo
|
|
z
|
|
# Say bigwords ending with fum when not in Giant's Room
|
|
say fee
|
|
say fie
|
|
say foe
|
|
say fum
|
|
z
|
|
find foo
|
|
z
|
|
take lamp
|
|
xyzzy
|
|
on
|
|
take rod
|
|
e
|
|
take cage
|
|
w
|
|
w
|
|
w
|
|
drop rod
|
|
take bird
|
|
take rod
|
|
w
|
|
free bird
|
|
wave rod
|
|
take necklace
|
|
drop rod
|
|
take bird
|
|
take rod
|
|
d
|
|
d
|
|
free bird
|
|
drop rod
|
|
drop cage
|
|
take cage
|
|
take bird
|
|
w
|
|
take coins
|
|
e
|
|
s
|
|
take jewelry
|
|
n
|
|
up
|
|
s
|
|
take gold
|
|
n
|
|
d
|
|
n
|
|
n
|
|
plugh
|
|
extinguish lamp
|
|
drop coins
|
|
drop jewelry
|
|
drop necklace
|
|
drop gold
|
|
plugh
|
|
on
|
|
s
|
|
take silver
|
|
s
|
|
sw
|
|
take axe
|
|
w
|
|
kill dragon
|
|
yes
|
|
drink blood
|
|
take rug
|
|
e
|
|
e
|
|
up
|
|
d
|
|
n
|
|
n
|
|
off
|
|
plugh
|
|
inven
|
|
drop rug
|
|
drop silver
|
|
out
|
|
s
|
|
w
|
|
n
|
|
take appendage
|
|
free bird
|
|
drop cage
|
|
listen
|
|
s
|
|
s
|
|
n
|
|
in
|
|
take water
|
|
plugh
|
|
on
|
|
plover
|
|
ne
|
|
take pyramid
|
|
s
|
|
plover
|
|
s
|
|
s
|
|
take rod
|
|
up
|
|
w
|
|
wave rod
|
|
drop rod
|
|
west
|
|
take diamonds
|
|
w
|
|
w
|
|
w
|
|
s
|
|
sw
|
|
se
|
|
s
|
|
kill machine
|
|
s
|
|
s
|
|
kill ogre
|
|
n
|
|
take ruby
|
|
s
|
|
w
|
|
n
|
|
n
|
|
n
|
|
nw
|
|
d
|
|
e
|
|
e
|
|
e
|
|
e
|
|
e
|
|
throw axe
|
|
take axe
|
|
n
|
|
n
|
|
n
|
|
off
|
|
plugh
|
|
drop ruby
|
|
drop diamonds
|
|
drop pyramid
|
|
plugh
|
|
on
|
|
s
|
|
s
|
|
u
|
|
n
|
|
n
|
|
d
|
|
bedquilt
|
|
throw axe
|
|
take axe
|
|
slab
|
|
s
|
|
d
|
|
water plant
|
|
u
|
|
w
|
|
u
|
|
reservoir
|
|
H'CFL
|
|
n
|
|
n
|
|
nw
|
|
u
|
|
u
|
|
u
|
|
u
|
|
ne
|
|
take ebony
|
|
sw
|
|
d
|
|
d
|
|
d
|
|
d
|
|
d
|
|
take water
|
|
s
|
|
s
|
|
s
|
|
s
|
|
d
|
|
s
|
|
d
|
|
water plant
|
|
u
|
|
drop appendage
|
|
e
|
|
d
|
|
get oil
|
|
|
|
u
|
|
w
|
|
d
|
|
climb
|
|
w
|
|
n
|
|
oil door
|
|
drop bottle
|
|
n
|
|
take trident
|
|
w
|
|
d
|
|
se
|
|
n
|
|
w
|
|
drop trident
|
|
drop ebony
|
|
drop axe
|
|
drop lantern
|
|
e
|
|
take emerald
|
|
w
|
|
take lamp
|
|
take axe
|
|
take ebony
|
|
take trident
|
|
nw
|
|
s
|
|
take vase
|
|
se
|
|
throw axe
|
|
take axe
|
|
e
|
|
take pillow
|
|
w
|
|
drop axe
|
|
ne
|
|
e
|
|
n
|
|
open clam
|
|
s
|
|
u
|
|
e
|
|
u
|
|
n
|
|
off
|
|
plugh
|
|
drop pillow
|
|
drop vase
|
|
drop trident
|
|
drop emerald
|
|
drop ebony
|
|
take keys
|
|
take food
|
|
plugh
|
|
on
|
|
s
|
|
d
|
|
w
|
|
d
|
|
n
|
|
d
|
|
d
|
|
take pearl
|
|
u
|
|
u
|
|
s
|
|
w
|
|
w
|
|
w
|
|
w
|
|
d
|
|
climb
|
|
w
|
|
get eggs
|
|
n
|
|
take bottle
|
|
n
|
|
w
|
|
d
|
|
sw
|
|
u
|
|
toss eggs
|
|
ne
|
|
ne
|
|
barren
|
|
in
|
|
feed bear
|
|
unlock chain
|
|
take chain
|
|
take bear
|
|
fork
|
|
ne
|
|
e
|
|
take spices
|
|
drop keys
|
|
fork
|
|
w
|
|
w
|
|
sw
|
|
free bear
|
|
inven
|
|
sw
|
|
sw
|
|
d
|
|
se
|
|
se
|
|
w
|
|
d
|
|
get oil
|
|
up
|
|
e
|
|
take axe
|
|
w
|
|
w
|
|
d
|
|
climb
|
|
w
|
|
# Now that we're at the Giant's Room, actual testing can start
|
|
fee
|
|
fie
|
|
foe
|
|
fum
|