Factorio Prototype DocsVersion 2.0.26

ScriptTriggerEffectItem :: struct

Inherits from TriggerEffectItem

Properties

type :: "script"
effect_id :: string

The effect ID that will be provided in on_script_trigger_effect.

The effect ID that will be provided in on_script_trigger_effect.

Inherited from TriggerEffectItem
repeat_count optional :: uint16
repeat_count_deviation optional :: uint16
probability optional :: float

Must be greater than 0 and less than or equal to 1.

Must be greater than 0 and less than or equal to 1.

affects_target optional :: bool
show_in_tooltip optional :: bool
damage_type_filters optional :: DamageTypeFilters

Properties

type :: "script"

effect_id :: string

The effect ID that will be provided in on_script_trigger_effect.


Type used in

Prototypes

Types

Defines