A way to Prevent lightning from hitting the ground

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
snouz
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Sun Jan 03, 2021 6:01 pm
Contact:

A way to Prevent lightning from hitting the ground

Post by snouz »

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

Code: Select all

exemption_rules = 
{{
        type = "prototype",
        string = "tile",
},}
But it didn't work
07-01-2026, 16-39-32.png
07-01-2026, 16-39-32.png (1.53 MiB) Viewed 175 times
Planet Moshine, GUI Unifier + 17 mods, contributed graphically and otherwise to 70+ mods
User avatar
FluidNatalie
Inserter
Inserter
Posts: 21
Joined: Tue Oct 14, 2025 7:52 pm
Contact:

Re: A way to Prevent lightning from hitting the ground

Post by FluidNatalie »

It is good to know this happens but I do also wish you could toggle ground lighting since I could see it being annoying
Post Reply

Return to “Modding interface requests”