No Power Drains


Removes energy drains so idle entities don't consume power anymore. Configurable. You designed a roboport, a space platform and a way to communicate to in freely in real time. It's really hard to think that you haven't found a way to put a simple relay switch inside your laser and tesla turrets and machines so they won't use power when idle.

Content
10 days ago
2.0
1.07K
Power Cheats

b Not working for some machines

11 days ago

It's not working for assemblers, electric furnace, etc. because the entities no longer have "energy_source.drain" property.

10 days ago
(updated 10 days ago)

Hi there. I've looked into it, and indeed, they removed it. And now I don't really see any way to remove power drains at all...
I've tried to devide minConsumption/maxConsumption for some machines and get about 0.032-0.033 all the time. Maybe they've hardcoded this and now mods just can't change it?

Anyway, I see no way for fixing mod for the moment. Devs sad there will be 2.1 version of Factorio and I'm waiting for it to update or deprecate the mod...

If you see any way how to fix mod for at least some machines - please tell me.

10 days ago

I got it working a little. If you add the "energy_source.drain" property to an entity that doesn't have one, it works. In data-final-fixes.lua, line 17, I changed "type(v_name.energy_source) == "table" and v_name.energy_source.drain" to v_name.energy_source.type == "electric".

10 days ago
(updated 10 days ago)

Oh! I figured it out - it's just default value - it still works when I set 'drain=0' anyway.
Fixed in 2.0.2. Thanks for the report!

New response