the-infocom-files / trinity

Trinity
24 stars 5 forks source link

"EXAMINE SHAFT" in The Wabe prints no response #71

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
The Wabe

This grassy clearing is only twenty feet across, and perfectly circular. Paths
wander off in many directions through the surrounding thicket.

A shaft of golden sunlight falls across a handsome antique sundial, erected at
the exact center of the clearing.

>EXAMINE SHAFT

>

At first it looks like it ought to work. This is what DIAL-F does:

           (<OR <NOUN-USED? ,W?SHAFT>
            <ADJ-USED? ,W?GOLDEN>>
        <USELESS>
        <RTRUE>)>

But the USELESS routine specifically does nothing if the action is EXAMINE:

<ROUTINE USELESS ("AUX" OBJ)
     <COND (<VERB? EXAMINE>
        <RFALSE>)
           (<THIS-PRSO?>
        <SET OBJ ,PRSO>)
           (T
        <SET OBJ ,PRSI>)>
     <YOU-DONT-NEED .OBJ>
     <RFATAL>>