Auto Deconstruct

by mindmix

This mod marks drills that have no more resources to mine for deconstruction.

Utilities
2 months ago
0.13 - 2.0
322K
Mining

i MOAR deconstruct! >:D

2 months ago
(updated 2 months ago)

Why do I want this? Because I play on minimum resource settings and setting up new patches is a hourly ordeal even in late game. Yes I could just deconstruct all at the end buuut... there's huge fun in seeing everything just disappear as it runs out.

Electric poles!
The criterion for pole deconstruction could be "this pole does not lay between any other machine and the electricity source". That would already cover almost all cases, of course not for all players so default should be off. For outposts, this would be ideal.

Train stations!
The train station name must have the respective ore as an icon on 1st place of the name. All rails and signals are deleted until there's a rail that leads anywhere else – you could use the train pathfinder or (simpler) deconstruct rails only until an intersection, or something like that.
All inserters and chests, combinators that connected to that train station would also be deleted, as well as electric poles as described above.

I don't know how your belt auto deconstruct works, but I could see that maybe being applicable to other things in some form.

20 days ago

These fall outside what I'm interested in adding right now. The electric pole cleanup is complicated to determine the minimum number of poles required to power the remaining entities. The train stop thing would require a lot of heuristics or strict naming requirements that goes against the spirit of it just working.

New response