|Anonymous | Login | Signup for a new account||2019-02-18 18:56 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002085||Core Inform||Properties||public||2018-12-17 10:38||2018-12-17 18:23|
|Platform||macintosh||OS||el capitan||OS Version||10.11.6ish|
|Target Version||Fixed in Version|
|Summary||0002085: the adjective "empty" defined for containers cannot be used before a specific thing name in source text|
|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."|
|Minimal Source Text 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.
|Tags||No tags attached.|
|Effect||(serious) Compiler rejects valid code|
|Forum thread: https://www.intfiction.org/forum/viewtopic.php?p=147265#p147265 [^]|
|2018-12-17 10:38||mattweiner||New Issue|
|2018-12-17 18:23||mattweiner||Note Added: 0004822|
|Copyright © 2000 - 2010 MantisBT Group|