the-infocom-files / trinity

Trinity
24 stars 5 forks source link

Wrong response when examining the sky while in orbit #87

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
Earth Orbit, in a soap bubble

You're five hundred miles above a sea of ice, hurtling in profound silence over
the Arctic atmosphere. Layers of crimson and violet describe the curve of the
horizon, blending imperceptibly into a black sky crowded with stars.

You watch helplessly as the white door dwindles to a distant speck, vanishing at
last between the horns of the rising moon.

>EXAMINE SKY
The sky are remarkably bright and numerous.

Far ahead, a satellite drifts into view.

The SKY-F routine calls STARS-F like this:

<ROUTINE SKY-F ()
     <COND (<IS? ,HERE ,INDOORS>
        <CANT-SEE-FROM-HERE ,SKY>
        <RFATAL>)
           (<HERE? IN-ORBIT ON-SAT>
        <COND (<STARS-F>
               <RTRUE>)>
        <RFALSE>)>

And STARS-F will print the following:

           (<VERB? EXAMINE LOOK-INSIDE LOOK-UP>
        <TELL CTHEO
" are remarkably bright and numerous." CR>
        <RTRUE>)

Instead of CTHEO it should probably use CTHE ,STARS.

eriktorbjorn commented 4 years ago

For another sky-related issue, see https://github.com/the-infocom-files/trinity/issues/20, but I decided to make this one a separate issue after some back and forth.