the-infocom-files / zork2

Zork II: The Wizard of Frobozz
8 stars 4 forks source link

You can fill the pot from outside the bucket #30

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago
>TAKE WATER
You'll need to get in the bucket to reach it.

>FILL POT
There is nothing to fill it with.

>FILL POT WITH WATER
The teapot is now full of water.

>ENTER BUCKET
The bucket descends and comes to a stop.

Circular Room, in the wooden bucket
This is a damp circular room, whose walls are made of brick and mortar. The roof
of this room is not visible, but there appear to be some etchings on the walls.
There is a passageway to the west.

I guess that has to be fixed somewhere in WATER-FCN. Probably around here:

              (<IN? ,TEAPOT ,WINNER>
               <COND (<NOT <FIRST? ,TEAPOT>>
                  <COND (<EQUAL? ,HERE ,POOL-ROOM>
                     <MOVE ,SALTY-WATER ,TEAPOT>)
                    (T 
                     <MOVE ,WATER ,TEAPOT>)>
                  <TELL "The teapot is now full of water." CR>)
                 (T
                  <TELL "The teapot isn't currently empty." CR>
                  <RTRUE>)>)