Mining patch planner

by rimbas

Adds a planner that designs a mining drill layout for a resource patch.

Utilities
30 days ago
1.1
63.6K
Mining Blueprints

b Crash report

2 years ago

Planning with "Electric large area mining drill 5" from Bob's Mining Mod crashes the game.


The mod Mining patch planner (1.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_tick (ID 0)
mining-patch-planner/layouts/simple.lua:235: attempt to index local 'center' (a nil value)
stack traceback:
mining-patch-planner/layouts/simple.lua:235: in function 'heuristic'
mining-patch-planner/layouts/simple.lua:274: in function 'placement_attempt'
mining-patch-planner/layouts/simple.lua:399: in function '?'
mining-patch-planner/layouts/base.lua:59: in function 'tick'
mining-patch-planner/control.lua:26: in function <mining-patch-planner/control.lua:16>

2 years ago
(updated 2 years ago)

Thanks for the report, but I can't find "Bob's Mining Mod" in the mod list.
It would help if you could provide a save file that I could sync mods with and test quickly.

Edit:

Okay, found it and bumped some parameters up to fix it.

New response