Finds things that are no longer needed and marks them for deconstruction: mining drills with nothing left to mine, and the belts, power poles and pipes left with no purpose once those are gone. Pentapod shells and demolisher remains are marked as well. The 'teardown planner' does the same for anything you mark with it.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
Version: 0.1.0
Date: 2026-11-20
Features:
- Mining drills with nothing left to mine are marked for deconstruction: as their resources run out and, when the mod is added to a game, wherever they already stand.
- Remains creatures leave when they die -- stomper shells, demolisher corpses, and those of any other mod's creatures -- are marked when they lie inside the construction area of a roboport, including remains that were already there when the roboport was built.
- Demolisher corpses are also marked wherever the demolisher dies, for the force that killed it. Which kinds of remains are treated this way is a map setting.
- When the mod marks something, the belts, inserters, loaders, chests, power poles, pipes, pumps and storage tanks it leaves serving nothing are marked too, straight away, and so on outwards: a mark counts as the removal it asks for. Inserters and loaders count as short belts, and pumps as short pipes. A piece is kept while it lies on a route between two different things that use it, or for belts and inserters, from something supplying items to something taking them. An inserter's or pump's end left empty for a train to come is not taken as unused. Loops of poles left over from an ore field are seen through. A pole or pipe that served something torn down, and serves nothing now, goes even if it is a second way round between things still in use, unless it is needed to keep them joined; one that never served anything is left be, as a second line laid on purpose. Only what the removal itself left serving nothing is cleared, and only the network around it is examined, never the whole factory.
- Chests and storage tanks are kept while they are where things end up or start from, and marked once they only stood between things that are gone, or are joined to nothing at all, whatever they hold. Logistic chests are always kept.
- A ghost about to be built against a piece, a circuit wire, or a cancelled mark keeps it and what leads to it in place.
- A teardown planner, on the shortcut bar: what you select is marked for deconstruction, and the teardown carries on from it to whatever it leaves serving nothing, as from the mod's own marks. Alt-select cancels deconstruction, as the deconstruction planner's does; a cancelled teardown brings back what it took with it. Undo and redo work on teardowns too. Mining by hand, the deconstruction planner, and things destroyed never start a teardown.
- Cancelling one of the mod's marks keeps that entity, and takes back the marks it made along with it that are no longer called for. It stays kept until something is built that it serves or that joins it, or it is torn down.
- Each rule can be turned on or off for the map; turning one off takes back its marks that robots have not yet acted on.
- The work is spread thinly over as many ticks as it takes, one entity a tick to begin with, with every teardown under way taking its turn.