Open eriktorbjorn opened 4 years ago
Bug reports that concern issues handled by this pull request:
https://github.com/the-infocom-files/zork2/issues/46 https://github.com/the-infocom-files/zork2/issues/47 https://github.com/the-infocom-files/zork2/issues/48 https://github.com/the-infocom-files/zork2/issues/49
Also, https://github.com/the-infocom-files/zork2/issues/50 describes a related bug that is not handled here.
This is just my attempt at fixing or mitigating various balloon glitches.
CNTFCN
to prevent taking burning objects from the receptacle. It seems like the more elegant solution, if you ask me, and it means that it doesn't make any difference whether or not you are inside the balloon.Known issues:
CNTFCN
doesn't prevent implicit taking (e.g. "READ NEWSPAPER"). I don't think it can be handled by any action routine, so to get around it any object burned inside the receptacle automatically getsTRYTAKEBIT
. No attempt is made at clearing the bit afterwards. (Doing so would probably require changing code that's currently inV-POUR-ON
in zork-substrate.) Still, it seems better than the old way, which was to removeTAKEBIT
andREADBIT
from the object.TAKEBIT
from objects burning in the receptacle, I've probably opened up for frying them with the wizard's wand, thus removing them. Oops! And we can probably filch them, too. Double oops!