Class:NounPrefers
Defined in: adventure/dictionary/NounPrefers.js, line 5
Description
NounPrefers is a special class used while parsing Input to specify general conditions that are preferred in cases of disambiguation. This is a narrower set of preferences than those in NounPrefers, that when game.parser.handleSentence receives multiple qualified assets. Exclusion is handled by Parser.handleSentence. This is an internal class that authors should not need to construct, though there are methods to allow authors to customize these settings per Verb. See Modify Verbs for more info.
Private Constructor:
var foo = new AdventureJS.Dictionary.NounPrefers()
- Index
- Methods
- Properties
Methods Collapse all |
Properties |
absent
absent :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 38
Default value: false
carried
carried :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 46
Default value: false
dispenser
dispenser :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 62
Default value: false
fungible
fungible :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 70
Default value: false
present
present :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 30
Default value: false
uncarried
uncarried :Boolean
Defined in: adventure/dictionary/NounPrefers.js, line 54
Default value: false