|Anonymous | Login | Signup for a new account||2018-04-25 22:47 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002008||Core Inform||Rules and rulebooks||public||2017-03-28 06:25||2017-07-16 19:11|
|Platform||Macintosh||OS||El Capitan||OS Version||10.11.6|
|Target Version||Fixed in Version|
|Summary||0002008: improper "doing something other than this or that" description of actions yields a confusing error message|
|Description||A 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."
(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.
|Tags||No tags attached.|
|Effect||(cosmetic) Error message is badly worded|
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.
|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|