the-infocom-files / zork2

Zork II: The Wizard of Frobozz
8 stars 4 forks source link

Unused (?) case in GLOBAL-UNICORN-FCN #12

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

There is this code in GLOBAL-UNICORN-FCN:

           (<VERB? FIND FOLLOW>
        <COND (<FSET? ,UNICORN ,TOUCHBIT>
               <TELL "I don't know where it is now." CR>)
              (T <TELL
"The unicorn is a mythical beast." CR>)>)

But I can't see that the unicorn's TOUCHBIT is set anywhere. Judging by the messages, I think it would make sense to set it once you've seen the unicorn, i.e. in I-GARDEN whenever the unicorn is moved to GARDEN-NORTH, and in I-UNICORN. I think those are the only spots.

eriktorbjorn commented 5 years ago

Though perhaps I'm wrong about the intention? The InvisiClues for the game quotes "The unicorn is a mythical beast."

Perhaps the unicorn should get the TOUCHBIT only after I-UNICORN has run, because as far as I know the unicorn stops appearing then.

So until then "FIND UNICORN" or "FOLLOW UNICORN" would give the very vague hint "The unicorn is a mythical beast.", and after it stops appearing you would get "I don't know where it is now."