the-infocom-files/planetfall

Surprising I-MAGNET behavior

Opened this issue · 0 comments

One cruel thing about Planetfall is that if you carry an access card and the magnet at the same time, it will scramble the access card. But I was surprised at how it works:

<ROUTINE I-MAGNET ()
	 <COND (<IN? ,MAGNET ,ADVENTURER>
		<COND (<HELD? ,KITCHEN-CARD>
		       <FSET ,KITCHEN-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,SHUTTLE-CARD>
		       <FSET ,SHUTTLE-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,TELEPORTATION-CARD>
		       <FSET ,TELEPORTATION-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,UPPER-ELEVATOR-CARD>
		       <FSET ,UPPER-ELEVATOR-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,LOWER-ELEVATOR-CARD>
		       <FSET ,LOWER-ELEVATOR-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,MINI-CARD>
		       <FSET ,MINI-CARD ,SCRAMBLEDBIT>)
		      (<HELD? ,ID-CARD>
		       <FSET ,ID-CARD ,SCRAMBLEDBIT>)>)
	       (T
		<DISABLE <INT I-MAGNET>>)>
	 <RFALSE>>

I assumed it would scramble all cards in your inventory, but it seems it will only scramble the first one if finds. E.g. if you are carrying the kitchen access card it will scramble that one over and over, and leave the others alone.

I wonder if that's how it was intended. It doesn't make sense to me, though from a player point of view even scrambling just one card can be pretty crippling for you.

I can't compare it to Stationfall, because there's only one card to be scrambled there.