Oil Patches Organizer by Apriori updated for 0.17

by mrudat

Use special blueprint-like item to relocate oil patches so that they are being placed in a custom-sized grid for handy pumping. Also oil patches in newly generated chunks are being reorganized automatically (adjustable through the mods settings menu)! Angel's fissure and natural gas are supported. Select an area with patches to snap them to a grid. Shift+select a point to set a custom grid center. Shift+select an area with patches to move them to the custom grid center.

5 years ago
0.17
7

b Oil Patch item does not show up in any menu. (fixed)

5 years ago

Since it doesn't show up in a menu, in version 0.17, I am unable to create the Organizer planner as the mod currently exists.
Work around:
But, thanks to another mod, Shorcuts, I was able to use it again because that mod adds a shortcut for the Organizer to the new shortcut toolbar.
I had previously upgraded the original that was made for version 0.16. And I was sure it was working in 0.17 for awhile.
Maybe something changed.
I was wondering how hard this would be to fix. I have been programming in C++ for years. Lua confuses me.
FYI:
While looking at the mod source, I found that I could add support for Bob's Mod by editing 1 line in control.lua as shown below:
function GetOrganizableResources()
return
{
"crude-oil",
"angels-fissure",
"angels-natural-gas",
"ground-water",
"lithia-water"
} -- enumerate desired resources using comma
end

I did test in game that the organizer works for Bob's lithia water. I am sure the other will work as well.
Also it might be a good idea to fix the dependencies line in the json file to show the requirements for 0.17 and the optional dependencies of Angels and Bob's mods. Such as:
"dependencies": ["base >= 0.17","? bobores >= 0.17.0"]
I am not sure which Angels mod is used so I didn't include that. (I just started with Bob's mods. Angels will be much later.)
Thanks for making this available for 0.17, Jamie.

5 years ago

The planner should be present with only this mod loaded (I'll test that later). If you use Shortcuts, it will disable the recipe and present it as a shortcut instead.

5 years ago

Maybe thats what happened. Thanks. I have been using the Shortcuts mod for awhile. Also this mod is working a bit different from the Ore eraser mod. That one creates it's icon in the blueprint planner dialog. This one doesn't and that's where I looked.

New response