** Library error 2 (1145397,5) **
** Property value not routine or string: "article" of "book" (1145397) **
*** Run-time problem P37: Low level error.
I assume this is the relevant code:
The indefinite article of the Tome of Incantations is "a".
The article changes during play (when the name of the book is revealed it changes to “the”), but at this point it hadn’t yet. Is this a bug or am I doing something wrong?
EDIT: After the error shows everything works correctly–if I look again it says “a book” just as it should, and if I examine it it becomes “the Tome of Incantations”.
A small question from someone not acquainted with the inner workings of Inform 7: How am I to apply this patch if I want to make this work? Should I copy-paste that code into every project for which it’s a problem; is there somewhere I can put it so it works in general; or…?
I made a very simple extension containing the patch (along with eu’s patch for an unrelated indefinite article bug) if anyone wants it. Article Bug Fix.i7x