Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong message when trying to drop something that's inside a closed, transparent container #9

Open
eriktorbjorn opened this issue Aug 21, 2019 · 0 comments

Comments

@eriktorbjorn
Copy link

eriktorbjorn commented Aug 21, 2019

I can't reproduce this in any of the Zork games, as far as I know, but if I add TRANSBIT to the sack in Zork I, I can get the following responses:

>DROP LUNCH
The lunch is closed.

>DROP GARLIC
The clove of garlic is closed.

That's because of this case in IDROP:

	       (<AND <NOT <IN? ,PRSO ,WINNER>>
		     <NOT <FSET? <LOC ,PRSO> ,OPENBIT>>>
		<TELL "The " D ,PRSO " is closed." CR>
		<RFALSE>)

It should, of course, be <TELL "The " D <LOC ,PRSO> " is closed." CR> instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant