Factorio Prototype DocsVersion 2.0.15

DamageTriggerEffectItem :: struct

Inherits from TriggerEffectItem

Properties

type :: "damage"
damage :: DamageParameters
apply_damage_to_trees optional :: bool
vaporize optional :: bool

If true, no corpse for killed entities will be created.

If true, no corpse for killed entities will be created.

use_substitute optional :: bool
lower_distance_threshold optional :: uint16
upper_distance_threshold optional :: uint16
lower_damage_modifier optional :: float
upper_damage_modifier optional :: float

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 :: "damage"

damage :: DamageParameters

apply_damage_to_trees :: bool optional

Default: true

vaporize :: bool optional

Default: false

If true, no corpse for killed entities will be created.

use_substitute :: bool optional

Default: true

lower_distance_threshold :: uint16 optional

Default: MAX_UINT16

upper_distance_threshold :: uint16 optional

Default: MAX_UINT16

lower_damage_modifier :: float optional

Default: 1

upper_damage_modifier :: float optional

Default: 1


Type used in

Prototypes

Types

Defines