Sensible Deconstruction

by gaddhi

Deconstruct buildings in a sensible way This allows all selected buildings to be deconstructed by construction bots. Use Ctrl-Shift-D to enable the newly introduced sensible deconstruction planner. ALPHA-version - Additional testing and feedback appreciated.

Utilities
19 days ago
1.1 - 2.0
85
Logistic network
Owner:
gaddhi
Source:
https://github.com/Factorgaddhio/sens...
Homepage:
https://github.com/Factorgaddhio/sens...
License:
MIT
Created:
3 months ago
Latest Version:
0.2.0 (19 days ago)
Factorio version:
1.1 - 2.0
Downloaded by:
85 users

Deconstruct buildings in a sensible way

The following five steps are executed while there are still buildings to be deconstructed:
1. Deconstruct all buildings except Roboports and Electric poles.
2. Deconstruct Roboports and Electric poles beginning from the edges of the power supply area.
3. Remove cycles within all energy pole connections.
4.Deconstruct Roboports and Electric poles beginning from the edges of the power supply area again.
5. Deconstruct additional Roboports, that are not at the edges of the power supply area

If there are still buildings left after the last step, the sensible deconstruction planner gives up,
since it encountered an unhandleable situation.

This method allows all (within reason) selected buildings to be deconstructed by construction bots.

This allows all selected buildings to be deconstructed by construction bots.
Use Ctrl-Shift-D to enable the newly introduced sensible deconstruction planner.

ALPHA-version - Additional testing and feedback appreciated.

Missing features:
- Quality of life additions
- Visual feedback