Surviving Mars

Surviving Mars

39 ratings
AutoDemolishExtractors
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
527.418 KB
30 Mar, 2018 @ 11:56am
22 Sep, 2021 @ 3:04pm
11 Change Notes ( view )

Subscribe to download
AutoDemolishExtractors

Description
Automatically salvage and clear (demolish) all types of Extractors that have depleted their sources. If the respective research has been aquired, they will be cleared (decomissioned) as well.

If ModConfig (Old or Reborn) is installed, the notification settings and the action to perform on each depleted extractor type can be specified (or disabled altogether). By default, notifications is on and action is Salvage and Clear.

This mod replaces my previous mod only for Concrete Extractors: AutoDemolishConcreteExtractor.
26 Comments
tily_lass 24 Sep, 2021 @ 12:40pm 
any way to add an option to auto-refab if the tech has been researched?
SkiRich 22 Sep, 2021 @ 3:17pm 
Thanks for the update.
SkiRich 22 Sep, 2021 @ 2:19pm 
Akarnod, you have a thread in this mod - AutoDemolishExtractorsHandler
That has a runaway race condition when a person without your mod loads a save with this mod originally in it.
Please add a conditional check to your on startup threads so that if the thread does not find it, like a local non-persistent variable, the thread exits.
The race condition bricks the game if you try and load that save otherwise.
Hit me up on the discord to discuss.
akarnokd  [author] 2 Jul, 2019 @ 8:48am 
@BLÀde If they extend the same base class as the non-auto versions, then my mod should work for them. Otherwise, I don't know how. Maybe Silva could create a specific mod.
BLÀde 28 Jun, 2019 @ 10:31am 
is it possible to make it compatible with silvas buildings like the auto rare metal and metel extractors?
Emmote 6 Apr, 2018 @ 7:48am 
Awesome, thanks.
akarnokd  [author] 6 Apr, 2018 @ 7:47am 
@Emmote added option to stop demolishing once Nano refinement is researched.
akarnokd  [author] 1 Apr, 2018 @ 12:59pm 
@Emmote I will think about it.
Emmote 1 Apr, 2018 @ 12:47pm 
I know that when you hover over the remaining resources part of the extractor, it will say depleted, but it will just keep digging.
And it's very easy to forget you have a mod like this while playing, so an automated cut-off for that research would be very useful. Should be nothing more than nesting everything inside an IF checking if the research has been done or not.
akarnokd  [author] 1 Apr, 2018 @ 12:44pm 
If the extractor gets marked as depleted, this mod will clear it. I can't remember the effect of Nano Refinement, but I guess if you want to keep your extractors active after that, simply disable the demolish actions in the mod menu.