the-infocom-files / seastalker

Seastalker
3 stars 3 forks source link

Slightly misleading message for "LOOK BEHIND SUB" #77

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
(west walkway)
You're at a work counter, next to the control gear used to operate the test
tank.
The test tank (which is now empty of sea water) is located in a large work room,
just south of your laboratory, with concrete-block walls on three sides and a
high metal roof. Most of its floor is dug out and lined with steel, to form the
huge tank used for developing and testing underwater gear and the pilot models
of your submarine craft.
There's a walkway around the tank on three sides -- north, west and south. On
the east side, a steel gate forms the wall of the room.

>LOOK BEHIND SUB
You can see the test tank outside.

But it's not outside, because you are already outside the sub.

It's probably caused by this in LOCAL-SUB-F:

       (<OR <VERB? LOOK-BEHIND>
        <AND <VERB? LOOK-OUTSIDE> <EQUAL? ,HERE ,SUB>>>
    <PERFORM ,V?LOOK-OUTSIDE ,SUB-WINDOW>
    <RTRUE>)

At some point, SUB-WINDOW-F used to check <EQUAL? ,HERE, SUB> but it's been commented out.

eriktorbjorn commented 4 years ago

LOCAL-SUB-F tests the player's location for the LOOK-INSIDE action, so maybe it should do for LOOK-BEHIND as well?