the-infocom-files / cutthroats

Cutthroats
3 stars 3 forks source link

Examining the opened drill doesn't always show you if there's a battery inside #63

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>OPEN DRILL
Opening the portable drill reveals a C battery.

>EXAMINE DRILL
This waterproof wonder features a permanent bit, a panel which is open,
revealing space for a C battery, and a switch which is in the "off" position.

This is because DRILL-F only checks if there's a working battery inside. If the battery has been drained or damaged, it doesn't show:

        <COND (<FSET? ,DRILL ,OPENBIT>
               <TELL "open">
               <COND (,DRILL-POWERED
                  <TELL " with a C battery inside">)
                 (T <TELL ", revealing space for a C battery">)>)
              (T <TELL "closed">)>

For reference, the metal detector does it differently even though that too only can contain the appropriate battery as far as I can tell.