Open eriktorbjorn opened 4 years ago
Actually, a CONTFCN
doesn't work since it doesn't cover implicit taking. So "READ NEWSPAPER" would still be able to take the burning newspaper. Even if you clear READBIT
. See https://github.com/the-infocom-files/zork2/issues/50 for another example.
This seems like a shortcoming of CONTFCN
to me.
Also, if we don't clear TAKEBIT
from the burning object, we probably open up to using the wizard's wand to filch or fry the object.
When putting objects in the receptacle, the object's
NDESCBIT
is cleared, so if we want "LOOK IN RECEPTACLE" to work, the receptacle probably has to handle that action by itself.The
BALLOON-BURN
function clears bothTAKEBIT
andREADBIT
, probably to prevent both explicit and implicit taking of the object. Maybe that could be handled by aCONTFCN
instead, similar to how the bucket does it? That way you shouldn't have to fiddle with the object's bits like that.