Equipment Grid EEI

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
herrkatze0658
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Nov 09, 2025 7:52 pm
Contact:

Equipment Grid EEI

Post by herrkatze0658 »

Currently in my mod, I use a hacky, performance heavy workaround to have a certain amount of energy generation per locomotive in the equipment grid.
It would be quite useful if I could have an Electric Energy Interface for the equipment grid so that I could make the locomotive power be able to be stored in batteries, as well as not being as performance heavy.

Currently, every 30 ticks (1/2 second) I update a special battery to be equal to the power that would have been generated in that half second by that number of locomotives. It used to be every tick, which is quite performance heavy since I have to get all of the entities that have my equipment grid, check if it has the Locomotive Power Link, and then set power on the first one.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 376
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Equipment Grid EEI

Post by protocol_1903 »

+1
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Post Reply

Return to “Modding interface requests”