FrozenPose
class FrozenPose( val durationCycles: Int, val delayCycles: Int = 0, val cancelAnimation: Boolean = false) : Component()on_npc_option(Assets.Npc.goblin.id, "Petrify") { player -> target.replaceComponent(FrozenPose(durationCycles = 100)) player.message("The goblin freezes in place.")}durationCycles
Section titled “durationCycles”val durationCycles: IntdelayCycles
Section titled “delayCycles”val delayCycles: IntcancelAnimation
Section titled “cancelAnimation”val cancelAnimation: BooleanrefusalToJoin
Section titled “refusalToJoin”override fun refusalToJoin(entity: Entity): String?onComponentRemovedFromEntity
Section titled “onComponentRemovedFromEntity”override fun onComponentRemovedFromEntity()MAX_CYCLES
Section titled “MAX_CYCLES”const val MAX_CYCLES: Int = 0xFFFE