Several years ago, I created a short game as an exercise and teaching example. The game compiles fine under 6L38 but throws three errors related to the Standard Rules when I attempt to compile it under 6M62. I want to revisit it and make some updates, but I’d really like to get it compiling under 6M62 first. Here are the error messages I get when compiling under 6M62 (they come after 71%, in the Generating code phase):
[spoiler][code] >–> In the sentence ‘begin the printing the description of a dark room
activity’ (the Standard Rules, line 2749), it looks as if you intend ‘the
description of a dark room’ to be a property, but ‘a room’ is not specific
enough about who or what the owner is. Sometimes this mistake is made
because Inform mostly doesn’t understand the English language habit of
referring to something indefinite by a common noun - for instance, writing
‘change the carrying capacity of the container to 10’ throws Inform because
it doesn’t understand that ‘the container’ means one which has been
discussed recently.
I was trying to match this phrase:
begin the (printing the description of a dark room - activity) activity
I recognised:
printing the description of a dark room = an activity
→ In the sentence ‘if handling the printing the description of a dark room
activity’ (the Standard Rules, line 2750), it looks as if you intend ‘the
description of a dark room’ to be a property, but ‘a room’ is not specific
enough about who or what the owner is. Sometimes this mistake is made
because Inform mostly doesn’t understand the English language habit of
referring to something indefinite by a common noun - for instance, writing
‘change the carrying capacity of the container to 10’ throws Inform because
it doesn’t understand that ‘the container’ means one which has been
discussed recently.
I was trying to match this phrase:
handling (printing the description of a dark room - activity on
values) activity
I recognised:
printing the description of a dark room = an activity
→ In the sentence ‘end the printing the description of a dark room
activity’ (the Standard Rules, line 2753), it looks as if you intend ‘the
description of a dark room’ to be a property, but ‘a room’ is not specific
enough about who or what the owner is. Sometimes this mistake is made
because Inform mostly doesn’t understand the English language habit of
referring to something indefinite by a common noun - for instance, writing
‘change the carrying capacity of the container to 10’ throws Inform because
it doesn’t understand that ‘the container’ means one which has been
discussed recently.
I was trying to match this phrase:
end the (printing the description of a dark room - activity) activity
I recognised:
printing the description of a dark room = an activity[/code][/spoiler]
I can’t figure out where the problem could be coming from in my code, since I don’t use light and darkness, and the errors are no help since they point to the Standard Rules as the problem. I don’t think the problem can be anything with my copy of the Standard Rules, because short test games compile fine. (Also, I’ve tried uninstalling and redownloading Inform.) I read through the 6M62 changelog and didn’t see anything that I thought explained this error, but it may well be that I don’t understand the problem well enough to recognize it.
Anyway, any advice you can offer would be welcome. The source of the game is available on GitHub. I apologize that I can’t include any sort of excerpt, but as I said, I have no idea where the problem is. Thanks for anything you can suggest.