Mining Patch Planner

by rimbas

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

Utilities
a day ago
1.1 - 2.0
136K
Mining Blueprints

b Error

4 days ago

Every time I’m not happy with it and try again, something goes wrong.

Error while running event mining-patch-planner::on_tick (ID 0)
mining-patch-planner/layouts/simple.lua:1691: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
mining-patch-planner/layouts/simple.lua:1691: in function <mining-patch-planner/layouts/simple.lua:1680>
(...tail calls...)
mining-patch-planner/mpp/task_runner.lua:14: in function 'mining_patch_task'
mining-patch-planner/control.lua:47: in function <mining-patch-planner/control.lua:27>
11907.793 Info AppManager.cpp:352: Deleting active scenario.

4 days ago

Could you attach a save file with the crash?
This crash log doesn't really tell me how to reproduce it.

2 days ago

Sorry . factorio-current.log lost. next time

a day ago

Thank you for the report. Released an update that fixes it.

New response