the-infocom-files / amfv

A Mind Forever Voyaging
5 stars 2 forks source link

"ENTER BEDROOM" doesn't work from the Foyer #30

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

In the 2091 simulation, both the Master Bedroom and the Guest Room count as bedrooms. The Guest Room is to the east of the Foyer. But if you try to enter the bedroom from the foyer, this happens:

>LOOK
Foyer
This bright, airy hallway runs northwards from the living room to the apartment
door. Tall, arched entrances lead east and west, and the bath is down a few
steps to the southwest.

>ENTER BEDROOM
Den
A second fireplace fills the far wall of this homey space. Aside from a wall-
mounted entertainment center, all the furnishings are gone. An arched doorway
leads east.

That's because BEDROOM-OBJECT-F walks you in the wrong direction:

              (<EQUAL? ,HERE ,BATHROOM ,FOYER>
               <DO-WALK ,P?WEST>)

None of the other cases walk you to the east, so there has to be a separate case for FOYER here.