Class: NounMustBe
Defined in: adventure/dictionary/NounMustBe.js, line 6
NounMustBe is a special class used while parsing Input to specify general conditions that a noun must meet for a Verb to act on it. This is a broad set of exclusions used to narrow items by class or by certain properties, or availability to the player character. Exclusion is handled by Parser.qualifyParsedNoun. Each verb has more specific logic to handle more specific conditions. 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.NounMustBe()
- Index
- Methods
- Properties
Index
Methods:
Properties:
- character
- child_of_noun2
- direction
- exit
- extant
- global
- global_substance
- in_hands
- in_inventory
- in_inventory_if_takeable
- intangible
- known
- matter
- not_direction
- not_exit
- not_global
- not_in_hands
- not_in_inventory
- not_in_prior_plural
- not_player_parent
- not_scenery
- not_substance
- not_worn
- player_parent
- present
- present_if_tangible
- reachable
- reachable_if_tangible
- scenery
- singular
- singular
- string
- takeable
- tangible
- visible
- worn
Methods Collapse all |
Properties |
character :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 78
Default value: false
child_of_noun2 :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 235
Default value: false
direction :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 42
Default value: false
exit :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 295
Default value: false
extant :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 33
Default value: true
global :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 261
Default value: false
global_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 328
Default value: false
in_hands :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 184
Default value: false
in_inventory :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 143
Default value: false
in_inventory_if_takeable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 151
Default value: false
intangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 71
Default value: false
known :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 135
Default value: false
matter :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 56
Default value: false
not_direction :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 49
Default value: false
not_exit :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 303
Default value: false
not_global :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 270
Default value: false
not_in_hands :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 193
Default value: false
not_in_inventory :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 160
Default value: false
not_in_prior_plural :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 244
Default value: false
not_player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 228
Default value: false
not_scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 287
Default value: false
not_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 311
Default value: true
not_worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 176
Default value: false
player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 220
Default value: false
present :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 85
Default value: false
present_if_tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 93
Default value: false
reachable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 118
Default value: false
reachable_if_tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 101
Default value: false
scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 279
Default value: false
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 202
Default value: false
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 211
Default value: true
string :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 253
Default value: false
takeable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 127
Default value: false
tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 64
Default value: false
visible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 109
Default value: false
worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 168
Default value: false