[2.0.43] Pumps don't pump fluids if their energy usage is 0J
Posted: Tue Apr 29, 2025 6:06 pm
Reproduction:
* Run the attached save with the attached mod.
* Extend the pipeline through the forest and wait for a bit.
* The spawned pipeline-pipes-turret sections will open fire.
* Modify the mod at `modules/oil.lua:247` to say `energy_usage = "0J"` and redo the above steps.
* The spawned pipeline-pipes-turret sections won't open fire because the pumps are no longer pumping.
* Run the attached save with the attached mod.
* Extend the pipeline through the forest and wait for a bit.
* The spawned pipeline-pipes-turret sections will open fire.
* Modify the mod at `modules/oil.lua:247` to say `energy_usage = "0J"` and redo the above steps.
* The spawned pipeline-pipes-turret sections won't open fire because the pumps are no longer pumping.