Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002085Core InformPropertiespublic2018-12-17 10:382019-02-26 18:24
Assigned To 
PlatformmacintoshOSel capitanOS Version10.11.6ish
Product Version6M62 
Target VersionFixed in Version 
Summary0002085: the adjective "empty" defined for containers cannot be used before a specific thing name in source text
DescriptionWhen "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 InformationError 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.
TagsNo tags attached.
Effect(serious) Compiler rejects valid code
Attached Files

- Relationships

-  Notes
mattweiner (reporter)
2018-12-17 18:23

Forum thread: [^]
mattweiner (reporter)
2019-02-26 18:24

Post-migration link to forum thread: [^]

- Issue History
Date Modified Username Field Change
2018-12-17 10:38 mattweiner New Issue
2018-12-17 18:23 mattweiner Note Added: 0004822
2019-02-26 18:24 mattweiner Note Added: 0004833

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker