An object’s short_name is a string or function that prints out its display name, like “Captain’s badge” in your example. An object’s name variable is the array of words that the parser matches with the object, like ‘captain’ ‘captain^s’ ‘badge’ in your example. (Carets replace apostrophes in words.) Your example might look something like:
Object captain_badge "captain's badge" RoomName
with name 'captain' 'captain^s' 'badge',
Leaving out one of the apostrophes in the name array would cause a lot of problems.
Yeah, including one too many apostrophes would kill the code. But my bug’s not a compile time. It’s part of a LOOK bug for a room description. It’s printing crazy stuff before the room and after. I’ve even got :
*** LOOK ERROR 2 99,46 *** or something like that one time when probing the code.
Huh, if it’s a runtime bug, then I have no idea. The only thing I can come up with is that PrintOrRun() is a total hack, and it may break in weird circumstances I’ve never personally run into; that’s pretty unlikely, though.
Not sure if it’s intentional but here, you’re using a “U+2019 RIGHT SINGLE QUOTATION MARK” (’) character instead of a “U+27 APOSTROPHE” character (’). If it’s the same as in your source code it could explain the issue.