Open eriktorbjorn opened 4 years ago
If you turn off the flashlight, and it's your only light source, the game will tell you if the room goes dark:
>TURN OFF FLASHLIGHT Okay, the flashlight is now off. It is now too dark to see.
But if you drop your only light source in the catacombs, you get no such message:
>DROP FLASHLIGHT With a splash, the flashlight is lost forever. >LOOK It's too dark to see a thing.
Turning off the flashlight is handled by V-OFF:
V-OFF
<COND (<FSET? ,PRSO ,ONBIT> <FCLEAR ,PRSO ,ONBIT> <TELL "Okay," T ,PRSO " is now off." CR> <NOW-DARK?>) (T <TELL "It isn't on!" CR>)>)
Dropping objects in the catacombs is handled by SPECIAL-DROP (called from V-DROP and V-THROW):
SPECIAL-DROP
V-DROP
V-THROW
<COND (<IN-CATACOMBS> <REMOVE ,PRSO> <TELL "With a splash," T ,PRSO " is lost forever." CR>)
So it should presumably call <NOW-DARK?> here too.
<NOW-DARK?>
If you turn off the flashlight, and it's your only light source, the game will tell you if the room goes dark:
But if you drop your only light source in the catacombs, you get no such message:
Turning off the flashlight is handled by
V-OFF
:Dropping objects in the catacombs is handled by
SPECIAL-DROP
(called fromV-DROP
andV-THROW
):So it should presumably call
<NOW-DARK?>
here too.