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.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
- prefer_carried_if_ambiguous
- prefer_uncarried_if_ambiguous
- present
- present_if_ambiguous
- 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 194
Default value: false
not_exit
not_exit :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 201
Default value: false
not_global
not_global :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 209
Default value: false
not_in_hands
not_in_hands :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 218
Default value: false
not_in_inventory
not_in_inventory :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 227
Default value: false
not_in_prior_plural
not_in_prior_plural :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 235
Default value: false
not_parent
not_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 335
Default value: false
not_parent_or_room
not_parent_or_room :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 344
Default value: false
not_player
not_player :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 268
Default value: false
not_player_parent
not_player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 290
Default value: false
not_scenery
not_scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 244
Default value: false
not_self
not_self :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 308
Default value: false
not_substance
not_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 252
Default value: true
not_worn
not_worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 260
Default value: false
parent
parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 317
Default value: false
parent_or_room
parent_or_room :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 326
Default value: false
player
player :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 275
Default value: false
player_parent
player_parent :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 282
Default value: false
prefer_carried_if_ambiguous
prefer_carried_if_ambiguous :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 178
Default value: false
prefer_uncarried_if_ambiguous
prefer_uncarried_if_ambiguous :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 186
Default value: false
present
present :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 154
Default value: false
present_if_ambiguous
present_if_ambiguous :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 170
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 360
Default value: false
reachable_if_tangible
reachable_if_tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 369
Default value: false
reservoir_if_substance
reservoir_if_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 420
Default value: false
reservoir_if_substance
reservoir_if_substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 429
Default value: false
scenery
scenery :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 377
Default value: false
self
self :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 297
Default value: false
singular
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 385
Default value: true
singular
singular :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 394
Default value: false
string
string :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 403
Default value: false
substance
substance :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 411
Default value: false
takeable
takeable :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 439
Default value: false
tangible
tangible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 353
Default value: false
visible
visible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 447
Default value: false
visible
visible :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 456
Default value: false
worn
worn :Boolean
Defined in: adventure/dictionary/NounMustBe.js, line 465
Default value: false