the-infocom-files / trinity

Trinity
23 stars 5 forks source link

Map/direction errors in the giant sundial area #7

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

This bug aims to track map/direction bugs in the area with the giant sundial.

Since you can "flip" the world the game uses the routines SAY-EAST and SAY-WEST to print the correct direction. But there is at least one case where it doesn't, and that's IN-GARDEN-F:

     <COND (<EQUAL? .CONTEXT ,M-LOOK>
        <TELL "A " D ,GFENCE
" protects the neat rows of herbs from predators. The only exit is the">
        <OPEN-CLOSED ,GARDEN-DOOR>
        <TELL " of the " D ,COTTAGE ", leading west.|
|
Another giant " D ,TS4 " has taken root in a " D ,PATCH>

When the world is flipped, the door is actually to the east. So it should use SAY-WEST here.

eriktorbjorn commented 4 years ago

DOCKSIDE-F has a similar bug, which surprised me:

     <COND (<EQUAL? .CONTEXT ,M-LOOK>
        <DESCRIBE-DOCKSIDE>
        <TELL CR
"Footpaths wander north, west and northwest. Turning south, you see a magnificent "
D ,HEDGE " growing in an unbroken wall to the " D ,STYX "'s edge." CR>
        <RTRUE>)

The the world is flipped, the exits are of course to the north, east and northeast. Again, <SAY-WEST> to the rescue...