Open eriktorbjorn opened 4 years ago
One oddity about the leaking case that I didn't bother filing as a separate bug because it may be deliberate:
If you drill a hole in the case while you're underwater, the stamps are ruined immediately. See GLASS-CASE-F
:
(<VERB? DRILL>
<COND (<AND <IN? ,PLAYER ,WRECK-5>
<NOT ,WRECK-5-FLOODED>>
<SETG WATER-IN-CASE 0>
<TELL "The water pours out of the hole." CR>)
(T
<SETG WATER-IN-CASE 10>
<DISABLE <INT I-CASE-LEAK>>
<FSET ,STAMPS ,RMUNGBIT>
<TELL "Water pours into the case, ruining the stamps." CR>)>
<ADD-HOLE ,GLASS-CASE>)
However, going underwater while there is an unplugged hole in the case causes the water to leak in just as slowly as if the case was still just cracked. That seems a bit inconsistent.
When the glass case is leaking, and you're under water, it will call the
I-CASE-LEAK
timer to increase the water level in the case. EnteringWRECK-5
will disable the timer, if the room is still filled with air. SeeWRECK-5-F
:Opening the door floods the room, but it doesn't restart the timer. See
AIRTIGHT-DOOR-F
:If you take the leaking case into
WRECK-6
orWRECK-10
, the timer is restarted:So something like that should presumably be added to
AIRTIGHT-DOOR-F
as well.