Types/DamageTriggerEffectItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0: added vaporize, lower_distance_threshold, upper_distance_threshold, lower_damage_modifier, upper_damage_modifier)
Line 18: Line 18:


'''Default''': false
'''Default''': false
If <code>true</code> no corpse for killed entities will be created.


=== lower_distance_threshold ===
=== lower_distance_threshold ===

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