Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# TriggerEffectWithCooldown - Runtime Docs

## TriggerEffectWithCooldown :: table

#### Table fields

distance_cooldown | :: double | The travel distance between triggers that the triggerer must travel between effects.
The travel distance between triggers that the triggerer must travel between effects.
initial_distance_cooldown | :: double | The travel distance between triggers that the triggerer must travel between effects.
The travel distance between triggers that the triggerer must travel between effects.
time_cooldown | :: MapTick | The number of ticks that elapse between triggers.
The number of ticks that elapse between triggers.
initial_time_cooldown | :: MapTick | The initial amount of time to wait before triggering the effect for the first time.
The initial amount of time to wait before triggering the effect for the first time.
effect | :: array[TriggerEffectItem] |

Concept used in

- LuaEntityPrototype::update_effects
- LuaEntityPrototype::update_effects_while_enraged