Class: Tangible
Extends: adventurejs.Matter
Defined in: adventure/assets/Tangible.js, line 5
More info: AboutTangibles
Public Constructor:
MyGame.createAsset({ "class":"Tangible", "name":"foo", [...] })
Tangible is the base class for all Assets with physical properties in the game world, with the exception of Substances. All of the properties of Tangible are inherited by all of its subclasses, and most subclasses don't define new properties. Most subclasses are essentially convenience methods that set a group of properties particular to a type of object. In theory, an instance of almost any subclass could be made to behave like an instance of almost any other subclass, simply by setting the right properties. This provides the flexibility to mix and match properties to construct game assets with customized behaviors.
For example, Chair defines something you can sit on, and Bed defines something you can lie on, but perhaps you want to make something like a divan, that you can sit on and lie on. You could create a Chair and set asset.aspects.on.player.can.lie property to true.
MyGame.createAsset({
class: "Chair",
name: "divan",
descriptions: {look:"A comfortable looking fainting couch. ",),
aspects:
{
on: { player: { can: { lie: true } } }
}
});
This is a simple example of customizing an object, but hopefully
it gives you an idea of how flexible the Tangible class is.
Alternatively if you wanted to extensively customize your divan,
you could define your own Divan class to extend
Furniture.
Private Constructor:
var foo = new adventurejs.Tangible(game_name, name)
Though all in-game glasses use a standard constructor method under the hood, it's unlikely that you'd need to call it directly. To create an instance of the Tangible class, it must be defined in a game file as a generic object. That object will be used at runtime to construct a new game class instance, which will be validated and initialized before adding it to the Game. See above for the public constructor, or see Game#createAsset to learn more.
Parameters:
-
game_name
String
The name of the top level game object. -
name
String
A name for the object, to be serialized and used as ID.
- Index
- Methods
- Properties
Index
Methods:
- Inherited from Asset $can
- Overrides from Matter $is
- $moveTo
- Inherited from Asset $must
- addAssetAt
- Inherited from Asset addWordsToLookup
- Inherited from Asset aliases
- areAnscestorsClosed
- areAnscestorsKnown
- areAnscestorsOpen
- areAnscestorsUnknown
- Inherited from Asset callAction
- canBePut
- canContainAnySubstance
- canContainAssetAt
- canPlayerNest
- canPlayerReachThatFromThis
- Inherited from Asset canSetVerbState
- Overrides from Matter destroy
- Inherited from Asset didDoVerbs
- Inherited from Asset didIoVerbs
- doesContainAnyAsset
- doesContainAnyAssetAt
- doesContainAnySubstance
- doesContainAnySubstanceAt
- doesContainAsset
- doesContainAssetAt
- doesContainSubstance
- doesContainSubstanceAt
- Inherited from Asset DOVallowOnce
- Inherited from Asset DOVallowWithAnything
- Inherited from Asset DOVallowWithAsset
- Inherited from Asset DOVallowWithNothing
- Inherited from Asset DOVdidDo
- Inherited from Asset DOVdidDoCount
- Inherited from Asset DOVdidTry
- Inherited from Asset DOVdidTryCount
- Inherited from Asset DOVgetConnectionCount
- Inherited from Asset DOVgetConnections
- Inherited from Asset DOVgetMaxConnections
- Inherited from Asset DOVhasIndirectObjects
- Inherited from Asset DOVhasMaxConnections
- Inherited from Asset DOVincrementDoCount
- Inherited from Asset DOVincrementTryCount
- Inherited from Asset DOVisConnectedToAnything
- Inherited from Asset DOVisConnectedToAsset
- Inherited from Asset DOVisConnectedToNothing
- Inherited from Asset DOVsetConnection
- Inherited from Asset DOVsetWithAsset
- Inherited from Asset DOVsetWithClass
- Inherited from Asset DOVunsetConnection
- findClassInThis
- get
- getAllContents
- getAllNestedContents
- getAncestorId
- getAnySubstanceThisContains
- getAspectAt
- getAspectWithVessel
- getClosedAnscestors
- getContentsAt
- getCountOfListableContentsAt
- Inherited from Asset getDescription
- Inherited from Asset getIndirectDescription
- Inherited from Atom getInheritance
- getListableContents
- getNestOrPlacePreposition
- getOpenOrClosed
- getPlaceAspect
- getPlaceAsset
- getPlaceAssetId
- getPlacePreposition
- getPrintableListOfContents
- getRoomAsset
- getRoomId
- getRopesThatBlockTravel
- getSubstanceAt
- getThingThisIsTiedToPlayerBy
- getTiedThingsThatDragOnTravel
- getVesselAt
- getY
- getYBottom
- getYRange
- getYTop
- Inherited from Asset has
- Inherited from Asset hasAction
- hasAspectAt
- Inherited from Atom hasClass
- hasContentsAtAspect
- Inherited from Asset hasDescription
- Inherited from Asset hasIndirectDescription
- hasListableContents
- hasPlace
- hasPropertyOnAspectAt
- hasRopesThatBlockTravel
- hasTiedThingsThatDragOnTravel
- hasVessel
- hasVesselAtAspect
- Inherited from Asset incrementDoVerbCount
- Inherited from Asset incrementTryVerbCount
- Overrides from Matter initialize
- Inherited from Asset IOVallowOnce
- Inherited from Asset IOVallowWithAnything
- Inherited from Asset IOVallowWithAsset
- Inherited from Asset IOVallowWithNothing
- Inherited from Asset IOVdidDo
- Inherited from Asset IOVdidDoCount
- Inherited from Asset IOVdidTry
- Inherited from Asset IOVdidTryCount
- Inherited from Asset IOVgetConnectionCount
- Inherited from Asset IOVgetConnections
- Inherited from Asset IOVgetMaxConnections
- Inherited from Asset IOVhasDirectObjects
- Inherited from Asset IOVhasMaxConnections
- Inherited from Asset IOVincrementDoCount
- Inherited from Asset IOVincrementTryCount
- Inherited from Asset IOVisConnectedToAnything
- Inherited from Asset IOVisConnectedToAsset
- Inherited from Asset IOVisConnectedToNothing
- Inherited from Asset IOVsetConnection
- Inherited from Asset IOVsetWithAsset
- Inherited from Asset IOVsetWithClass
- Inherited from Asset IOVunsetConnection
- Inherited from Asset isDOV
- isIn
- Inherited from Asset isIOV
- isPlacedAtAspect
- isPlacedAtAspectAndAsset
- Inherited from Asset isState
- isWithinYRange
- linkRegisteredParts
- moveFrom
- moveFrom
- moveTo
- onAddSubstanceToThis
- onChangeGravity
- onChangeMoisture
- onChangeTemperature
- onMoveThatToThis
- onNestThatToThis
- onRemoveThatFromThis
- onSubtractSubstanceFromThis
- onTieThisToThat
- onUnnestThatFromThis
- onUntieThisFromThat
- put
- Inherited from Asset redirectVerb
- registerParts
- removeAssetAt
- removeThatFromThis
- Inherited from Atom set
- setAllAspectsContentsKnown
- setAllAspectsContentsSeen
- setAspectAt
- setAspectContentsKnown
- setAspectContentsSeen
- setAttachmentsKnown
- setClosed
- Inherited from Asset setDOV
- Inherited from Asset setDOVs
- Inherited from Asset setIOV
- Inherited from Asset setIOVs
- Overrides from Matter setKnown
- Inherited from Asset setLinkedState
- setLocked
- Inherited from Asset setObjectOfVerbs
- setPlace
- setPosition
- setSealed
- setSeen
- Inherited from Asset setState
- setUsed
- Inherited from Asset setVerbSubscription
- Inherited from Asset setVerbSubscriptionsWithAssets
- Inherited from Asset setVerbSubscriptionsWithConnection
- setVesselAt
- setX
- setY
- setZ
- Inherited from Asset toggleState
- Inherited from Asset undestroy
- unfasten
- Inherited from Asset unredirectVerb
- Inherited from Asset unsetDOV
- Inherited from Asset unsetDOVs
- Inherited from Asset unsetIOV
- Inherited from Asset unsetIOVs
- Inherited from Asset unsetVerbSubscription
- Overrides from Matter validate
Properties:
- absorption_quantity
- Inherited from Asset adjectives
- aperture
- append_written_strings_to_description
- Inherited from Asset article_name
- Inherited from Asset articlename
- Inherited from Asset Articlename
- aspects
- buoyancy
- Inherited from Asset can
- can.auto_open
- can.auto_unlock
- can.auto_unseal
- can.be_swung_at
- Inherited from Asset collection
- control_positions
- control_target_id
- current_position
- default_aspect
- default_aspect_for_climb
- default_aspect_for_swing_to
- default_posture_for_swing_to
- Inherited from Asset definite_article
- Inherited from Asset definite_name
- Inherited from Asset description
- Inherited from Asset descriptions
- Inherited from Asset did_do_verb
- Inherited from Asset did_do_verb_count
- Inherited from Asset did_try_verb
- Inherited from Asset did_try_verb_count
- dimensions
- direction
- Inherited from Asset dont_use_articles
- Inherited from Asset dov
- emits
- Inherited from Asset exclude_from_lookup
- exit
- Inherited from Atom game
- Inherited from Asset image
- Inherited from Asset indefinite_article
- Inherited from Asset indefinite_name
- Inherited from Asset iov
- Inherited from Asset is
- Inherited from Asset is.abstract
- is.buttoned
- is.climbable
- is.closed
- Inherited from Asset is.collection
- is.deep_nest
- Inherited from Asset is.destroyed
- is.distant
- Inherited from Asset is.extant
- is.false_nest
- is.fixed
- Inherited from Asset is.global
- is.hidden
- is.hollow
- Inherited from Asset is.initialized
- Inherited from Asset is.known
- is.listed_in_parent
- is.listed_in_room
- is.locked
- is.lookthroughable
- Inherited from Asset is.nameless
- is.peddleable
- Inherited from Asset is.plugged
- Inherited from Asset is.pluggedIn
- is.rideable
- is.screwed
- is.sealed
- Inherited from Asset is.singleton
- is.skateable
- is.supported
- is.typing_target
- is.unleavable
- is.unlisted_but_list_children
- Inherited from Asset is.validated
- is.watertight
- is.worn
- is.zipped
- list_group
- location_required
- location_unneccessary
- min_light_required_to_see
- Inherited from Asset must
- must.be_in_hands_to_look_through
- must.be_in_hands_to_look_with
- must.be_in_hands_to_read
- must.be_worn_to_look_with
- must.let_go_after_swing
- Inherited from Atom Name
- Inherited from Asset name_is_proper
- Inherited from Asset noun
- on_drink_destroy
- on_drink_empty
- on_eat_destroy
- on_tie_to_drag_behind_rope
- on_tie_to_this_take_this
- opacity
- parts
- place
- place
- player_can_exit
- player_can_hang_on_this
- player_knows_its_hidden
- Inherited from Asset plural
- position
- posture_position
- Inherited from Asset print_bold
- Inherited from Asset print_italic
- print_open_or_closed
- Inherited from Asset pronoun
- Inherited from Asset propername
- Inherited from Asset quirks
- quirks.climb_means_go_on
- quirks.climb_means_stand_on
- quirks.crawl_means_go
- quirks.get_up_means_get_off
- quirks.go_on_means_climb
- quirks.in_means_on
- quirks.jump_means_jump_off
- quirks.jump_means_jump_on
- quirks.let_go_of_means_go_down
- quirks.let_go_of_means_go_off
- quirks.look_with_means_look_through
- quirks.pick_means_unlock
- quirks.point_means_aim
- quirks.put_means_pour
- quirks.stand_means_get_off
- quirks.step_on_means_stamp_on
- quirks.step_on_means_stand_on
- quirks.take_means_hold
- quirks.write_on_means_write_in
- redirected_verbs
- registerableClasses
- registered_parts
- show_things_this_is_tied_to_in_description
- Inherited from Asset singlePluralPairs
- Inherited from Asset split_name_for_world_lookup
- things_player_can_climb_to_from_this
- things_player_can_do_all_verbs_to_from_this
- things_player_can_jump_to_from_this
- things_player_can_reach_from_this
- things_player_can_reach_from_top_of_this
- things_player_can_reach_from_top_of_this
- things_player_can_swing_to_across_this
- things_player_can_swing_to_from_this
- turn_positions
- turn_rotation
- turn_target_id
- typing_target_id
- Inherited from Asset use_definite_article_in_lists
- use_once_message
- written_strings
Methods Collapse all |
$can()
Defined in: adventure/asset/$can.js, line 7
Inherited from: adventurejs.Asset#$can
$is(property, asset)
Defined in: adventure/assets/tangible/$is.js, line 6
Overrides from: adventurejs.Matter#$is
Todos: Leaving open the possibility for other params.
Parameters:
-
property
String -
asset
Object
- assetA.$is("body")
- asking, is this asset a body of substance such as a lake or sandy desert?
- assetA.$is("closed")
- asking, is this asset closed?
- assetA.$is("held", assetB)
- asking, is this asset held by that asset, as in a bannister held by player?
- assetA.$is("holding", assetB)
- asking, is this asset holding that asset, as in player holding a rope?
- assetA.$is("in", assetB)
- accepts any preposition, asking, is this asset in that aspect of that asset?
- assetA.$is("locked")
- asking, is this asset locked?
- assetA.$is("nested in", assetB)
- nested in, specific to character classes, asking, is this asset nested in that asset?
- assetA.$is("open")
- asking, is this asset open?
- assetA.$is("plugged")
- asking, is this asset plugged?
- assetA.$is("sealed")
- asking, is this asset sealed?
- assetA.$is("takeable")
- asking, can this asset be taken?
- assetA.$is("unlocked")
- asking, is this asset unlocked?
- assetA.$is("unplugged")
- asking, is this asset unplugged?
- assetA.$is("unsealed")
- asking, is this asset unsealed?
- assetA.$is("worn")
- asking, is this asset being worn?
- assetA.$is("zipped")
- asking, is this asset zipped?
$moveTo(aspect, asset)
Defined in: adventure/assets/tangible/$moveTo.js, line 6
Parameters:
-
aspect
String -
asset
Object
$must()
Defined in: adventure/asset/$must.js, line 7
Inherited from: adventurejs.Asset#$must
addAssetAt() → {Array}
Defined in: adventure/assets/tangible/addAssetAt.js, line 6
Returns:
Array
addWordsToLookup(words, type)
Defined in: adventure/asset/addWordsToLookup.js, line 6
Inherited from: adventurejs.Asset#addWordsToLookup
Parameters:
-
words
Array -
type
String
aliases()
Defined in: adventure/Asset.js, line 662
Inherited from: adventurejs.Asset#aliases
areAnscestorsClosed() → {Boolean}
Defined in: adventure/assets/tangible/areAnscestorsClosed.js, line 6
Returns:
Boolean
areAnscestorsKnown() → {Boolean}
Defined in: adventure/assets/tangible/areAnscestorsKnown.js, line 6
Returns:
Boolean
areAnscestorsOpen() → {Boolean}
Defined in: adventure/assets/tangible/areAnscestorsOpen.js, line 6
Returns:
Boolean
areAnscestorsUnknown(nestlevel) → {Boolean}
Defined in: adventure/assets/tangible/areAnscestorsUnknown.js, line 6
Parameters:
-
nestlevel
int
Returns:
Boolean
callAction(hook, asset_name, params) → {Boolean}
Defined in: adventure/asset/callAction.js, line 6
Inherited from: adventurejs.Asset#callAction
Parameters:
-
hook
string -
asset_name
string
We use asset.name here instead of asset.id in support of authors, because we're never asking them to deal in IDs, only names. Hooks will only be defined by authors, so we let them use asset.name as their identifier. We do however make an effort to see if an id has been passed instead of a name, because Ivan. -
params
object
Arbitrary parameter object.
Returns:
Boolean
canBePut(aspect, asset) → {Boolean}
Defined in: adventure/assets/tangible/canBePlacedInAspectOfAsset.js, line 6
Parameters:
-
aspect
String -
asset
Object
with_assets
and
with_classes
properties.
Returns:
Boolean
canContainAnySubstance() → {Boolean}
Defined in: adventure/assets/tangible/canContainAnySubstance.js, line 6
Returns:
Boolean
canContainAssetAt(object) → {Boolean}
Defined in: adventure/assets/tangible/canContainAssetAt.js, line 6
Parameters:
-
object
Object
Returns:
Boolean
canPlayerNest(aspect) → {Boolean}
Defined in: adventure/assets/tangible/canPlayerNest.js, line 9
Parameters:
-
aspect
String
A Tangible Aspect ID.
Returns:
Boolean
canPlayerReachThatFromThis(object) → {Boolean}
Defined in: adventure/assets/tangible/canPlayerReachThatFromThis.js, line 6
Parameters:
-
object
Object
Returns:
Boolean
canSetVerbState(verb) → {Boolean}
Defined in: adventure/asset/canSetVerbState.js, line 6
Inherited from: adventurejs.Asset#canSetVerbState
Parameters:
-
verb
String
Returns:
Boolean
destroy()
Defined in: adventure/assets/Tangible.js, line 1173
Overrides from: adventurejs.Matter#destroy
didDoVerbs(verbs) → {Boolean}
Defined in: adventure/asset/didDoVerbs.js, line 6
Inherited from: adventurejs.Asset#didDoVerbs
Parameters:
-
verbs
Array
Returns:
Boolean
didIoVerbs(verbs) → {Boolean}
Defined in: adventure/asset/didIoVerbs.js, line 6
Inherited from: adventurejs.Asset#didIoVerbs
Parameters:
-
verbs
Array
Returns:
Boolean
doesContainAnyAsset() → {Boolean}
Defined in: adventure/assets/tangible/doesContainAnyAsset.js, line 6
Returns:
Boolean
doesContainAnyAssetAt(aspect) → {Boolean}
Defined in: adventure/assets/tangible/doesContainAnyAssetAt.js, line 6
Parameters:
-
aspect
String
Returns:
Boolean
doesContainAnySubstance() → {Boolean}
Defined in: adventure/assets/tangible/doesContainAnySubstance.js, line 6
Returns:
Boolean
doesContainAnySubstanceAt(aspect) → {Boolean}
Defined in: adventure/assets/tangible/doesContainAnySubstanceAt.js, line 6
Parameters:
-
aspect
String
Returns:
Boolean
doesContainAsset(id) → {String}
Defined in: adventure/assets/tangible/doesContainAsset.js, line 6
Parameters:
-
id
String
Returns:
String
doesContainAssetAt(id, aspect) → {Boolean}
Defined in: adventure/assets/tangible/doesContainAssetAt.js, line 6
Parameters:
-
id
String -
aspect
String
Returns:
Boolean
doesContainSubstance(id) → {String}
Defined in: adventure/assets/tangible/doesContainSubstance.js, line 6
Parameters:
-
id
String
Returns:
String
doesContainSubstanceAt(id, aspect) → {Boolean}
Defined in: adventure/assets/tangible/doesContainSubstanceAt.js, line 6
Parameters:
-
id
String -
aspect
String
Returns:
Boolean
DOVallowOnce(verb) → {Boolean}
Defined in: adventure/asset/DOVallowOnce.js, line 6
Inherited from: adventurejs.Asset#DOVallowOnce
Parameters:
-
verb
String
Returns:
Boolean
DOVallowWithAnything(verb) → {Boolean}
Defined in: adventure/asset/DOVallowWithAnything.js, line 6
Inherited from: adventurejs.Asset#DOVallowWithAnything
Parameters:
-
verb
String
Returns:
Boolean
DOVallowWithAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/DOVallowWithAsset.js, line 6
Inherited from: adventurejs.Asset#DOVallowWithAsset
Parameters:
-
verb
String -
asset
Object
Returns:
Boolean
DOVallowWithNothing(verb) → {Boolean}
Defined in: adventure/asset/DOVallowWithNothing.js, line 6
Inherited from: adventurejs.Asset#DOVallowWithNothing
Parameters:
-
verb
String
Returns:
Boolean
DOVdidDo(verb) → {Boolean}
Defined in: adventure/asset/DOVdidDo.js, line 6
Inherited from: adventurejs.Asset#DOVdidDo
Parameters:
-
verb
String
_didDo is an alias meant for authors.
Returns:
Boolean
DOVdidDoCount(verb) → {Int}
Defined in: adventure/asset/DOVdidDoCount.js, line 6
Inherited from: adventurejs.Asset#DOVdidDoCount
Parameters:
-
verb
String
_doCount is an alias meant for authors.
Returns:
Int
DOVdidTry(verb) → {Boolean}
Defined in: adventure/asset/DOVdidTry.js, line 6
Inherited from: adventurejs.Asset#DOVdidTry
Parameters:
-
verb
String
_didTry is an alias meant for authors.
Returns:
Boolean
DOVdidTryCount(verb) → {Boolean}
Defined in: adventure/asset/DOVdidTryCount.js, line 6
Inherited from: adventurejs.Asset#DOVdidTryCount
Parameters:
-
verb
String
_tryCount is an alias meant for authors.
Returns:
Boolean
DOVgetConnectionCount(verb) → {Int}
Defined in: adventure/asset/DOVgetConnectionCount.js, line 6
Inherited from: adventurejs.Asset#DOVgetConnectionCount
Parameters:
-
verb
String
The name of a verb.
Returns:
Int
DOVgetConnections(verb) → {Array}
Defined in: adventure/asset/DOVgetConnections.js, line 6
Inherited from: adventurejs.Asset#DOVgetConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Array
DOVgetMaxConnections(verb) → {Int}
Defined in: adventure/asset/DOVgetMaxConnections.js, line 6
Inherited from: adventurejs.Asset#DOVgetMaxConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Int
DOVhasIndirectObjects(verb) → {Boolean}
Defined in: adventure/asset/DOVhasIndirectObjects.js, line 6
Inherited from: adventurejs.Asset#DOVhasIndirectObjects
Parameters:
-
verb
String
Returns:
Boolean
DOVhasMaxConnections(verb) → {Boolean}
Defined in: adventure/asset/DOVhasMaxConnections.js, line 6
Inherited from: adventurejs.Asset#DOVhasMaxConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Boolean
DOVincrementDoCount(verb)
Defined in: adventure/asset/DOVincrementDoCount.js, line 6
Inherited from: adventurejs.Asset#DOVincrementDoCount
Parameters:
-
verb
String
DOVincrementTryCount(verb)
Defined in: adventure/asset/DOVincrementTryCount.js, line 6
Inherited from: adventurejs.Asset#DOVincrementTryCount
Parameters:
-
verb
String
DOVisConnectedToAnything(verb) → {Boolean}
Defined in: adventure/asset/DOVisConnectedToAnything.js, line 6
Inherited from: adventurejs.Asset#DOVisConnectedToAnything
Parameters:
-
verb
String
The name of a verb.
plugIn
or tie
. For example, if this asset
is a computer plugged into an outlet, this method would return true.
Returns:
Boolean
DOVisConnectedToAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/DOVisConnectedToAsset.js, line 6
Inherited from: adventurejs.Asset#DOVisConnectedToAsset
Parameters:
-
verb
String
The name of the verb to test. -
asset
Object | String
A game asset or asset id to test.
Returns:
Boolean
DOVisConnectedToNothing(verb) → {Boolean}
Defined in: adventure/asset/DOVisConnectedToNothing.js, line 6
Inherited from: adventurejs.Asset#DOVisConnectedToNothing
Parameters:
-
verb
String
The name of a verb.
asset.dov.plugIn.with_params.connections
to represent the computer's plugged in state.
Returns:
Boolean
DOVsetConnection(verb, asset)
Defined in: adventure/asset/DOVsetConnection.js, line 6
Inherited from: adventurejs.Asset#DOVsetConnection
Parameters:
-
verb
String -
asset
Object
DOVsetWithAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/DOVsetWithAsset.js, line 6
Inherited from: adventurejs.Asset#DOVsetWithAsset
Parameters:
-
verb
String -
asset
Object
Returns:
Boolean
DOVsetWithClass(verb, clas) → {Boolean}
Defined in: adventure/asset/DOVsetWithClass.js, line 6
Inherited from: adventurejs.Asset#DOVsetWithClass
Parameters:
-
verb
String -
clas
String
Returns:
Boolean
DOVunsetConnection(verb, asset)
Defined in: adventure/asset/DOVunsetConnection.js, line 6
Inherited from: adventurejs.Asset#DOVunsetConnection
Parameters:
-
verb
String -
asset
Object
findClassInThis(instanceClass) → {Array}
Defined in: adventure/assets/tangible/findClassInThis.js, line 6
Parameters:
-
instanceClass
String
Returns:
Array
get(property, qualifier)
Defined in: adventure/assets/tangible/$get.js, line 6
Parameters:
-
property
String -
qualifier
String
- all - list things anywhere in this
- behind - list things behind this
- in - list things in this
- on - list things on this
- under - list things under this
- attached - list things attached to this
getAllContents() → {Array}
Defined in: adventure/assets/tangible/getAllContents.js, line 6
Returns:
Array
getAllNestedContents() → {Array}
Defined in: adventure/assets/tangible/getAllNestedContents.js, line 6
Returns:
Array
getAncestorId() → {String}
Defined in: adventure/assets/tangible/getAncestorId.js, line 6
Returns:
String
getAnySubstanceThisContains() → {String}
Defined in: adventure/assets/tangible/getAnySubstanceThisContains.js, line 6
Returns:
String
getAspectAt(aspect) → {Object|Null}
Defined in: adventure/assets/tangible/getAspectAt.js, line 6
Parameters:
-
aspect
string
The aspect to get.
Returns:
Object
|
Null
getAspectWithVessel() → {String}
Defined in: adventure/assets/tangible/getAspectWithVessel.js, line 6
Returns:
String
getClosedAnscestors() → {Array}
Defined in: adventure/assets/tangible/getClosedAnscestors.js, line 6
Returns:
Array
getContentsAt() → {Array}
Defined in: adventure/assets/tangible/getContentsAt.js, line 6
Returns:
Array
getCountOfListableContentsAt(where) → {int}
Defined in: adventure/assets/tangible/getCountOfListableContentsAt.js, line 6
Parameters:
-
where
String
Returns:
int
getDescription(description) → {String}
Defined in: adventure/asset/getDescription.js, line 6
Inherited from: adventurejs.Asset#getDescription
Parameters:
-
description
String
Returns:
String
getIndirectDescription(indirect_aspect, indirect_asset, direct_aspect) → {String}
Defined in: adventure/asset/getIndirectDescription.js, line 6
Inherited from: adventurejs.Asset#getIndirectDescription
Parameters:
-
indirect_aspect
String -
indirect_asset
Object -
direct_aspect
String
Returns:
String
getInheritance() → {Array}
Defined in: adventure/Atom.js, line 151
Inherited from: adventurejs.Atom#getInheritance
Returns:
Array
getListableContents() → {Array}
Defined in: adventure/assets/tangible/getListableContents.js, line 6
Returns:
Array
getNestOrPlacePreposition() → {Boolean}
Defined in: adventure/assets/tangible/getNestOrPlacePreposition.js, line 6
Returns:
Boolean
getOpenOrClosed() → {Array}
Defined in: adventure/assets/tangible/getOpenOrClosed.js, line 6
Returns:
Array
getPlaceAspect() → {Object|null}
Defined in: adventure/assets/tangible/getPlaceAspect.js, line 6
Returns:
Object
|
null
getPlaceAsset() → {Object|Boolean}
Defined in: adventure/assets/tangible/getPlaceAsset.js, line 6
Returns:
Object
|
Boolean
getPlaceAssetId() → {String}
Defined in: adventure/assets/tangible/getPlaceAssetId.js, line 6
Returns:
String
getPlacePreposition() → {String}
Defined in: adventure/assets/tangible/getPlacePreposition.js, line 6
Returns:
String
getPrintableListOfContents(params) → {String}
Defined in: adventure/assets/tangible/getPrintableListOfContents.js, line 6
Parameters:
-
params
Object
Returns:
String
getRoomAsset() → {String}
Defined in: adventure/assets/tangible/getRoomAsset.js, line 6
Returns:
String
getRoomId() → {String}
Defined in: adventure/assets/tangible/getRoomId.js, line 6
Returns:
String
getRopesThatBlockTravel() → {Array}
Defined in: adventure/assets/tangible/getRopesThatBlockTravel.js, line 6
Returns:
Array
getSubstanceAt() → {String}
Defined in: adventure/assets/tangible/getSubstanceAt.js, line 6
Returns:
String
getThingThisIsTiedToPlayerBy() → {Object}
Defined in: adventure/assets/tangible/getThingThisIsTiedToPlayerBy.js, line 6
Returns:
Object
getTiedThingsThatDragOnTravel() → {Array}
Defined in: adventure/assets/tangible/getTiedThingsThatDragOnTravel.js, line 6
Returns:
Array
getVesselAt(aspect) → {Object|Null}
Defined in: adventure/assets/tangible/getVesselAt.js, line 6
Parameters:
-
aspect
string
The aspect to check.
Returns:
Object
|
Null
getY() → {Float}
getYBottom() → {Float}
Defined in: adventure/assets/tangible/getYBottom.js, line 6
Returns:
Float
getYRange() → {Object}
Defined in: adventure/assets/tangible/getYRange.js, line 6
Returns:
Object
getYTop() → {Float}
Defined in: adventure/assets/tangible/getYTop.js, line 6
Returns:
Float
has()
Defined in: adventure/asset/$has.js, line 7
Inherited from: adventurejs.Asset#has
if( MyGame.$('crown').$has('jewel') ){ // do stuff }
hasAction(hook_name, asset1_name, asset2_name) → {Boolean}
Defined in: adventure/asset/hasAction.js, line 6
Inherited from: adventurejs.Asset#hasAction
Parameters:
-
hook_name
string -
asset1_name
string
We use asset.name here instead of asset.id to make life slightly easier for authors. Asset IDs are formed from asset names, but generally we don't expect authors to be aware of IDs. Hooks will only be defined by authors, so let them use asset.name as their identifier. We do however make an effort to see if an id has been passed instead of a name. -
asset2_name
string
Returns:
Boolean
hasAspectAt(aspect) → {Boolean}
Defined in: adventure/assets/tangible/hasAspectAt.js, line 6
Parameters:
-
aspect
String
Returns:
Boolean
hasClass(prop) → {Boolean}
Defined in: adventure/Atom.js, line 131
Inherited from: adventurejs.Atom#hasClass
Parameters:
-
prop
String
Name of the class to test for.
Returns:
Boolean
hasContentsAtAspect(aspect) → {Boolean}
Defined in: adventure/assets/tangible/hasContentsAtAspect.js, line 6
Parameters:
-
aspect
String
Returns:
Boolean
hasDescription(description) → {String|Boolean}
Defined in: adventure/asset/hasDescription.js, line 6
Inherited from: adventurejs.Asset#hasDescription
Parameters:
-
description
String
Returns:
String
|
Boolean
hasIndirectDescription(indirect_aspect, indirect_asset, direct_aspect) → {String|Boolean}
Defined in: adventure/asset/hasIndirectDescription.js, line 6
Inherited from: adventurejs.Asset#hasIndirectDescription
Parameters:
-
indirect_aspect
String -
indirect_asset
Object -
direct_aspect
String
Returns:
String
|
Boolean
hasListableContents() → {Boolean}
Defined in: adventure/assets/tangible/hasListableContents.js, line 6
Todos: transparent containers
Returns:
Boolean
hasPlace() → {Boolean}
Defined in: adventure/assets/tangible/hasPlace.js, line 6
Returns:
Boolean
hasPropertyOnAspectAt() → {Boolean}
Defined in: adventure/assets/tangible/hasPropertyOnAspectAt.js, line 6
- this will likely go away
Returns:
Boolean
hasRopesThatBlockTravel() → {Boolean}
Defined in: adventure/assets/tangible/hasRopesThatBlockTravel.js, line 6
Returns:
Boolean
hasTiedThingsThatDragOnTravel() → {Boolean}
Defined in: adventure/assets/tangible/hasTiedThingsThatDragOnTravel.js, line 6
Returns:
Boolean
hasVessel() → {Boolean}
Defined in: adventure/assets/tangible/hasVessel.js, line 6
Returns:
Boolean
hasVesselAtAspect(aspect) → {Boolean}
Defined in: adventure/assets/tangible/hasVesselAtAspect.js, line 6
Parameters:
-
aspect
String
Returns:
Boolean
incrementDoVerbCount(verb, index)
Defined in: adventure/asset/incrementDoVerbCount.js, line 6
Inherited from: adventurejs.Asset#incrementDoVerbCount
Parameters:
-
verb
String -
index
Int
incrementTryVerbCount(verb, index)
Defined in: adventure/asset/incrementTryVerbCount.js, line 6
Inherited from: adventurejs.Asset#incrementTryVerbCount
Parameters:
-
verb
String -
index
Int
initialize(game) → {Boolean}
Defined in: adventure/assets/Tangible.js, line 1150
Overrides from: adventurejs.Matter#initialize
Parameters:
-
game
Object
- link related objects
- register parts
Returns:
Boolean
IOVallowOnce(verb) → {Boolean}
Defined in: adventure/asset/IOVallowOnce.js, line 6
Inherited from: adventurejs.Asset#IOVallowOnce
Parameters:
-
verb
String
Returns:
Boolean
IOVallowWithAnything(verb) → {Boolean}
Defined in: adventure/asset/IOVallowWithAnything.js, line 6
Inherited from: adventurejs.Asset#IOVallowWithAnything
Parameters:
-
verb
String
Returns:
Boolean
IOVallowWithAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/IOVallowWithAsset.js, line 6
Inherited from: adventurejs.Asset#IOVallowWithAsset
Parameters:
-
verb
String -
asset
Object
Returns:
Boolean
IOVallowWithNothing(verb) → {Boolean}
Defined in: adventure/asset/IOVallowWithNothing.js, line 6
Inherited from: adventurejs.Asset#IOVallowWithNothing
Parameters:
-
verb
String
Returns:
Boolean
IOVdidDo(verb) → {Boolean}
Defined in: adventure/asset/IOVdidDo.js, line 6
Inherited from: adventurejs.Asset#IOVdidDo
Parameters:
-
verb
String
_iDidDo is an alias meant for authors.
Returns:
Boolean
IOVdidDoCount(verb) → {Int}
Defined in: adventure/asset/IOVdidDoCount.js, line 6
Inherited from: adventurejs.Asset#IOVdidDoCount
Parameters:
-
verb
String
_iDoCount is an alias meant for authors.
Returns:
Int
IOVdidTry(verb) → {Boolean}
Defined in: adventure/asset/IOVdidTry.js, line 6
Inherited from: adventurejs.Asset#IOVdidTry
Parameters:
-
verb
String
_iDidTry is an alias meant for authors.
Returns:
Boolean
IOVdidTryCount(verb) → {Boolean}
Defined in: adventure/asset/IOVdidTryCount.js, line 6
Inherited from: adventurejs.Asset#IOVdidTryCount
Parameters:
-
verb
String
_iTryCount is an alias meant for authors.
Returns:
Boolean
IOVgetConnectionCount(verb) → {Int}
Defined in: adventure/asset/IOVgetConnectionCount.js, line 6
Inherited from: adventurejs.Asset#IOVgetConnectionCount
Parameters:
-
verb
String
The name of a verb.
Returns:
Int
IOVgetConnections(verb) → {Array}
Defined in: adventure/asset/IOVgetConnections.js, line 6
Inherited from: adventurejs.Asset#IOVgetConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Array
IOVgetMaxConnections(verb) → {Int}
Defined in: adventure/asset/IOVgetMaxConnections.js, line 6
Inherited from: adventurejs.Asset#IOVgetMaxConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Int
IOVhasDirectObjects(verb) → {Boolean}
Defined in: adventure/asset/IOVhasDirectObjects.js, line 6
Inherited from: adventurejs.Asset#IOVhasDirectObjects
Parameters:
-
verb
String
Returns:
Boolean
IOVhasMaxConnections(verb) → {Boolean}
Defined in: adventure/asset/IOVhasMaxConnections.js, line 6
Inherited from: adventurejs.Asset#IOVhasMaxConnections
Parameters:
-
verb
String
The name of a verb.
Returns:
Boolean
IOVincrementDoCount(verb)
Defined in: adventure/asset/IOVincrementDoCount.js, line 6
Inherited from: adventurejs.Asset#IOVincrementDoCount
Parameters:
-
verb
String
IOVincrementTryCount(verb)
Defined in: adventure/asset/IOVincrementTryCount.js, line 6
Inherited from: adventurejs.Asset#IOVincrementTryCount
Parameters:
-
verb
String
IOVisConnectedToAnything(verb) → {Boolean}
Defined in: adventure/asset/IOVisConnectedToAnything.js, line 6
Inherited from: adventurejs.Asset#IOVisConnectedToAnything
Parameters:
-
verb
String
The name of a verb.
plugIn
or tie
. For example, if this asset
is an outlet with a computer plugged into it, this method would return true.
Returns:
Boolean
IOVisConnectedToAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/IOVisConnectedToAsset.js, line 6
Inherited from: adventurejs.Asset#IOVisConnectedToAsset
Parameters:
-
verb
String
The name of the verb to test. -
asset
Object | String
A game asset or asset id to test.
Returns:
Boolean
IOVisConnectedToNothing(verb) → {Boolean}
Defined in: adventure/asset/IOVisConnectedToNothing.js, line 6
Inherited from: adventurejs.Asset#IOVisConnectedToNothing
Parameters:
-
verb
String
The name of a verb.
Returns:
Boolean
IOVsetConnection(verb, asset)
Defined in: adventure/asset/IOVsetConnection.js, line 6
Inherited from: adventurejs.Asset#IOVsetConnection
Parameters:
-
verb
String -
asset
Object
IOVsetWithAsset(verb, asset) → {Boolean}
Defined in: adventure/asset/IOVsetWithAsset.js, line 6
Inherited from: adventurejs.Asset#IOVsetWithAsset
Parameters:
-
verb
String -
asset
Object
Returns:
Boolean
IOVsetWithClass(verb, clas) → {Boolean}
Defined in: adventure/asset/IOVsetWithClass.js, line 6
Inherited from: adventurejs.Asset#IOVsetWithClass
Parameters:
-
verb
String -
clas
String
Returns:
Boolean
IOVunsetConnection(verb, asset)
Defined in: adventure/asset/IOVunsetConnection.js, line 6
Inherited from: adventurejs.Asset#IOVunsetConnection
Parameters:
-
verb
String -
asset
Object
isDOV(verb) → {Boolean}
Defined in: adventure/asset/isDOV.js, line 6
Inherited from: adventurejs.Asset#isDOV
Parameters:
-
verb
String
Returns:
Boolean
isIn(asset)
Defined in: adventure/assets/tangible/$isIn.js, line 7
Parameters:
-
asset
Object | String
Can be string or object.
if( MyGame.$('jewel').$isIn('crown') ){ // do stuff }
isIOV(verb) → {Boolean}
Defined in: adventure/asset/isIOV.js, line 6
Inherited from: adventurejs.Asset#isIOV
Parameters:
-
verb
String
Returns:
Boolean
isPlacedAtAspect() → {Boolean}
Defined in: adventure/assets/tangible/isPlacedAtAspect.js, line 6
Returns:
Boolean
isPlacedAtAspectAndAsset(aspect, asset) → {Boolean}
Defined in: adventure/assets/tangible/isPlacedAtAspectAndAsset.js, line 6
Parameters:
-
aspect
String -
asset
String
Returns:
Boolean
isState(verb) → {Boolean}
Defined in: adventure/asset/isState.js, line 6
Inherited from: adventurejs.Asset#isState
Parameters:
-
verb
String
Returns:
Boolean
isWithinYRange(asset) → {Boolean}
Defined in: adventure/assets/tangible/isWithinYRange.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
linkRegisteredParts()
Defined in: adventure/assets/tangible/linkRegisteredParts.js, line 6
moveFrom(asset) → {Boolean}
Defined in: adventure/assets/tangible/$moveFrom.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
moveFrom(asset) → {Boolean}
Defined in: adventure/assets/tangible/moveFrom.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
moveTo(aspect, asset)
Defined in: adventure/assets/tangible/moveTo.js, line 6
Parameters:
-
aspect
String -
asset
Object
onAddSubstanceToThis(asset)
Defined in: adventure/assets/tangible/onAddSubstanceToThis.js, line 6
Parameters:
-
asset
Object
onChangeGravity()
Defined in: adventure/assets/tangible/onChangeGravity.js, line 6
onChangeMoisture(asset)
Defined in: adventure/assets/tangible/onChangeMoisture.js, line 6
Todos: This should probably take a moisture value rather than an asset.
Parameters:
-
asset
Object
onChangeTemperature()
Defined in: adventure/assets/tangible/onChangeTemperature.js, line 6
onMoveThatToThis(asset, where) → {Boolean}
Defined in: adventure/assets/tangible/onMoveThatToThis.js, line 6
Parameters:
-
asset
Object -
where
String
Returns:
Boolean
onNestThatToThis(player) → {Boolean}
Defined in: adventure/assets/tangible/onNestThatToThis.js, line 6
Parameters:
-
player
Object
Returns:
Boolean
onRemoveThatFromThis(asset) → {Boolean}
Defined in: adventure/assets/tangible/onRemoveThatFromThis.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
onSubtractSubstanceFromThis(asset)
Defined in: adventure/assets/tangible/onSubtractSubstanceFromThis.js, line 6
Parameters:
-
asset
Object
onTieThisToThat(asset) → {Boolean}
Defined in: adventure/assets/tangible/onTieThisToThat.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
onUnnestThatFromThis(player) → {Boolean}
Defined in: adventure/assets/tangible/onUnnestThatFromThis.js, line 6
Parameters:
-
player
Object
Returns:
Boolean
onUntieThisFromThat(asset) → {Boolean}
Defined in: adventure/assets/tangible/onUntieThisFromThat.js, line 6
Parameters:
-
asset
Object
Returns:
Boolean
put(preposition, indirect_object)
Defined in: adventure/assets/tangible/$put.js, line 9
Parameters:
-
preposition
String -
indirect_object
Object | String
asset object or name/id
redirectVerb(oldVerb, newVerb)
Defined in: adventure/asset/redirectVerb.js, line 7
Inherited from: adventurejs.Asset#redirectVerb
Parameters:
-
oldVerb
String -
newVerb
String
registerParts()
Defined in: adventure/assets/tangible/registerParts.js, line 6
removeAssetAt() → {Array}
Defined in: adventure/assets/tangible/removeAssetAt.js, line 6
Returns:
Array
removeThatFromThis(asset)
Defined in: adventure/assets/tangible/removeThatFromThis.js, line 6
Parameters:
-
asset
Object
set(props) → {Object}
Defined in: adventure/Atom.js, line 119
Inherited from: adventurejs.Atom#set
Parameters:
-
props
Object
A generic object containing properties to copy to the Object instance.
Returns:
Object
Returns the instance the method is called on (useful for chaining calls.)
setAllAspectsContentsKnown()
Defined in: adventure/assets/tangible/setAllAspectsContentsKnown.js, line 6
setAllAspectsContentsSeen()
Defined in: adventure/assets/tangible/setAllAspectsContentsSeen.js, line 6
setAspectAt(aspect) → {Array}
Defined in: adventure/assets/tangible/setAspectAt.js, line 6
Parameters:
-
aspect
string
The aspect to add.
Returns:
Array
setAspectContentsKnown()
Defined in: adventure/assets/tangible/setAspectContentsKnown.js, line 6
setAspectContentsSeen()
Defined in: adventure/assets/tangible/setAspectContentsSeen.js, line 6
setAttachmentsKnown()
Defined in: adventure/assets/tangible/setAttachmentsKnown.js, line 6
setClosed(bool)
Defined in: adventure/assets/tangible/setClosed.js, line 7
Parameters:
-
bool
Boolean
setDOV(verb, params)
Defined in: adventure/asset/setDOV.js, line 7
Inherited from: adventurejs.Asset#setDOV
Parameters:
-
verb
String -
params
Object
setVerbSubscription
with direct object specified.
setDOVs(verb, params)
Defined in: adventure/asset/setDOVs.js, line 7
Inherited from: adventurejs.Asset#setDOVs
Parameters:
-
verb
String -
params
Object
setVerbSubscription
with direct object specified.
setIOV(verb, params)
Defined in: adventure/asset/setIOV.js, line 7
Inherited from: adventurejs.Asset#setIOV
Parameters:
-
verb
String -
params
Object
setVerbSubscription
with indirect object specified.
setIOVs(verb, params)
Defined in: adventure/asset/setIOVs.js, line 7
Inherited from: adventurejs.Asset#setIOVs
Parameters:
-
verb
String -
params
Object
setVerbSubscription
with indirect object specified.
setKnown(bool)
Defined in: adventure/assets/tangible/setKnown.js, line 7
Overrides from: adventurejs.Matter#setKnown
Parameters:
-
bool
Boolean
setLinkedState(bool)
Defined in: adventure/asset/setLinkedState.js, line 7
Inherited from: adventurejs.Asset#setLinkedState
Parameters:
-
bool
Boolean
setLocked(bool)
Defined in: adventure/assets/tangible/setLocked.js, line 7
Parameters:
-
bool
Boolean
setObjectOfVerbs(object_of, verb)
Defined in: adventure/asset/setObjectOfVerbs.js, line 7
Inherited from: adventurejs.Asset#setObjectOfVerbs
Parameters:
-
object_of
String -
verb
String
setVerbSubscription
.
setPlace(aspect, asset_id) → {Object}
Defined in: adventure/assets/tangible/setPlace.js, line 6
Parameters:
-
aspect
String -
asset_id
String
Returns:
Object
setPosition(params) → {Object}
Defined in: adventure/assets/tangible/setPosition.js, line 6
Parameters:
-
params
Object
Returns:
Object
setSealed(bool)
Defined in: adventure/assets/tangible/setSealed.js, line 7
Parameters:
-
bool
Boolean
setSeen(bool)
Defined in: adventure/assets/tangible/setSeen.js, line 7
Parameters:
-
bool
Boolean
setState(verb, bool)
Defined in: adventure/asset/setState.js, line 6
Inherited from: adventurejs.Asset#setState
Parameters:
-
verb
String -
bool
Boolean
setUsed(bool)
Defined in: adventure/assets/tangible/setUsed.js, line 7
Parameters:
-
bool
Boolean
setVerbSubscription(object_of, verb, params)
Defined in: adventure/asset/setVerbSubscription.js, line 6
Inherited from: adventurejs.Asset#setVerbSubscription
Todos: phase out earlier version
Parameters:
-
object_of
String -
verb
String | Object
An early version takes a string, with separate params object. A later version takes an object that includes the verb name as an object key and params as value. -
params
Object
An optional param that works with the earlier version.
setVerbSubscriptionsWithAssets(description) → {String}
Defined in: adventure/asset/setVerbSubscriptionsWithAssets.js, line 6
Inherited from: adventurejs.Asset#setVerbSubscriptionsWithAssets
Parameters:
-
description
String
Returns:
String
setVerbSubscriptionsWithConnection()
Defined in: adventure/asset/setVerbSubscriptionsWithConnection.js, line 6
Inherited from: adventurejs.Asset#setVerbSubscriptionsWithConnection
dov[verb]
and some verbs make connections between assets
that they act upon, which are recorded in
dov[verb].with_params.connections
.
Authors can preset connections in their game file, and
in case they only set one of two connected assets, we want
to ensure that both assets are marked as connected,
so we check that here.
setVesselAt(aspect) → {Array}
Defined in: adventure/assets/tangible/setVesselAt.js, line 6
Parameters:
-
aspect
string
The aspect to add.
Returns:
Array
setX(value) → {Float}
Defined in: adventure/assets/tangible/setX.js, line 6
Parameters:
-
value
Float
Returns:
Float
setY(value) → {Float}
Defined in: adventure/assets/tangible/setY.js, line 6
Parameters:
-
value
Float
Returns:
Float
setZ(value) → {Float}
Defined in: adventure/assets/tangible/setZ.js, line 6
Parameters:
-
value
Float
Returns:
Float
toggleState(verb) → {Boolean}
Defined in: adventure/asset/toggleState.js, line 6
Inherited from: adventurejs.Asset#toggleState
Parameters:
-
verb
String
Returns:
Boolean
undestroy()
Defined in: adventure/asset/undestroy.js, line 7
Inherited from: adventurejs.Asset#undestroy
unfasten() → {string}
Defined in: adventure/assets/tangible/unfasten.js, line 7
Returns:
string
unredirectVerb(oldVerb)
Defined in: adventure/asset/unredirectVerb.js, line 7
Inherited from: adventurejs.Asset#unredirectVerb
Parameters:
-
oldVerb
String
unsetDOV(verb)
Defined in: adventure/asset/unsetDOV.js, line 7
Inherited from: adventurejs.Asset#unsetDOV
Parameters:
-
verb
String
unsetVerbSubscription
.
unsetDOVs(verbs)
Defined in: adventure/asset/unsetDOVs.js, line 7
Inherited from: adventurejs.Asset#unsetDOVs
Parameters:
-
verbs
Array
unsetVerbSubscription
.
unsetIOV(verb)
Defined in: adventure/asset/unsetIOV.js, line 7
Inherited from: adventurejs.Asset#unsetIOV
Parameters:
-
verb
String
unsetVerbSubscription
.
unsetIOVs(verbs)
Defined in: adventure/asset/unsetIOVs.js, line 7
Inherited from: adventurejs.Asset#unsetIOVs
Parameters:
-
verbs
Array
unsetVerbSubscription
.
unsetVerbSubscription(object_of, verb)
Defined in: adventure/asset/unsetVerbSubscription.js, line 6
Inherited from: adventurejs.Asset#unsetVerbSubscription
Parameters:
-
object_of
String -
verb
String
validate(game) → {Boolean}
Defined in: adventure/assets/Tangible.js, line 1089
Overrides from: adventurejs.Matter#validate
Parameters:
-
game
Object
- check for implied dependencies and make them explicit
- check for proper asset location
- set parent associations
Returns:
Boolean
Properties |
absorption_quantity :Boolean
Defined in: adventure/assets/Tangible.js, line 325
Default value: 0
adjectives :Getter/Setter
Defined in: adventure/Asset.js, line 295
Inherited from: adventurejs.Asset#adjectives
aperture :String
Defined in: adventure/assets/tangibles/Exit.js, line 298
Default value: ""
append_written_strings_to_description :Boolean
Defined in: adventure/assets/Tangible.js, line 515
Default value: false
article_name :Getter
Defined in: adventure/Asset.js, line 388
Inherited from: adventurejs.Asset#article_name
articlename :Getter
Defined in: adventure/Asset.js, line 402
Inherited from: adventurejs.Asset#articlename
Articlename :Getter
Defined in: adventure/Asset.js, line 422
Inherited from: adventurejs.Asset#Articlename
aspects :Object
Defined in: adventure/assets/Tangible.js, line 81
Default value: {}
buoyancy :float
Defined in: adventure/assets/Tangible.js, line 317
Default value: 0
Todos: Implement.
can :Object
Defined in: adventure/Asset.js, line 51
Inherited from: adventurejs.Asset#can
can.auto_open :Boolean
Defined in: adventure/assets/Tangible.js, line 333
Default value: false
Nested property of Can
can.auto_unlock :Boolean
Defined in: adventure/assets/Tangible.js, line 342
Default value: false
Nested property of Can
can.auto_unseal :Boolean
Defined in: adventure/assets/Tangible.js, line 351
Default value: false
Nested property of Can
can.be_swung_at :Boolean
Defined in: adventure/assets/Tangible.js, line 490
Default value: true
Nested property of Can
collection :Getter/Setter
Defined in: adventure/Asset.js, line 169
Inherited from: adventurejs.Asset#collection
control_positions :int
Defined in: adventure/assets/Tangible.js, line 472
Default value: 1
control_target_id :String
Defined in: adventure/assets/Tangible.js, line 465
Default value: ""
current_position :int
Defined in: adventure/assets/Tangible.js, line 480
Default value: 0
default_aspect :String
Defined in: adventure/assets/Tangible.js, line 109
Default value: "on"
default_aspect_for_climb :String
Defined in: adventure/assets/Tangible.js, line 126
Default value: "on"
Todos: Move string to const
default_aspect_for_swing_to :Boolean
Defined in: adventure/assets/Tangible.js, line 270
Default value: false
default_posture_for_swing_to :Boolean
Defined in: adventure/assets/Tangible.js, line 262
Default value: false
definite_article :String
Defined in: adventure/Asset.js, line 200
Inherited from: adventurejs.Asset#definite_article
Default value: 'the'
definite_name :Getter
Defined in: adventure/Asset.js, line 360
Inherited from: adventurejs.Asset#definite_name
description :*
Defined in: adventure/Asset.js, line 441
Inherited from: adventurejs.Asset#description
descriptions :Object
Defined in: adventure/Asset.js, line 145
Inherited from: adventurejs.Asset#descriptions
description
is required, all others
are optional. Most of these apply only to Tangible Asset.
descriptions.description
-descriptions.brief
- used for room descriptions if player has typed "brief"descriptions.verbose
- used for room descriptions if player has typed "verbose"descriptions.listen
- used if player types "listen" or "listen to thing"descriptions.in
- used if player types "look in thing"descriptions.through
- used if player types "look through thing"descriptions.smell
- used if player types "smell thing"descriptions.taste
- used if player types "taste thing"descriptions.touch
- used if player types "touch thing"descriptions.careful
- used if player types "carefully examine thing"
did_do_verb :Object
Defined in: adventure/Asset.js, line 305
Inherited from: adventurejs.Asset#did_do_verb
did_do_verb_count :Object
Defined in: adventure/Asset.js, line 314
Inherited from: adventurejs.Asset#did_do_verb_count
did_try_verb :Object
Defined in: adventure/Asset.js, line 324
Inherited from: adventurejs.Asset#did_try_verb
did_try_verb_count :Object
Defined in: adventure/Asset.js, line 333
Inherited from: adventurejs.Asset#did_try_verb_count
dimensions :Object
Defined in: adventure/assets/Tangible.js, line 633
Default value: {}
direction :String
Defined in: adventure/assets/tangibles/things/Aperture.js, line 81
Default value: ""
Todos: Use lookup table for this? In a GUI this would be a pull-down menu.
dont_use_articles :Boolean
Defined in: adventure/Asset.js, line 227
Inherited from: adventurejs.Asset#dont_use_articles
Default value: false
dov :Boolean
Defined in: adventure/Asset.js, line 73
Inherited from: adventurejs.Asset#dov
Default value: {}
emits :Boolean
Defined in: adventure/assets/Tangible.js, line 581
Default value: false
Todos: Write logic for this.
exclude_from_lookup :Boolean
Defined in: adventure/Asset.js, line 119
Inherited from: adventurejs.Asset#exclude_from_lookup
Default value: false
exit :String
Defined in: adventure/assets/tangibles/things/Aperture.js, line 90
Default value: ""
game :Getter
Defined in: adventure/Atom.js, line 110
Inherited from: adventurejs.Atom#game
this.game
.
image :String
Defined in: adventure/Asset.js, line 343
Inherited from: adventurejs.Asset#image
indefinite_article :String
Defined in: adventure/Asset.js, line 208
Inherited from: adventurejs.Asset#indefinite_article
Default value: 'a'
indefinite_name :Getter
Defined in: adventure/Asset.js, line 374
Inherited from: adventurejs.Asset#indefinite_name
iov :Boolean
Defined in: adventure/Asset.js, line 83
Inherited from: adventurejs.Asset#iov
Default value: {}
is :Object
Defined in: adventure/Asset.js, line 38
Inherited from: adventurejs.Asset#is
asset.is.state
.
Note that there is also an asset.$is() method which
is related to this, but is a distinct function.
is.abstract :Boolean
Defined in: adventure/asset/Asset_Is.js, line 91
Inherited from: adventurejs.Asset#is.abstract
Default value: false
Nested property of Is
is.buttoned :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 136
Default value: false
Nested property of Is
is.climbable :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 181
Default value: false
Nested property of Is
is.closed :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 158
Default value: false
Nested property of Is
is.collection :Boolean
Defined in: adventure/asset/Asset_Is.js, line 51
Inherited from: adventurejs.Asset#is.collection
Default value: true
Nested property of Is
is.deep_nest :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 210
Default value: false
Nested property of Is
is.destroyed :Boolean
Defined in: adventure/asset/Asset_Is.js, line 36
Inherited from: adventurejs.Asset#is.destroyed
Default value: false
Nested property of Is
is.distant :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 98
Default value: false
Nested property of Is
is.extant :Boolean
Defined in: adventure/asset/Asset_Is.js, line 44
Inherited from: adventurejs.Asset#is.extant
Default value: true
Nested property of Is
is.false_nest :Boolean
is.fixed :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 143
Default value: false
Nested property of Is
is.global :Boolean
Defined in: adventure/asset/Asset_Is.js, line 82
Inherited from: adventurejs.Asset#is.global
Default value: false
Nested property of Is
is.hollow :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 68
Default value: false
Nested property of Is
is.initialized :Boolean
Defined in: adventure/asset/Asset_Is.js, line 65
Inherited from: adventurejs.Asset#is.initialized
Default value: false
Nested property of Is
is.known :Boolean
Defined in: adventure/asset/Asset_Is.js, line 27
Inherited from: adventurejs.Asset#is.known
Default value: false
Nested property of Is
Todos: In games with multiple characters, any character the player takes will share this knowledge. May want an option to set this per player character.
is.listed_in_parent :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 91
Default value: true
Nested property of Is
is.listed_in_room :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 75
Default value: true
Nested property of Is
is.locked :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 151
Default value: false
Nested property of Is
is.lookthroughable :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 202
Default value: false
Nested property of Is
is.nameless :Boolean
Defined in: adventure/asset/Asset_Is.js, line 72
Inherited from: adventurejs.Asset#is.nameless
Default value: false
Nested property of Is
is.peddleable :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 188
Default value: false
Nested property of Is
is.plugged :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 29
Inherited from: adventurejs.Asset#is.plugged
Default value: false
Nested property of Is
is.pluggedIn :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 36
Inherited from: adventurejs.Asset#is.pluggedIn
Default value: false
Nested property of Is
is.rideable :Boolean
Defined in: adventure/assets/tangibles/things/Rideable.js, line 49
Default value: false
Nested property of Is
Normally, when putting one Tangible in/on/under/behind another, the child asset is added to the parent asset's in/on/under/behind Aspect.
In the case of Characters, they can only be in the Room they are in. When Characters move in/on/under/behind Tangible subclasses such as Chairs or Beds, they become nested, which is a secondary form of parent/child relationship.
For example, the player is IN a room. A bed is also IN the same room. When the player gets ON the bed, the player remains IN the room and also becomes NESTED ON the bed.
We do this for a couple of reasons. One is to prevent overcomplicating the routines that determine what Tangible Assets are considered to be within scope when parsing player input. Another is to avoid circular child/parent relationships, which overcomplicate save/restore operations. Circular relationships also overcomplicate parsing player input.
For example, imagine that a player holds a skateboard IN their inventory and then stands ON the skateboard. If both objects were in each other's Aspects, that would be a circular relationship. By nesting the player to the skateboard, the skateboard can remain in the player's inventory with fewer complications.
is.screwed :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 122
Default value: false
Nested property of Is
is.sealed :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 165
Default value: false
Nested property of Is
is.singleton :Boolean
Defined in: adventure/asset/Asset_Is.js, line 98
Inherited from: adventurejs.Asset#is.singleton
Default value: false
Nested property of Is
Todos: Have only applied this to several special global assets, and have not implemented any code around it. Is it still useful?
is.skateable :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 195
Default value: false
Nested property of Is
is.supported :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 58
Default value: false
Nested property of Is
is.typing_target :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 51
Default value: false
Nested property of Is
is.unleavable :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 172
Default value: false
Nested property of Is
is.unlisted_but_list_children :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 82
Default value: false
Nested property of Is
is.validated :Boolean
Defined in: adventure/asset/Asset_Is.js, line 58
Inherited from: adventurejs.Asset#is.validated
Default value: false
Nested property of Is
is.watertight :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 106
Default value: false
Nested property of Is
Todos: Write logic for this. Is this the same as airtight?
is.worn :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 115
Default value: false
Nested property of Is
is.zipped :Boolean
Defined in: adventure/assets/Tangible_Is.js, line 129
Default value: false
Nested property of Is
list_group :int
Defined in: adventure/assets/Tangible.js, line 716
Default value: 0
Todos: Implement this or remove it.
location_required :Boolean
Defined in: adventure/assets/Tangible.js, line 607
Default value: false
location_unneccessary :Boolean
Defined in: adventure/assets/Tangible.js, line 616
Default value: false
min_light_required_to_see :float
Defined in: adventure/assets/Tangible.js, line 624
Default value: 0.5
Todos: Write logic for this in selectVisible.js
must :Object
Defined in: adventure/Asset.js, line 60
Inherited from: adventurejs.Asset#must
must.be_in_hands_to_look_through :Boolean
Defined in: adventure/assets/Tangible_Must.js, line 34
Default value: false
Nested property of Must
must.be_in_hands_to_look_with :Boolean
Defined in: adventure/assets/Tangible_Must.js, line 27
Default value: false
Nested property of Must
must.be_in_hands_to_read :Boolean
Defined in: adventure/assets/Tangible_Must.js, line 48
Default value: false
Nested property of Must
must.be_worn_to_look_with :Boolean
Defined in: adventure/assets/Tangible_Must.js, line 41
Default value: false
Nested property of Must
must.let_go_after_swing :Boolean
Defined in: adventure/assets/Tangible_Must.js, line 55
Default value: false
Nested property of Must
Name :String
Defined in: adventure/Atom.js, line 97
Inherited from: adventurejs.Atom#Name
name_is_proper :Boolean
Defined in: adventure/Asset.js, line 184
Inherited from: adventurejs.Asset#name_is_proper
Default value: false
noun :String
Defined in: adventure/Asset.js, line 237
Inherited from: adventurejs.Asset#noun
on_drink_destroy :Boolean
Defined in: adventure/assets/Tangible.js, line 409
Default value: false
on_drink_empty :Boolean
Defined in: adventure/assets/Tangible.js, line 416
Default value: false
on_eat_destroy :Boolean
Defined in: adventure/assets/Tangible.js, line 424
Default value: false
on_tie_to_drag_behind_rope :Boolean
Defined in: adventure/assets/Tangible.js, line 540
Default value: false
on_tie_to_this_take_this :Boolean
Defined in: adventure/assets/Tangible.js, line 531
Default value: false
opacity :float
Defined in: adventure/assets/Tangible.js, line 649
Default value: 1
parts :Array
Defined in: adventure/assets/Tangible.js, line 812
Default value: []
MyGame.createAsset({
class: "Sink",
name: "sink",
place: { in: "Bathroom" },
descriptions:{
look: function()
{
return "A pedestal sink with porcelain handles and
a stainless steel faucet. Its drain appears to be
$( sink drain is| open or| closed ). ";
}
},
parts: [
// each of these is a name of another Asset
"hot water handle",
"cold water handle",
"faucet",
"drain",
"plug"
],
});
place :Object
Defined in: adventure/assets/Tangible.js, line 940
place :Object
Defined in: adventure/assets/Tangible.js, line 1039
this.aspects.in = new adventurejs.Aspect( "in", this.game_name )
.set({
"parent_id": this.id,
});
this.aspects.in.vessel = new adventurejs.Vessel( "in", game_name )
.set({
"volume": Infinity,
"maxvolume": Infinity,
"substance_id": substance_id,
});
This is to make it easier and more intuitive for authors to set things like sand in a desert room or water in a swamp room, so that if player inputs "fill bowl with water", it can be assumed that the room is the source of the substance. When multiple substance containers are available, usually disambiguation occurs, but in the case of a room containing a substance, the room is assumed to be the source.
player_can_exit :Boolean
Defined in: adventure/assets/Tangible.js, line 168
Default value: false
player_can_hang_on_this :Boolean
Defined in: adventure/assets/Tangible.js, line 285
Default value: false
plural :String
Defined in: adventure/Asset.js, line 266
Inherited from: adventurejs.Asset#plural
position :Object
Defined in: adventure/assets/Tangible.js, line 683
Default value: {x:0,y:0,z:0}
- managing reachability of objects that are on top of other things
- managing reachability of objects in the room while player is climbing or standing atop a thing
- dividing a room up into reachable/unreachable spaces
- managing player depth in an underwater location
- managing player position while flying/floating/levitating
MyGame.createAsset({
class: "Stalactite",
name: "stalactite",
place: { on: "Colossal Cave" },
descriptions: {look: "It clings tight to the ceiling. ",},
height: -2,
position: { x:0, y:5, z:0 },
});
Also see related height.
posture_position :Boolean
Defined in: adventure/assets/Tangible.js, line 292
Default value: "default"
this.game.dictionary.getStringLookup( type, value )
.
Can be referenced in custom code through
MyGame.dictionary.getStringLookup( type, value )
.
print_bold :Boolean
Defined in: adventure/Asset.js, line 105
Inherited from: adventurejs.Asset#print_bold
Default value: false
print_italic :Boolean
Defined in: adventure/Asset.js, line 112
Inherited from: adventurejs.Asset#print_italic
Default value: false
print_open_or_closed :Boolean
Defined in: adventure/assets/Tangible.js, line 928
Default value: false
pronoun :String
Defined in: adventure/Asset.js, line 246
Inherited from: adventurejs.Asset#pronoun
propername :String
Defined in: adventure/Asset.js, line 191
Inherited from: adventurejs.Asset#propername
quirks :Object
Defined in: adventure/Asset.js, line 94
Inherited from: adventurejs.Asset#quirks
quirks.stand_means_get_off
set to true, player
will get off the chair, as opposed to trying to stand in
place on the chair.
quirks.climb_means_go_on :Boolean
Defined in: adventure/assets/Tangible.js, line 134
Default value: false
Nested property of Quirks
quirks.climb_means_stand_on :Boolean
Defined in: adventure/assets/Tangible.js, line 143
Default value: false
Nested property of Quirks
quirks.crawl_means_go :Boolean
Defined in: adventure/assets/Tangible.js, line 159
Default value: false
Nested property of Quirks
quirks.get_up_means_get_off :Boolean
Defined in: adventure/assets/Tangible.js, line 184
Default value: false
Nested property of Quirks
quirks.go_on_means_climb :Boolean
Defined in: adventure/assets/Tangible.js, line 193
Default value: false
Nested property of Quirks
quirks.in_means_on :Boolean
Defined in: adventure/assets/Tangible.js, line 202
Default value: false
Nested property of Quirks
quirks.jump_means_jump_off :Boolean
Defined in: adventure/assets/Tangible.js, line 230
Default value: false
Nested property of Quirks
quirks.jump_means_jump_on :Boolean
Defined in: adventure/assets/Tangible.js, line 222
Default value: true
Nested property of Quirks
quirks.let_go_of_means_go_down :Boolean
Defined in: adventure/assets/Tangible.js, line 572
Default value: false
Nested property of Quirks
quirks.let_go_of_means_go_off :Boolean
Defined in: adventure/assets/Tangible.js, line 563
Default value: false
Nested property of Quirks
quirks.look_with_means_look_through :Boolean
Defined in: adventure/assets/Tangible.js, line 431
Default value: false
Nested property of Quirks
quirks.pick_means_unlock :Boolean
Defined in: adventure/assets/Tangible.js, line 360
Default value: false
Nested property of Quirks
quirks.point_means_aim :Boolean
Defined in: adventure/assets/Tangible.js, line 726
Default value: false
Nested property of Quirks
quirks.put_means_pour :Boolean
Defined in: adventure/assets/Tangible.js, line 212
Default value: false
Nested property of Quirks
quirks.stand_means_get_off :Boolean
Defined in: adventure/assets/Tangible.js, line 175
Default value: false
Nested property of Quirks
quirks.step_on_means_stamp_on :Boolean
Defined in: adventure/assets/Tangible.js, line 245
Default value: false
Nested property of Quirks
quirks.step_on_means_stand_on :Boolean
Defined in: adventure/assets/Tangible.js, line 253
Default value: false
Nested property of Quirks
quirks.take_means_hold :Boolean
Defined in: adventure/assets/Tangible.js, line 555
Default value: false
Nested property of Quirks
quirks.write_on_means_write_in :Boolean
Defined in: adventure/assets/Tangible.js, line 499
Default value: false
Nested property of Quirks
redirected_verbs :Boolean
Defined in: adventure/Asset.js, line 351
Default value: {}
registerableClasses :Object
Defined in: adventure/assets/Tangible.js, line 863
Default value: {}
registered_parts :Object
Defined in: adventure/assets/Tangible.js, line 855
Default value: {}
show_things_this_is_tied_to_in_description :Boolean
Defined in: adventure/assets/Tangible.js, line 548
Default value: true
singlePluralPairs :Array
Defined in: adventure/Asset.js, line 254
Inherited from: adventurejs.Asset#singlePluralPairs
split_name_for_world_lookup :Boolean
Defined in: adventure/Asset.js, line 128
Inherited from: adventurejs.Asset#split_name_for_world_lookup
Default value: true
But, an author might want to name a thing, eg, "hole in the ground", in which case we wind up with lookup table entries for "hole" and "in" and "the" and "ground", which is likely to lead to bad input parsing. To avoid name splitting, set split_name_for_world_lookup to false. The object's full name will still be added to the lookup.
things_player_can_climb_to_from_this :Array
Defined in: adventure/assets/Tangible.js, line 152
Default value: []
things_player_can_do_all_verbs_to_from_this :Array
Defined in: adventure/assets/Tangible.js, line 117
Default value: []
Todos: Revisit this. Use things_within_reach for all reach settings?
things_player_can_jump_to_from_this :Array
Defined in: adventure/assets/Tangible.js, line 238
Default value: []
things_player_can_reach_from_this :Array
Defined in: adventure/assets/Tangible.js, line 736
Default value: []
things_player_can_reach_from_this is a broad catchall that covers all nesting options. What this means is that players can reach assets in this list no matter how they are nested within this asset. Going back to the example of the chair and desk, if the chair has this property set thusly...
this.things_player_can_reach_from_this = [ 'desk' ];
...it means that the player, seated in the chair,
can reach any part of the desk: not just stuff that's on it, but also stuff
under it or behind it. That might be fine for your purposes.
Or, you might want more granular control. Let's say there's an electrical outlet under the desk,
and you want that players shouldn't be able to reach it without actually crawling under the desk.
If you need that kind of precision, you can manage reachability for each aspect of an asset.
For more information about that, see
Aspect.things_player_can_reach_from_this_aspect
and
Aspect.things_player_can_reach_from_positions_of_this_aspect.
things_player_can_reach_from_top_of_this :Array
Defined in: adventure/assets/Tangible.js, line 765
Default value: []
this.things_player_can_reach_from_top_of_this = [ 'window' ];
things_player_can_reach_from_this is a convenience method for a common situation.
If you need more control over reachability from specific positions within an aspect,
like left/right/front/back, you can manage that at the aspect level.
For more information about that, see
Aspect.things_player_can_reach_from_this_aspect
and
Aspect.things_player_can_reach_from_positions_of_this_aspect.
things_player_can_reach_from_top_of_this :Array
Defined in: adventure/assets/Tangible.js, line 788
Default value: []
this.things_player_can_reach_from_bottom_of_this = [ 'alcove' ];
things_player_can_reach_from_bottom_of_this is a convenience method for a common situation.
If you need more control over reachability from specific positions within an aspect,
like left/right/front/back, you can manage that at the aspect level.
For more information about that, see
Aspect.things_player_can_reach_from_this_aspect
and
Aspect.things_player_can_reach_from_positions_of_this_aspect.
things_player_can_swing_to_across_this :Getter/Setter
Defined in: adventure/assets/Tangible.js, line 909
Default value: false
things_player_can_swing_to_from_this :Array
Defined in: adventure/assets/Tangible.js, line 278
Default value: []
turn_positions :int
Defined in: adventure/assets/Tangible.js, line 443
Default value: 1
turn_rotation :float
Defined in: adventure/assets/Tangible.js, line 451
Default value: 0
turn_target_id :String
Defined in: adventure/assets/Tangible.js, line 459
Default value: ""
typing_target_id :String
Defined in: adventure/assets/Tangible.js, line 522
Default value: ""
use_definite_article_in_lists :Boolean
Defined in: adventure/Asset.js, line 216
Inherited from: adventurejs.Asset#use_definite_article_in_lists
Default value: false
use_once_message :Boolean
Defined in: adventure/assets/Tangible.js, line 369
Default value: false
written_strings :Array
Defined in: adventure/assets/Tangible.js, line 508
Default value: []