I’m very new to Inform, and I can’t seem to find anything about this by searching.
My issue is that I can’t seem to attach articles to values that are replacements in text.
Say I have the following:
[code]“A Color Failure” by Erzengel
A color is a kind of value. A color is red, green, blue, coral, or auburn.
A box is a kind of thing. A box has a color. The color of a box is usually auburn. The description of a box is usually “[A color of noun] cube with the text [noun] written on it.”
Test room is a room. The Wizard’s box is a blue box in the test room. The Sorcerer’s box is a box in the test room.
Test me with “x wizard’s box / x sorcerer’s box”.[/code]
This outputs:
Which is missing the “A” or “An” article on the color. Is there a way to get this to work?
I’ve tried manually setting the indefinite article, but Inform 7 says that a value doesn’t have the indefinite article property. After adding some text called the indefinite article, it still doesn’t work.
I can’t just put the “a” in the text because then it would be “A auburn cube” when it should be “An auburn cube”.
Thanks for any help.