This mod marks drills that have no more resources to mine for deconstruction.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
New Ores and resources as well as machines.
Version 2.1.25 added "Added depleted mining drill filter to deconstruction planner.", could this be used to simplify the code?
https://forums.factorio.com/viewtopic.php?t=136965
Thanks for the comment, but no, that setting is not useful for this mod. AutoDeconstruct uses its own logic and settings to decide what drills, chests, and belts can be deconstructed and when.