Skip to content
Discussion options

You must be logged in to vote

The function that actually handles commands is ResolveNextName. It's the first modified function in this file: https://github.com/KVonGit/zork1/blob/quest5_port/Quest5_Port/HACKS.aslx

In that hack, it's checking if the room or any objects have an ACTION attribute. If something has an ACTION attribute which returns true, nothing else will run after that point.

You could use your own conditional checks at every point where I have HANDLED_BY_ACTION = Eval(blahblahblah). (NOTE: I might need to add an extra step when there is text in the command, like ASK BOB ABOUT SO AND SO. I have not tested that at all yet.)


There might a better approach, but this seems to work, as far as I've tested things.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@euclidaeun
Comment options

@KVonGit
Comment options

@euclidaeun
Comment options

@KVonGit
Comment options

Answer selected by euclidaeun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants