Surviving Mars

Surviving Mars

39 个评价
AutoDemolishExtractors
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
527.418 KB
2018 年 3 月 30 日 上午 11:56
2021 年 9 月 22 日 下午 3:04
11 项改动说明 ( 查看 )

订阅以下载
AutoDemolishExtractors

描述
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 条留言
tily_lass 2021 年 9 月 24 日 下午 12:40 
any way to add an option to auto-refab if the tech has been researched?
SkiRich 2021 年 9 月 22 日 下午 3:17 
Thanks for the update.
SkiRich 2021 年 9 月 22 日 下午 2:19 
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  [作者] 2019 年 7 月 2 日 上午 8:48 
@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 2019 年 6 月 28 日 上午 10:31 
is it possible to make it compatible with silvas buildings like the auto rare metal and metel extractors?
Emmote 2018 年 4 月 6 日 上午 7:48 
Awesome, thanks.
akarnokd  [作者] 2018 年 4 月 6 日 上午 7:47 
@Emmote added option to stop demolishing once Nano refinement is researched.
akarnokd  [作者] 2018 年 4 月 1 日 下午 12:59 
@Emmote I will think about it.
Emmote 2018 年 4 月 1 日 下午 12:47 
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  [作者] 2018 年 4 月 1 日 下午 12:44 
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.