the-infocom-files/trinity

Strange failure message from the "POCKET" verb

Opened this issue · 0 comments

The "POCKET" verb works as a shortcut for "PUT object IN POCKET", but when it fails it can print odd messages. This is at the start of the game:

>GET COIN FROM POCKET
You take the seven-sided coin out of your pocket.

>DROP COIN
You put down the seven-sided coin.

>POCKET COIN
Maybe you should take the seven-sided coin out of the Palace Gate first.

The verb is defined like this:

<SYNTAX POCKET OBJECT (HELD CARRIED) = V-POCKET PRE-POCKET>

Perhaps we should change that to:

<SYNTAX POCKET OBJECT (HELD CARRIED HAVE) = V-POCKET PRE-POCKET>

Then the parser would print "You're not holding a seven-sided coin." instead.