the-infocom-files/trinity

Moving the slider left/right doesn't work as intended when the walkie-talkie is flipped

Opened this issue · 1 comments

You can move the slider on the walkie-talkie left or right. When the walkie-talkie is normal, left means down five notches and right means up five notches. But when the walkie-talkie is flipped, it's supposed to be the other way around since the scale is now backwards according to this bit in SLIDER-F:

	       (<VERB? EXAMINE LOOK-ON READ>
		<PRSO-CALIBRATED>
		<COND (<IS? ,WTK ,FLIPPED>
		       <TELL ", all printed backwards">)>
		<NOW-SET-TO>
		<TELL N ,TFREQ ,PERIOD>
		<RTRUE>)

However, when it later checks if the slider is backwards it does this:

		<COND (<IS? ,PRSO ,FLIPPED>
		       <SET F T>)>

I.e. it checks if the slider is flipped, not the walkie-talkie. And the slider isn't among the objects that can be flipped:

<GLOBAL FLIPPERS:TABLE
	<PTABLE GNOMON CREDIT-CARD OCRANE BAD-CRANE PARASOL WTK
		SCOIN BCOIN 0>>

So as far as moving the slider to the left or right, the walkie-talkie is always considered to not be flipped.

One that bug has been fixed, the rest of the left/right logic seems to work correctly.