As far as I understand, the word “it” can be used in Inform 7 source text to refer to the most recently referred object. Under the last release on http://inform7.com , at least, the following code produces the behavior shown:
The kettle is here. The description of it is "It's black."
The pot is here. The description of it is "It's blacker."
>x kettle
It's black.
>x pot
It's blacker.
However, on the latest checkout of `ganelson/inform` (commit 10409f1f as of writing), the compiler fails to understand this:
>--> You wrote 'The description of it is "It's blacker."' (source text, line 10),
but in another sentence 'The description of it is "It's black."' (source
text, line 9): but this looks like a contradiction, because the same
property seems to be being set in each of these sentences, but with a
different outcome.
++ Ended: Translation failed: 1 problem found
Inform 7 has finished.
Build failed at ''/tmp/inform/inform7/Tangled/inform7' -kit BasicInformKit -kit EnglishLanguageKit -kit WorldModelKit -kit CommandParserKit -format=Inform6/32d/v3.1.2 -external '/tmp/Inform' -internal 'inform7/Internal' -project '/tmp/test.inform' '
As far as I understand, the word “it” can be used in Inform 7 source text to refer to the most recently referred object. Under the last release on http://inform7.com , at least, the following code produces the behavior shown:
However, on the latest checkout of `ganelson/inform` (commit 10409f1f as of writing), the compiler fails to understand this: