struct
doublefalsedoublefalseArray<EntityID>falseCannot be an empty array. Names of lightning entities.
Array<LightningPriorityRule>trueArray<LightningRuleBase>truedoubletrueMust be in range [0, 1].
doubletrueMust be in range [0, 1].
SurfacePropertyIDtrueWhen 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.
SpritetrueIcon to render on top of entities that are endangered by lightning. When not provided, a UtilitySprites::lightning_warning_icon will be used instead.