the-infocom-files / zork2

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

You can't put objects in the chasm #13

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

CHASM-FCN has the following case:

           (<AND <VERB? PUT> <EQUAL? ,PRSI ,PSEUDO-OBJECT>>
        <TELL
"The " D ,PRSO " drops out of sight into the chasm." CR>
        <REMOVE ,PRSO>)>>

But it doesn't work:

>PUT SWORD IN CHASM
You can't do that.

>DROP SWORD DOWN CHASM
You can't do that.

The problem is probably that it checks if PRSI is PSEUDO-OBJECT. It should check if it's CHASM. Maybe the chasm started out as a pseudo object, but was promoted to a real object during development for reasons unknown?