Home

LightningPrototype

Lightning randomly hits entities on planets with lightning_properties.

If a lightning attractor is hit by lightning it will absorb the lightning hit for energy.

If a something that is not an attractor is hit by lightning it will be damaged by the strike.

Parent

Properties

graphics_set

sound

attracted_volume_modifier

strike_effect

Effect that is triggered when lightning strikes something that is not a lightning attractor. Triggered before damage is applied.

attractor_hit_effect

Effect that is triggered when lightning hits a lightning attractor. Triggered after the attractor is charged by the lightning hit.

source_offset

source_variance

damage

When lightning strikes something that is not a lightning attractor, this damage is applied to the target.

energy

When lightning hits a lightning attractor, this amount of energy is transferred to the lightning attractor.

time_to_damage

Must be less than or equal to effect_duration.

effect_duration