I was wondering about having a helpful parser tell you where items are, in case they are missing and you should know where they are. But the below code doesn’t seem to work–parser error rules don’t remember nouns.
[code]room 1 is a room. room 2 is east of room 1. The macguffin is in room 2.
Rule for printing a parser error when the latest parser error is the can’t see any such thing error:
say “The [noun] is actually in [location of the noun], so you can’t do that here.”
test mac with “x mac/e/x mac/w/x mac”
I could use scope to reject doing something physical with a noun, but this seems like overkill. I was wondering if there was a more sensible way to finagle things I was overlooking.
Thanks for any suggestions!