Reading 4.10, you can set conditions. So, for example, I have this:
A glass box is a case in the Learning Lab.
The glass box is either shatterable, crackable or invulnerable.
This works in that I can use a text substitution to check the condition. To wit, I could do this:
"Glass box confirmed as [glass box condition]."
The manual page then talks about a second condition (… Left to itself, Inform will call the second one “fruit condition 2” …) where you can name the condition as a property. So I do this:
The glass box can be clean, smudged, or dirty (this is its cleanliness property).
However, with that, I cannot do this:
"Glass box confirmed as [glass box cleanliness]."
That leads to an error: “In the sentence ‘if the glass box is clean, say “Glass box confirmed as [glass box cleanliness].”’ , I was expecting to read a text, but instead found some text that I couldn’t understand - ‘glass box cleanliness’.”
I can, of course, do this:
"Glass box confirmed as [cleanliness]."
I just want to make sure that’s expected behavior.
The page in question (4.10) is all about conditions but it wasn’t clear to me what to expect when I name a condition as a property. The page states “So we are also allowed to give these conditions names of our own choosing.” That seems to imply that “cleanliness” is simply a condition with a specific wording, which would lead me to the implication that this wording could be used in place of the term “condition” in text substitutions.