A way to Prevent lightning from hitting the ground
Posted: Wed Jul 01, 2026 2:41 pm
Hi, I would like to request a way to have lightning strike only when there's an entity there, so not on ground.
Right now, In lightning_properties::exemption_rules, I can add "impact-soundset" or "prototype" or "id" or "countAsRockForFilteredDeconstruction", but I would like to add to this list "ground" or "tiles"
I tried adding
But it didn't work
Right now, In lightning_properties::exemption_rules, I can add "impact-soundset" or "prototype" or "id" or "countAsRockForFilteredDeconstruction", but I would like to add to this list "ground" or "tiles"
I tried adding
Code: Select all
exemption_rules =
{{
type = "prototype",
string = "tile",
},}