Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002126Core InformActionspublic2020-05-06 20:302020-05-07 08:03
Assigned To 
Platformx86OSWindowsOS Version7
Product Version6M62 
Target VersionFixed in Version 
Summary0002126: "Mistake" should not disambiguate
DescriptionWhen an object token is included in a mistake phrase, the parser treats it like any other action and tries to disambiguate when it matches two objects in the model world, however since the result of the MistakeAction is always the same no matter what it should not ask the player to clarify.
Minimal Source Text To Reproduce
Understand "find [anything]" as a mistake ("I can only tell you what you see as you 
move about and manipulate things.  I cannot tell you where remote things are.")
TagsNo tags attached.
Effect(serious/mild) Game compiles but misbehaves
Attached Files

- Relationships

-  Notes
zarf (developer)
2020-05-07 08:03

It's not necessarily true that the result of MistakeAction doesn't depend on the object. This is valid code:

Understand "find [anything]" as a mistake ("I don't know where [the noun] is.")

The full-game disambiguation on that would suck (and probably be full of spoilers) but it's legal. A more realistic example might be:

Understand "cast [any unlearned spell]" as a mistake ("I don't know [noun].")

If you want a mistake grammar line to accept any text without parsing, do this:

Understand "find [text]" as a mistake ("I can't.")

- Issue History
Date Modified Username Field Change
2020-05-06 20:30 ndl New Issue
2020-05-07 08:03 zarf Note Added: 0004908

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker