Page 1 of 1

Equipment Grid EEI

Posted: Sun Nov 09, 2025 7:58 pm
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.

Re: Equipment Grid EEI

Posted: Mon Nov 10, 2025 5:47 am
by protocol_1903
+1