lightnings_per_chunk_per_tick | :: double | |
search_radius | :: double | |
lightning_types | :: array[EntityID] | Cannot be an empty array. [...] |
Cannot be an empty array. [...] | ||
priority_rules | :: array[LightningPriorityRule] | |
exemption_rules | :: array[LightningRuleBase] | |
lightning_multiplier_at_day optional | :: double | Must be in range [0,1]. |
Must be in range [0,1]. | ||
lightning_multiplier_at_night optional | :: double | Must be in range [0,1]. |
Must be in range [0,1]. | ||
multiplier_surface_property optional | :: SurfacePropertyID | When set, value of that surface property will be used as an additional multiplier to the lightning frequency. [...] |
When set, value of that surface property will be used as an additional multiplier to the lightning frequency. [...] | ||
lightning_warning_icon optional | :: Sprite | Icon to render on top of entities that are endangered by lightning. [...] |
Icon to render on top of entities that are endangered by lightning. [...] |
exemption_rules | :: array[LightningRuleBase] | |
lightning_types | :: array[EntityID] | Cannot be an empty array. [...] |
Cannot be an empty array. [...] | ||
lightnings_per_chunk_per_tick | :: double | |
priority_rules | :: array[LightningPriorityRule] | |
search_radius | :: double | |
lightning_multiplier_at_day optional | :: double | Must be in range [0,1]. |
Must be in range [0,1]. | ||
lightning_multiplier_at_night optional | :: double | Must be in range [0,1]. |
Must be in range [0,1]. | ||
lightning_warning_icon optional | :: Sprite | Icon to render on top of entities that are endangered by lightning. [...] |
Icon to render on top of entities that are endangered by lightning. [...] | ||
multiplier_surface_property optional | :: SurfacePropertyID | When set, value of that surface property will be used as an additional multiplier to the lightning frequency. [...] |
When set, value of that surface property will be used as an additional multiplier to the lightning frequency. [...] |
Cannot be an empty array. Names of lightning entities.
Default: 0
Must be in range [0,1].
Default: 1
Must be in range [0,1].
When set, value of that surface property will be used as an additional multiplier to the lightning frequency.
Value of that surface property is divided by default_value which means a default value must be positive (cannot be 0). When surface property has value at default, then this additional multiplier has value of 1.
Icon to render on top of entities that are endangered by lightning. When not provided, a UtilitySprites::lightning_warning_icon will be used instead.