LocomotivePrototype.reversing_power_modifier is not exposed via LuaEntityPrototype at runtime.
I would like to read this value at runtime to support arbitrary custom locomotives when calculating how much energy was actually consumed during a tick while a train is reversing manually.
Expose reversing_power_modifier
-
benlove007
- Burner Inserter

- Posts: 11
- Joined: Sat Oct 11, 2025 5:23 pm
- Contact:
Re: Expose reversing_power_modifier
Ok, I've added it for 2.1.
If you want to get ahold of me I'm almost always on Discord.
