Bug in Ruins (DM4)?

Little bit of a weird question, but I’m reading the DM4 and it seems to me like there’s a bug in Ruins, the running-example game?

The player interacts at one point with the spirit of an ancient Mayan priest, who is amused by the PC’s terrible Mayan “dictionary” and corrects one of the definitions if you hand it to him. But the code for asking him about the dictionary is as follows:

if (dictionary.correct == false)
    "~The ~bird~ glyph... very funny.~";
"~A dictionary? Really?~"

It seems to me that the test should be the other way around, so he only mentions the bird glyph if he’s seen and corrected it. (It also means the player gets a hint as to which definition he’s altered.) The online interpreter linked from ifdb and the story files for it all follow that code when you try it out:

>ask priest about dictionary
“The “bird” glyph… very funny.”

>show dictionary to priest
The priest reads a little of the book, laughing in a hollow, whispering way. Unable to restrain his mirth, he scratches in a correction somewhere before returning the book.

>ask priest about dictionary
“A dictionary? Really?”

Which definitely reads wrong to me.

It’s not just me, right? The test should be dictionary.correct == true instead, and that’s a bug that made it into the final book?

3 Likes

My understanding was that if you mention it to him, he points out the obvious error, and if you let him actually hold it, he corrects it. But your way does make more sense.

Of course, code-wise, there’d be no reason to check == true.

2 Likes