Skip to content

ASContainer

PT | EN
Inherits: Resource

Archetype blueprint for an actor.

Description

[ASContainer] stores the catalog of abilities, initial effects, and the attribute set configuration for an entity.

Properties

TypeNameDefault
ASAbility[]abilities[]
List of all abilities this archetype can potentially use.
ASAttributeSetattribute_set
The attribute configuration and default unlocked abilities.
ASCue[]cues[]
Audiovisual cues for this archetype.
ASEffect[]effects[]
Initial effects applied on startup.
StringName[]events[]
List of events associated with this container that can be dispatched or heard.

Methods

ReturnName
voidadd_ability( ability: ASAbility)
Adds an ability resource to the container’s catalog.
voidadd_cue( cue: ASCue)
Adds a cue resource to the container’s catalog.
voidadd_effect( effect: ASEffect)
Adds an effect resource to the initial effects list.
boolhas_ability( ability: ASAbility) const
Checks if an ability is in the catalog.
boolhas_cue( tag: StringName) const
Returns true if a cue with the specified tag exists in the container.
boolhas_cue_resource( cue: ASCue) const
Check if the container’s catalog includes the specific [ASCue] resource reference.
boolhas_effect( effect: ASEffect) const
Returns true if the specified effect resource is present in the container.