P.U.M.P.

by Xcone

P.U.M.P. (Prevent Unwanted Manual Pump-placement) adds a selection-tool with which you can select oil wells, and then plans the layout of pumpjacks and pipes for you.

an hour ago
0.18
1692
Owner:
Xcone
Source:
Xcone/factorio_pump
Homepage:
N/A
License:
MIT
Created:
4 months ago
Latest Version:
0.1.10 (an hour ago)
Factorio version:
0.18
Downloaded:
1692 times

Why P.U.M.P. ?

Fluids and pipes are fun and all. But the more complex layout can be blueprinted and copied. Unfortunately, due to the random nature of how oil wells are found on the map, you're left with a significant chunk of manual labor for each oil field you claim. After a while placing pumpjacks gets old...

P.U.M.P. (Prevent Unwanted Manual Pump-placement) adds a selection-tool with which you can select oil wells, and then plans the layout of pumpjacks and pipes for you.

If you want P.U.M.P. to insert modules as well. Install Module Inserter and configure which modules you want. If you already have Module Inserter but don't want P.U.M.P. to insert modules, you can disable it in the settings.

How to use

  • Press the P.U.M.P. button on the the short-cut bar to activate the selection tool.
  • With the P.U.M.P. selection tool in hand; drag-select the oil-wells

  • If you have multiple miners available for the liquid resource you've selected, P.U.M.P. will show a menu to pick which one to use. It will remember the selection and not ask again. If you wish to change the selection you can forcefully show the menu again by pressing shift while making a selection.

Limitations

The mod attempts to split the field in smaller chunks until it is able to connect all the pumps in straight lines to any of the splits, or until the chunks are too small. Due to the nature of finding those splits, if the oil field is too tightly packed, or if obstructions (trees, rocks, water or other buildings) are in the way, P.U.M.P. might not be able to find a layout connecting all the pumpjacks in the selection. In which case P.U.M.P. will prompt it's not able to do its job.

Maybe I'll find the time to improve on that later. First, as this is my first mod, I'd like to see how getting a mod online works and all.

Found a bug?

P.U.M.P. should store pump_planner_input.json in the script-output folder within the user folder. It'd be helpful if you could provide it to me. Note that the file will be replaced each time you make a selection. So double check the timestamp of the file if it was generated at the same time as the bug occurred.