Script CharacterComponents
Components
Components
- actionFilter
-
default:
{ [action.Direction.UP_RIGHT] = true, [action.Direction.UP_LEFT] = true, [action.Direction.DOWN_LEFT] = true, [action.Direction.DOWN_RIGHT] = true, }
- ignoreActions constant table
- amplifiedMovement
-
- distance int (default 0)
- bossFighter
- character
-
- canAct bool Indicates whether the entity is allowed to perform actions this turn (default false)
- characterWithAttachment
-
- attachmentType constant string (default "")
- attachmentID entityID (default 0)
- controllable
-
- playerID int (default 0)
- damageCountdown
-
- damage constant int (default 0)
- type constant int (default damage.Type.SUICIDE)
- countdownReset constant int (default 0)
- killerName constant localizedString (default 0)
- countdown int (default 0)
- descentCollectCurrency
-
- currencyType constant string (default "gold")
- enemy
- focusable
-
- flags int (default 0)
- hasMoved
-
- value bool (default true)
- heavy
- hudHideSlots
-
default:
{}
- hidden constant table
- hudOpacity
-
default:
{}
- opacity constant float (default 1)
- excludedSlots constant table
- hudPlayerListUseAttachmentSprite
- hudTextOverlay
-
- text string (default "")
- idleOnLevelStart
- innateSpellcasts
-
default:
{}
- mapping constant table
- killCredit
-
- mask int (default -1)
- lowPercent
-
default:
{}
- allowedItems constant table
- monkeyLike
- movable
-
Movement components
- moveType constant int (default move.Type.NORMAL)
- multiTile
-
default:
{}
- offsets constant table
- playableCharacter
-
- lobbyOrder constant float (default 0)
- precomputeSpellTargets
- Spellcasting components
- priority
-
- value int (default 0)
- remappedMovement
-
default:
{}
- map constant table
- spawnApparitions
-
- component constant string Name of component used to determine apparitions to spawn, such as apparitionSpawnOnItemVision (default "")
- stasisApproacher
- swapEntitiesOnDeath
-
- component constant string (default "item")
- sound constant string (default "teleport")
- flyaway constant localizedString (default "Teleported!")
- takeDamageOnUntoggledMovement
-
- damage constant int (default 1)
- type constant int (default damage.Type.BLOOD)
- killerName constant localizedString (default 0)
- telefraggable
-
- damage constant int (default 999)
- type constant int (default damage.Type.PHASING)
- teleportingBombs
-
- teleportFlags constant int (default attack.Flag.UNDEAD)
- suppressFlags constant int (default attack.Flag.mask(attack.Flag.CHARACTER)
- transformable
-
- targetType constant string (default "")
- bloodCost constant int (default 0)