Types/DamageTriggerEffectItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(__NOTOC__)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:


=== damage ===
=== damage ===
'''Type''': [[Types/DamagePrototype]]
'''Type''': [[Types/DamagePrototype|DamagePrototype]]


== Optional properties ==
== Optional properties ==


=== apply_damage_to_trees ===
=== apply_damage_to_trees ===
'''Type''': [[Types/bool]]
'''Type''': [[Types/bool|bool]]


'''Default''': true
'''Default''': true
=== vaporize ===
'''Type''': [[Types/bool|bool]]
'''Default''': false
If <code>true</code> no corpse for killed entities will be created.
=== lower_distance_threshold ===
'''Type''': [[Types/uint16|uint16]]
'''Default''': max uint16
=== upper_distance_threshold ===
'''Type''': [[Types/uint16|uint16]]
'''Default''': max uint16
=== lower_damage_modifier ===
'''Type''': [[Types/float|float]]
'''Default''': 1
=== upper_damage_modifier ===
'''Type''': [[Types/float|float]]
'''Default''': 1

Latest revision as of 23:17, 28 August 2022

Extends Types/TriggerEffectItem.

Mandatory properties

Inherits all properties from Types/TriggerEffectItem.

damage

Type: DamagePrototype

Optional properties

apply_damage_to_trees

Type: bool

Default: true

vaporize

Type: bool

Default: false

If true no corpse for killed entities will be created.

lower_distance_threshold

Type: uint16

Default: max uint16

upper_distance_threshold

Type: uint16

Default: max uint16

lower_damage_modifier

Type: float

Default: 1

upper_damage_modifier

Type: float

Default: 1