Auto Deconstruct

by mindmix
This mod marks drills that have no more resources to mine for deconstruction.
11 months ago
0.13 - 0.16
131394
Owner: mindmix
Source: N/A
Homepage: N/A
License: MIT
Created: 2 years ago
Latest Version: 0.1.11 (11 months ago)
Factorio version: 0.13 - 0.16
Downloaded: 131394 times

Auto Deconstruct

Automatically marks your mining drills for deconstruction when they run out of resources to mine, send spent miners and their modules back to base instead of leaving them idling in the field.
Optionally removes the chest that the drill is outputting to (enabled by default).

Change Log

0.1.11
- Fixed that checking resources didn't respect mining hardness
- Better label for in-game option
- Added in-game changelog

0.1.10
- Updated Factorio version to 0.16, otherwise no change

0.1.9
- Compatibility fix for mods using mining drills as position markers
- Don't deconstruct miners that are hooked up to a circuit network
- In-game option for removal of targets, instead of configuration file

0.1.8
- Don't deconstruct miners that have fluids, until I have time to make it smarter

0.1.7
- Updated Factorio version to 0.15, otherwise no change

0.1.6
- Minor compatibility fix for modded drills that are mineable but not deconstructable

0.1.5
- Updated Factorio version to 0.14, otherwise no change

0.1.4
- This release requires factorio version 0.13.14
- Removed workaround for drill ranges since factorio now exposes them in the prototype (no more data-final-fixes.lua)
- Update search radius as drills are built, not always using the maximum range when not needed.
- Now renews deconstruction orders for drills when they time out

0.1.3
- Made finding targeted chests more reliable.
- Added remote calls for debug and init. /c remote.call("ad","init"), /c remote.call("ad","debug")

0.1.2
- Moved from tick based checking to relying on events.
- No longer storing anything in global.
- More reliable check that the resource is not infinite

0.1.1
- Fixed an warning where the marked drill inserted into a container that is not minable

0.1.0
- First version for Factorio 0.13.0

For older versions and associated changelog, visit the forum thread