curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2048] [Mantis 2085] the adjective "empty" defined for containers cannot be used before a specific thing name in source text #36

Open curiousdannii-testing opened 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : mattweiner

Description :

When "empty" is defined using "Definition: a container is empty if....", then attempting to use before the name of a specific thing leads to a compiler error. (As in "empty bowl.") It can be used after the noun, as in "when the bowl is empty."

Steps to reproduce :

Kitchen is a room. 

A bowl is a container in the Kitchen.

The player carries a rock.

Definition: a container is empty if nothing is in it.

Instead of taking the empty bowl: say "You don't want to carry around a bowl that doesn't have a rock in it!"

Additional information :

Error message:
Problem. You wrote 'Definition' , which seems to introduce a rule taking effect only if the action is 'taking the empty bowl'. But that did not make sense as a description of an action. I am unable to place this rule into any rulebook.
See the manual: 7.1 > 7.1. Actions

Changing the rule header to "Instead of taking the bowl when the bowl is empty" will allow it to compile.

Changing the rule header to "Instead of taking an empty container" will allow it to compile.

Changing "empty" to "unoccupied" throughout will allow it to compile.

imported from: [Mantis 2085] the adjective "empty" defined for containers cannot be used before a specific thing name in source text
  • status: Reported
  • resolution: Open
  • resolved: 2022-04-07T05:02:46+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by mattweiner :
Forum thread: https://www.intfiction.org/forum/viewtopic.php?p=147265#p147265

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by mattweiner :
Post-migration link to forum thread: https://intfiction.org/t/instead-of-taking-the-empty-bowl/13982