the-infocom-files / hollywoodhijinx

Hollywood Hijinx
3 stars 2 forks source link

The wax object can become visible #61

Open eriktorbjorn opened 2 years ago

eriktorbjorn commented 2 years ago

If you try to take the wax from a lit statuette (or empty an unlit one), the wax's NDESCBIT gets cleared:

>INVENTORY
You have a blue wax statuette (providing light), a note, a chipped peg, a brick
and a flashlight (providing light).

>TAKE WAX FROM STATUETTE
You'd burn your fingers.

>INVENTORY
You have a blue wax statuette (providing light), a note, a chipped peg, a brick
and a flashlight (providing light). Sitting on the blue wax statuette is a blue
candle wax.
eriktorbjorn commented 2 years ago

This happens because of this bit in CANDLE-F:

           (<VERB? TAKE>
        <FCLEAR ,PRSO ,NDESCBIT>
        <RFALSE>)>>

I'm not sure why it has to clear NDESCBIT at all, but it should probably only do it when the candle itself is PRSO.