Script ProvokableComponents

Components

provokable "Provokable" entities change their behavior upon being provoked
provokableAIOverride Upon provocation, change the entity's components (optionally only on the first hit)
provokableAttackableFlags Upon provocation, changes the entity's attackability
provokableConvert Upon provocation, convert the entity to a different type
provokableFearOtherTeams Upon provocation, fear the entity if the attacker’s team doesn’t match
provokableFearability Upon provocation, changes the entity's fearability
provokablePreventActions Upon provocation, prevent the entity from acting until end of turn
provokableShieldBreak Upon provocation, disable this entity’s shield
provokableStartFight Upon provocation, starts a secret room fight
provokeOnEarthquake The entity will be provoked after taking earthquake damage.
provokeOnHit The entity will be provoked upon taking any amount of damage
provokeOnProximity The entity will be provoked if it’s close to its target when running every-frame checks
provokeOnProximityCheckMove The entity will be provoked if it’s close to its target when attempting to move
provokeOnShrineDeath The entity will be provoked when an unactivated shrine dies within its home area
provokeOnTrespass The entity will be provoked upon an enemy entity trespassing its shop
provokeOnWallRemoval The entity will be provoked when it stops being inside a wall
sleepWhileUnprovoked


Components

provokable
"Provokable" entities change their behavior upon being provoked
  • active bool (default false)
provokableAIOverride
Upon provocation, change the entity's components (optionally only on the first hit)
  • id constant int (default 0)
provokableAttackableFlags
Upon provocation, changes the entity's attackability
  • add constant int (default 0)
  • remove constant int (default 0)
provokableConvert
Upon provocation, convert the entity to a different type
  • targetType constant string (default "")
provokableFearOtherTeams
Upon provocation, fear the entity if the attacker’s team doesn’t match
  • team constant int (default 0)
  • active bool (default false)
provokableFearability
Upon provocation, changes the entity's fearability
  • fearable constant bool (default false)
provokablePreventActions
Upon provocation, prevent the entity from acting until end of turn
provokableShieldBreak
Upon provocation, disable this entity’s shield
provokableStartFight
Upon provocation, starts a secret room fight
  • minDistance constant float (default 2)
  • maxDistance constant float (default 4)
provokeOnEarthquake
The entity will be provoked after taking earthquake damage.
provokeOnHit
The entity will be provoked upon taking any amount of damage
  • physicalDamageOnly constant bool (default false)
  • minimumDamage constant int (default 0)
provokeOnProximity
The entity will be provoked if it’s close to its target when running every-frame checks
  • distance constant float (default 1)
provokeOnProximityCheckMove
The entity will be provoked if it’s close to its target when attempting to move
  • distance constant float (default 1)
  • inhibitMove constant bool (default false)
provokeOnShrineDeath
The entity will be provoked when an unactivated shrine dies within its home area
provokeOnTrespass
The entity will be provoked upon an enemy entity trespassing its shop
provokeOnWallRemoval
The entity will be provoked when it stops being inside a wall
sleepWhileUnprovoked
  • delay constant int (default 0)
generated by LDoc 1.4.6