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

SAILOR probably shouldn't have "footpad" as one of its synonyms (breaks Zork II) #10

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

Comments

@eriktorbjorn
Copy link

eriktorbjorn commented Aug 22, 2019

This object is defined in globals.zil:

<OBJECT SAILOR
	(IN GLOBAL-OBJECTS)
	(SYNONYM SAILOR FOOTPAD AVIATOR)
	(DESC "sailor")
	(FLAGS NDESCBIT)
	(ACTION SAILOR-FCN)>

Unfortunately, it clashes with Zork II's FOOTPAD obejct:

<OBJECT FOOTPAD
	(IN GLOBAL-OBJECTS)
	(SYNONYM FOOTPAD)
	(DESC "footpad")
	(ACTION FOOTPAD-F)>

<ROUTINE FOOTPAD-F ()
	 <COND (<VERB? EXAMINE>
		<TELL "A footpad is a thief." CR>)>>

In the released version, you can ask the game what a footpad is:

>WHAT IS A FOOTPAD
A footpad is a thief.

But in Zork II compiled against zork-substrate, you instead get:

>WHAT IS A FOOTPAD
Which footpa do you mean, the footpad or the sailor?
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