Lightning-attractor: don't display every lightning type

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:

Lightning-attractor: don't display every lightning type

Post by snouz »

Hi, I've noticed that there's no way to not display all lightning type in the lightning attractor description.
I can restrict the construction of lightning collectors to surfaces, change the resistance to another type etc. but every lightning collector will always display every type of lightning in the game in the "Collects:" tooltip.

I couldn't find anything in:
https://lua-api.factorio.com/latest/pro ... otype.html
https://lua-api.factorio.com/latest/pro ... otype.html
https://lua-api.factorio.com/latest/typ ... rties.html

Solution: add a filter property to lightning collectors (collected_lightning_types::table)
07-01-2026, 22-15-53.png
07-01-2026, 22-15-53.png (69.71 KiB) Viewed 112 times
07-01-2026, 22-22-13.png
07-01-2026, 22-22-13.png (147.96 KiB) Viewed 112 times
Cheers
Planet Moshine, GUI Unifier + 17 mods, contributed graphically and otherwise to 70+ mods
Post Reply

Return to “Modding interface requests”