I am really struggling with Factorio mods and LUA in general.
I want to get a list of the power poles and then read the corresponding electric_network_statistics. I am not even sure where to start.
Getting a list of all the power poles.
-
- Fast Inserter
- Posts: 127
- Joined: Fri May 08, 2015 2:25 pm
- Contact:
Re: Getting a list of all the power poles.
You will want to use http://lua-api.factorio.com/latest/LuaS ... s_filtered with type = "electric-pole" and then use http://lua-api.factorio.com/latest/LuaE ... statistics.
If you need a code example, let me know.
If you need a code example, let me know.
My RSO+Bob's+Angel's modpack: Farlands (outdated)
Mods (current): Resource Labels
Mods (old): Biter Spires
Mods (current): Resource Labels
Mods (old): Biter Spires