Class:NounMustBe
Defined in: adventure/dictionary/NounMustBe.js, line 5
Description
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.Dictionary.NounMustBe()
- Index
- Methods
- Properties
Index
Methods:
Properties:
- character
- child_of_noun2
- direction
- dov
- exit
- extant
- global
- global_substance
- in_hands
- in_inventory
- in_inventory_if_takeable
- intangible
- iov
- known
- matter
- not_direction
- not_exit
- not_global
- not_in_hands
- not_in_inventory
- not_in_prior_plural
- not_parent
- not_parent_or_room
- not_player
- not_player_parent
- not_scenery
- not_self
- not_substance
- not_worn
- parent
- parent_or_room
- player
- player_parent
- present
- present_if_tangible
- reachable
- reachable_if_tangible
- reservoir_if_substance
- reservoir_if_substance
- scenery
- self
- singular
- singular
- string
- substance
- takeable
- tangible
- visible
- visible
- worn
Methods Collapse all |
Properties |
character
character :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 32
Default value: false
child_of_noun2
child_of_noun2 :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 39
Default value: false
direction
direction :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 48
Default value: false
dov
dov :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 55
Default value: false
exit
exit :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 62
Default value: false
extant
extant :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 70
Default value: true
global
global :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 79
Default value: false
global_substance
global_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 88
Default value: false
in_hands
in_hands :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 98
Default value: false
in_inventory
in_inventory :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 107
Default value: false
in_inventory_if_takeable
in_inventory_if_takeable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 115
Default value: false
intangible
intangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 124
Default value: false
iov
iov :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 131
Default value: false
known
known :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 138
Default value: false
matter
matter :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 146
Default value: false
not_direction
not_direction :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 170
Default value: false
not_exit
not_exit :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 177
Default value: false
not_global
not_global :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 185
Default value: false
not_in_hands
not_in_hands :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 194
Default value: false
not_in_inventory
not_in_inventory :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 203
Default value: false
not_in_prior_plural
not_in_prior_plural :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 211
Default value: false
not_parent
not_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 311
Default value: false
not_parent_or_room
not_parent_or_room :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 320
Default value: false
not_player
not_player :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 244
Default value: false
not_player_parent
not_player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 266
Default value: false
not_scenery
not_scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 220
Default value: false
not_self
not_self :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 284
Default value: false
not_substance
not_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 228
Default value: true
not_worn
not_worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 236
Default value: false
parent
parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 293
Default value: false
parent_or_room
parent_or_room :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 302
Default value: false
player
player :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 251
Default value: false
player_parent
player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 258
Default value: false
present
present :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 154
Default value: false
present_if_tangible
present_if_tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 162
Default value: false
reachable
reachable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 336
Default value: false
reachable_if_tangible
reachable_if_tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 345
Default value: false
reservoir_if_substance
reservoir_if_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 396
Default value: false
reservoir_if_substance
reservoir_if_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 405
Default value: false
scenery
scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 353
Default value: false
self
self :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 273
Default value: false
singular
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 361
Default value: true
singular
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 370
Default value: false
string
string :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 379
Default value: false
substance
substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 387
Default value: false
takeable
takeable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 415
Default value: false
tangible
tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 329
Default value: false
visible
visible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 423
Default value: false
visible
visible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 432
Default value: false
worn
worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 441
Default value: false