the-infocom-files/zork1

Objects inside invisible objects can still be accessed

Opened this issue · 0 comments

While I was testing something else, I accidentally stumbled over this response:

>GET
(stiletto)
The thief swings it out of your reach.

But the thief wasn't in the room. Or was he? Apparently the thief sometimes enters the room but stays invisible. And that's probably what happened here.

The best way to test this is probably to use the -o flag in Frotz to monitor object movement. Doing that, I was able to reproduce it:

>LOOK
Dam
You are standing on the top of the Flood Control Dam #3, which was quite a
tourist attraction in times far distant. There are paths to the north, south,
and west, and a scramble down.
The water level behind the dam is low: The sluice gates have been opened. Water
rushes through the dam and downstream.
There is a control panel here, on which a large metal bolt is mounted. Directly
above the bolt is a small green plastic bubble which is glowing serenely.
   @move_obj tour guidebook thief
   @move_obj thief Dam

>GET
(stiletto)
The thief swings it out of your reach.
   @move_obj thief Torch Room

I haven't tried to figure out any way of preventing this.