the-infocom-files / cutthroats

Cutthroats
3 stars 3 forks source link

Once Pete starts preparing food, it's visible in both galleys #47

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

This is the bare bones description of the Mary Margaret's galley:

>LOOK
Galley
You are in the Mary Margaret's galley. A stove and a small table are the
fixtures here. A ladder leads up through the deck to the wheelhouse for feeding
the captain in rough weather.

Once the delivery boy arrives, water will become available:

>LOOK
Galley
You are in the Mary Margaret's galley. A stove and a small table are the
fixtures here. Water is available. A ladder leads up through the deck to the
wheelhouse for feeding the captain in rough weather.

And, finally, when Pete arrives there will be food on the stove:

>LOOK
Galley
You are in the Mary Margaret's galley. A stove and a small table are the
fixtures here. A pot of stew is simmering on the stove. Water is available. A
ladder leads up through the deck to the wheelhouse for feeding the captain in
rough weather.
Pete the Rat is watching over his stew.

At this point, if I go to the other galley, this is what I'll see:

>LOOK
Galley
You are in the Night Wind's galley. A stove and a small table are the fixtures
here. A pot of stew is simmering on the stove. A ladder leads up through the
deck to the wheelhouse for feeding the captain in rough weather.

>EAT STEW
You'll have to wait for Pete to finish fixing it.

Note that there is no water, but there is food.

This is what GENERIC-GALLEY-F does:

           (<==? .RARG ,M-LOOK>
        <TELL "You are in the ">
        <COND (<==? .PLACE ,MM-GALLEY>
               <TELL D ,SALVAGER>)
              (T <TELL D ,TRAWLER>)>
        <TELL
"'s galley. A stove and a small table are the fixtures here.">
        <COND (<IN? ,FOOD ,STOVE>
               <TELL-STEW-ON>)>
        <COND (<AND ,WATER-DELIVERED
                <==? <GETP ,SHIP-CHOSEN ,P?LINE>
                 <GETP ,PLACE ,P?LINE>>>
               <TELL " Water is available.">)>
        <TELL
" A ladder leads up through the deck to the wheelhouse for
feeding the captain in rough weather." CR>)

The stove is shared between the two ships, and is moved when you enter MM-PORT-DECK-F and NW-STARBOARD-DECK-F, i.e. when you board the ships. Perhaps this is where it should remove the food if you're on the wrong ship?