Equipment Grid EEI

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
herrkatze0658
Burner Inserter
Burner Inserter
Posts: 5
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: 413
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
Rseding91
Factorio Staff
Factorio Staff
Posts: 16360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Equipment Grid EEI

Post by Rseding91 »

I think I'm missing something. That's functionally just the generator equipment - which generates a fixed amount of energy per tick.

Or is it, you want a generator equipment that you can adjust the generation runtime?
If you want to get ahold of me I'm almost always on Discord.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 413
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Equipment Grid EEI

Post by protocol_1903 »

Rseding91 wrote: Tue Dec 09, 2025 2:57 pm I think I'm missing something. That's functionally just the generator equipment - which generates a fixed amount of energy per tick.

Or is it, you want a generator equipment that you can adjust the generation runtime?
That, a runtime adjustable generator/consumer
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”