Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002008Core InformRules and rulebookspublic2017-03-28 06:252017-07-16 19:11
Reportermattweiner 
Assigned To 
PrioritynormalSeveritycosmeticReproducibilityalways
StatusnewResolutionopen 
PlatformMacintoshOSEl CapitanOS Version10.11.6
Product Version6M62 
Target VersionFixed in Version 
Summary0002008: improper "doing something other than this or that" description of actions yields a confusing error message
DescriptionA rule that has "After doing something other than kissing Marie or giving the rose to Marie when Marie is visible" is improper, because you can't combine those action descriptions. But there are two issues with the error message:

The error message references the line in the Standard Rules that defines "visible" rather than the erroneous line in the code.

The error message describes the list of actions to avoid as though one were erroneous, but says both are ok. This looks like a return of http://inform7.com/mantis/view.php?id=1323. [^]
Minimal Source Text To Reproduce
Atelier is a room. Marie is a woman in Atelier. The player carries a rose.

After doing something other than kissing Marie or giving the rose to Marie when Marie is visible:
	say "Marie looks at you expectantly."
Additional InformationReport:

(Each time Go or Replay is clicked, Inform tries to translate the source text into a working story, and updates this report.)

In Part SR1 - The Physical World Model, Section SR1/0 - Language in the extension Standard Rules by Graham Nelson:
Problem. You wrote 'Definition' , which seems to introduce a rule taking effect only if the action is 'doing something other than kissing Marie or giving the rose to Marie when Marie is visible'. The part after 'when' (or 'while') was fine, but the earlier words did not make sense as a description of an action. This looks like a list of actions to avoid: 'doing something other than kissing Marie' was okay; 'giving the rose to Marie' was okay; so I am unable to place this rule into any rulebook.
 See the manual: 7.1 > 7.1. Actions
Because of this problem, the source could not be translated into a working game. (Correct the source text to remove the difficulty and click on Go once again.)

...if we omit "when Marie is visible" the error points at the correct line, but it still gives the wrong error message instead of the correct "this is a combination of actions which can't be mixed" message.
TagsNo tags attached.
Effect(cosmetic) Error message is badly worded
Attached Files

- Relationships

-  Notes
(0004705)
IvanR (reporter)
2017-07-16 19:11
edited on: 2017-07-16 19:12

A much simpler source can produce a very similar error:

---------------------------

"Test" by Ivan R

House is a room.
A dog is in the room.
When play begins, now the dog is visible.

------------------------------

This results in an error that incorrectly points to the same line in the Standard Rules as yours does.


- Issue History
Date Modified Username Field Change
2017-03-28 06:25 mattweiner New Issue
2017-07-16 19:11 IvanR Note Added: 0004705
2017-07-16 19:11 IvanR Note Edited: 0004705 View Revisions
2017-07-16 19:12 IvanR Note Edited: 0004705 View Revisions


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker