API Request: option to turn off lightning warnings on a surface

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
kodacoda
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jan 21, 2025 2:57 am
Contact:

API Request: option to turn off lightning warnings on a surface

Post by kodacoda »

I tried modding a variation of lightnings and lightning attractors, in which lightning prototypes would be used without graphics to cause damage triggered by a boompuff explosion, the idea was creating an explosion shield (lightning attractor prototype) that allows you to harvest boompuffs without damaging structure around it, the lightning/lightning attractor pairs were perfect, if the shield takes energy, the attractor has the interface to consume it, and I can think of more applications to this, like shields that protect against specific projectiles, just make the projectile call for a lightning instead of triggering a AreaTriggerItem for damage.

The issue is that this means those entities would only need to cover a part of the surface, not the whole built area, but the whole surface shows lightning warnings once you set up a lightning generator for it. Would be nice to have a hide_lightning_warnings property in the LightningProperties type.
User avatar
snouz
Inserter
Inserter
Posts: 43
Joined: Sun Jan 03, 2021 6:01 pm
Contact:

Re: API Request: option to turn off lightning warnings on a surface

Post by snouz »

+1

Instead of just on/off, I suggest being able to set the warning icon based on lightning type. That way, you can make it transparent, or another type of icon.

Lightning has a great potential to become a ton of things for modded planets. e.g. on a Dune project, we might plan to use that system for worms.
Planet Moshine, GUI Unifier + 17 mods, contributed graphically and otherwise to 70+ mods
Schaniqua
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri May 09, 2025 8:14 pm
Contact:

Re: API Request: option to turn off lightning warnings on a surface

Post by Schaniqua »

+1 this, I havent found any way to remove the warning icons either, and a setting for lightning type or on/off would be very appreciated. Thank you.
Last edited by Schaniqua on Fri May 09, 2025 8:17 pm, edited 1 time in total.
Post Reply

Return to “Modding interface requests”