-
Notifications
You must be signed in to change notification settings - Fork 0
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
exam 1.
broken if there is a container on the ground
#1
Comments
nb this is not a porting bug -- the wrong behavior also exists in cproph |
and moreover the object doesn't even have to be on the ground; it will also do this if it is the 1st item in your inventory. a clue in the helpfile: Examine: is short for 'LOOK container' followed by 'LOOK IN container'. I suspect that 'look in' and 'look' have different semantics for resolving '1.', '2.' -- and that exam is just rote calling out to the 'look' code, twice. I think the correct behavior is for 'exam' to resolve 1., 2., according to some logic (probably the same as LOOK IN) and then call out to the look code per object, instead of passing along a string rep. of the command. |
Your theory is indeed correct and I agree with your suggestion, thanks The slight complication is that
I'm loath to rip it out (though not sure about its value) - I guess for now I could pull it into a |
#!prompt [3561/3441H] [2076/2021M] [327/656V] NESWU>
drop remains
You drop the bloodied remains of Moriar.
#!prompt [3561/3441H] [2076/2021M] [327/656V] NESWU>
exam 1.
[most of my desc omitted for brevity]
[Floating] Peldane Artifact
The bloodied remains of Moriar contains:
( 7) a shot of absinthe
#!prompt [3561/3441H] [2076/2021M] [327/656V] NESWU>
It appears that '1.' is referring both to me, and also the first container in the room.
The text was updated successfully, but these errors were encountered: