Types/DamageTriggerEffectItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(__NOTOC__)
(1.0.0: added vaporize, lower_distance_threshold, upper_distance_threshold, lower_damage_modifier, upper_damage_modifier)
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
=== 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

Revision as of 11:42, 8 September 2020

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

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