the-infocom-files / starcross

Starcross
5 stars 3 forks source link

"LOOK IN AIRLOCK DOOR" doesn't check which side you're on #43

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

From AIRLOCK-DOORS-FCN:

           (<VERB? LOOK-INSIDE>
        <COND (<NOT <FSET? ,PRSO ,OPENBIT>>
               <TELL
"The " D ,PRSO " is closed and there is no viewport." CR>)
              (<==? ,PRSO ,AIRLOCK-INNER>
               <TELL "You see the bridge." CR>)
              (,DOCKED?
               <TELL
"You see the red docking area of the artifact, including
a dome with an airlock." CR>)
              (ELSE <DESCRIBE-SPACE>)>)>>

This is used as action routine for AIRLOCK-INNER and AIRLOCK-OUTER. They are local global objects, so the code is reachable from SPACESHIP-BRIDGE, SPACESHIP-AIRLOCK, and DEEP-SPACE.

That means for instance that if you are standing in the Bridge and "LOOK IN AIRLOCK DOOR", the game responds with "You see the bridge."

It should check which side you're looking from.