the-infocom-files/planetfall

Issues when removing a fromitz board from the access panel

Opened this issue · 0 comments

BOARD-F is written so that when you take SECOND-BOARD (which is always in the access panel), it either gives you CRACKED-BOARD or FRIED-BOARD. I assume it was done this way so that you won't see the board is damaged until you remove it.

Which board you get depends on ITS-CRACKED:

			     (T
			      <TELL
"The fromitz board slides out of the panel, producing an empty socket
for another board." CR>
			      <REMOVE ,SECOND-BOARD>
			      <SETG ACCESS-PANEL-FULL <>>
			      <COND (<EQUAL? ,ITS-CRACKED T>
				     <MOVE ,CRACKED-BOARD ,ADVENTURER>)
				    (T
				     <MOVE ,FRIED-BOARD ,ADVENTURER>)>
			      <THIS-IS-IT ,FRIED-BOARD>)>)

I didn't notice until now, but this will set "it" to the fried board, even if you got the cracked board. It should call THIS-IS-IT with the board you got.

The ITS-CRACKED variable is <> by default, because it's the fried board that's in the access panel. The fried board is in a cardboard box. It's set to T in ACCESS-PANEL if you put the cracked board in the panel. But it's not set to <> if you put the fried board in the panel. So now you can get the fried board to vanish:

>LOOK IN ACCESS PANEL
The access panel contains:
  A first seventeen-centimeter fromitz board
  A third seventeen-centimeter fromitz board
  A fourth seventeen-centimeter fromitz board

>INVENTORY
You are carrying:
  A fried seventeen-centimeter fromitz board
  A cracked seventeen-centimeter fromitz board

>PUT CRACKED BOARD IN ACCESS PANEL
The card clicks neatly into the socket.

>LOOK IN ACCESS PANEL
The access panel contains:
  A second seventeen-centimeter fromitz board
  A first seventeen-centimeter fromitz board
  A third seventeen-centimeter fromitz board
  A fourth seventeen-centimeter fromitz board

>TAKE SECOND BOARD
The fromitz board slides out of the panel, producing an empty socket for another
board.

>PUT FRIED BOARD IN ACCESS PANEL
The card clicks neatly into the socket.

>TAKE SECOND BOARD
The fromitz board slides out of the panel, producing an empty socket for another
board.

>EXAMINE IT
I don't see what you are referring to.

>INVENTORY
You are carrying:
  A cracked seventeen-centimeter fromitz board

>LOOK IN PANEL
The access panel contains:
  A first seventeen-centimeter fromitz board
  A third seventeen-centimeter fromitz board
  A fourth seventeen-centimeter fromitz board

So now the fried board is gone from the game (which is why I couldn't examine "IT").