Surviving Mars

Surviving Mars

Martian Thermostat
41 Comments
SkiRich  [author] 20 Feb, 2023 @ 10:23pm 
Should be good there as well.
pepoluan 8 Feb, 2023 @ 9:48pm 
Oh I didn't mean the map-wide cold snap. But the localized freezing when that mystery's antagonist start freezing areas randomly.
SkiRich  [author] 7 Feb, 2023 @ 9:11pm 
It works with all mysteries.
pepoluan 7 Feb, 2023 @ 9:03pm 
Does this works with 'that mystery' that freezes my buildings?
Vinterix 8 Sep, 2021 @ 7:37am 
Update! :-)
Kateye 13 Jun, 2020 @ 9:04pm 
When terraforming Mars and hitting 50% heat, cold waves end. Thermostat decides to turn on all subsurface heaters. I'd rather leave them turned off. Then I know which ones I don't need and can demolish them if I want.
SkiRich  [author] 13 Jul, 2019 @ 6:12pm 
Requesting maintenance on an entity that is turned off wont work. Drones will wait until its operational.
mrudat 13 Jul, 2019 @ 4:54pm 
Perhaps something like the following:

-- based on https://github.com/HaemimontGames/SurvivingMars/blob/master/Lua/RequiresMaintenance.lua#L180
function DoMaintenanceIfNeeded(maybe_broken)
if maybe_broken.accumulated_maintenance_points < maybe_broken.maintenance_threshold_current then return end
if maybe_broken.maintenance_phase then return end
maybe_broken:RequestMaintenance()
end

function MaintainHeaters()
for _, heater in pairs(UICity.labels.BaseHeater)
DoMaintenanceIfNeeded(heater)
end
end
SkiRich  [author] 12 Jul, 2019 @ 11:49am 
Not at the moment. Unless the unit is turned on the maintenance is not performed. Thats how the games' code works. To alter that would require me to change drone behavior not heater behavior. Thats a bit outside the scope of this mod and I dont want to introduce that variable here. What I'll explore is stopping the maintenance tick when powered off. On a different note, you can place a tribo scrubber next to it and never worry about maintenance at all.
mrudat 12 Jul, 2019 @ 4:52am 
Would it be possible to request maintenance on the subsurface heaters when the cold wave is announced, and only fire them up when it hits?
darren67 12 Jun, 2019 @ 12:38am 
You are one serious geekazoid. I am very impressed by your mod and thanks for sharing it. Geeks rule.
jpw0617 22 May, 2019 @ 1:03pm 
best thing ever. Nothing makes me rage more when my water towers freeze bc my drones are deciding to take the scenic route to repair it.
maiden4meldin 6 Feb, 2019 @ 4:58pm 
Great Mod, love it!
SkiRich  [author] 9 Dec, 2018 @ 8:24pm 
Mod updated. Now it controls Adv Stirling Generators as well. See notes.
JustCarlsFine 9 Dec, 2018 @ 8:33am 
excellent news thanks
SkiRich  [author] 8 Dec, 2018 @ 6:10pm 
@JustCarlsFine, already planning to, just for the Adv Stirlings though.
JustCarlsFine 8 Dec, 2018 @ 5:39pm 
love this, coulds you perhaps extend it to the Sterlings as they generate heat as well like the heaters
Lone Wolf 2 Oct, 2018 @ 10:36pm 
Thanks
SkiRich  [author] 2 Oct, 2018 @ 9:29pm 
Sagan patch broke the heater delay feature. Now fixed. Mod Updated.
Miri 26 Sep, 2018 @ 10:14am 
That would be awesome!
SkiRich  [author] 26 Sep, 2018 @ 10:09am 
@Miri, not in this mod, but I can make something separate.
Miri 26 Sep, 2018 @ 10:04am 
I don't suppose you can tweak this so that it shuts the power off on solar panels, water vapes, hangers etc at "dust storm approaching: hour 0" so that we don't keep getting bugged by the "x buildings not working" message during the length of the storm and then turn them back on after the storm ends?
Seed5050 6 Sep, 2018 @ 8:10am 
thanks i play allways with cold winter on.so this mod is very useful for me
SkiRich  [author] 1 Sep, 2018 @ 2:07pm 
Those temps are from the game. I just expose the temperature in the notice. The temps vary each Cold Wave. The colder it is the more drain on power.
Scientist Dog 1 Sep, 2018 @ 11:45am 
Are the temps actually in the game, and you made them visible? Or you just estimate them?
SkiRich  [author] 17 Aug, 2018 @ 2:25am 
Mod updated, fixed davinci mod path issue, icons restored.
Lone Wolf 6 Aug, 2018 @ 9:46pm 
Thanks for the update.
SkiRich  [author] 30 Jul, 2018 @ 11:41pm 
Mod Updated.
v2.4 July 29th, 2018
- Code optimizations and sound effects.
- Added notification for forecasted temperature.
SkiRich  [author] 3 Jul, 2018 @ 8:02pm 
Mod Updated. Added 8 language support. Please report bugs in bug report discussion.
v2.2 July 3rd, 2018
- Localizations added
- Code optimizations
SkiRich  [author] 2 Jul, 2018 @ 8:08pm 
Mod Updated. One new feature. Please report bugs in bug report discussion.
v2.1 July 2nd, 2018
- New Feature, settable delayed engagement of heaters.
- Code optimizations
Gunboat Diplomat 30 Jun, 2018 @ 9:16pm 
Oh thank goodness. Thanks muchly.
SkiRich  [author] 28 Jun, 2018 @ 7:43pm 
Re-Uploaded v2.0 again. Seems like the initial upload from ModEditor didnt happen, or got corrupted in transit.
If you didnt see the update, just save your game and restart. You should have it now.
New version 2.0 of the mod live on workshop now. See notes for new features.
Please report any bugs in the bugs discussion with screenshots.
SkiRich  [author] 28 Jun, 2018 @ 5:39pm 
New version 2.0 of the mod live. See notes for new features.
Please report any bugs in the bugs discussion with screenshots.
JoyfulWarrior% 27 Jun, 2018 @ 6:10pm 
ill give it a try
SkiRich  [author] 27 Jun, 2018 @ 5:12pm 
@Mario reach out to me in steam chat if you want to be one of my beta tester. v2.0 of this mod is currently in development with a bunch of new code, could use some more testers.
Mario55770 27 Jun, 2018 @ 5:01pm 
@SkiRich awww www, no beta testing...(no but seriously, I kindof need that...)
SkiRich  [author] 27 Jun, 2018 @ 10:57am 
I already have something in mind that will give you some finer controls. Stay tuned. Give me a day to develop it and test it out.
rdr99 27 Jun, 2018 @ 9:11am 
@SkiRich... I normally assiduously avoid the extreme cold environments on Mars, but like Silva, do occasionally have a map with cold patches of snow or ice somewhere on them. So... yeah, need a way to deal with those too. I subbed though. I may try a game on a cold map, but being originally from Chicago, where winter is brisk at best and murderous in most years, I don't like cold weather.
SkiRich  [author] 27 Jun, 2018 @ 7:27am 
Next version I’ll add some more features that will help with maps like that.
Dash 27 Jun, 2018 @ 6:26am 
Good idea !! But there are various regions on Mars where there are large cold areas (in these areas there are metal deposists, water...) Subsurface Heater must always be actived.