Lightning-attractor: don't display every lightning type
Posted: Wed Jul 01, 2026 8:36 pm
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)
Cheers
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)
Cheers