I had to replace my laptop last week and as part of setting it up, I installed a fresh version of I7 from the website. Now my code is showing an ‘X is Y’ error and won’t compile. (Perhaps because of changes in the updated Inform release?).
John is an NPC who has two states: he is either ‘seeking wine’ or ‘dormant’. I7 no longer likes this.
At the time when level 2 begins: if level 2 timer cancelled is true, stop; now all things enclosed by the player are nowhere; now John is seeking wine. [StartDaemon(John);]
There is a man called John. John has a number called turns active. John can be seeking wine or dormant. John is dormant. Every turn when John is seeking wine: now turns active of John is turns active of John + 1; if turns active of John is: -- 1: say "John enters, picks up a discarded bottle, and leaves."; (etc)
I am sure it is just a matter of restating the X or Y states somehow, but I can’t work it out.