RimWorld

RimWorld

240 ratings
Safe Temperature
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
136.347 KB
Jul 12, 2023 @ 4:49pm
Oct 18, 2024 @ 7:07pm
7 Change Notes ( view )

Subscribe to download
Safe Temperature

Description
Improves the safe temperature mechanic by forcing pawns to immediately drop what they're doing upon reaching serious temperature to go wait in a safe temperature area. Also forces them to stay in the safe temperature area until they are no longer shivering/initial heatstroke. Includes options to tweak these behaviors.



Updates
10/18/2024: Add settings for various pawn behaviors
04/29/2024: Update to 1.5, fix errors/warnings in log, prevent pawns from waiting in doorways, and allow pawns to use smarter, less all-or-nothing logic when selecting an area to seek temperature safety
08/24/2023: Restricts safe temperature behavior to colonists only
07/18/2023: Allows pawns to perform work in safe temperature zones, allows player to manually assign jobs inside or outside of safe temperature zones.
07/14/2023: Allows player control while pawn is drafted.

Credits
84 Comments
1trickPwnyta  [author] Mar 28 @ 8:21pm 
@Grave Does the forge only heat up the area around it, and not the whole room? Because yeah, that probably would be the issue. In that case, I would say this mod is not compatible.
Grave Mar 28 @ 6:33pm 
I'm having an issue where pawns work at the Medieval Overhaul forge, it generates a bubble of heat around it that causes heatstroke. The Pawns get heatstroke and start "waiting in safe temperature" without moving away from it. I'm guessing they're using the room's regular temp and not moving out of the weird MO forge heat zone. I'm not even sure it's MO that adds the heat zone.
kongkim Feb 18 @ 7:53am 
@1trickPwnyta Glad if it helped, and i tried what you said, it did help a bit but still there :) but better.
1trickPwnyta  [author] Feb 18 @ 6:51am 
@kongkim Solving the performance issues with this mod is a long term project I plan to continue working on, and I'll keep this advice in mind. In the meantime, disabling the suboptimal temperature setting should improve performance. Thanks for your comment!
kongkim Feb 18 @ 6:21am 
Soo i hate you and love you right now :S
I have just used around 3 hours to hunt down what made my game lag to insanity.

And after a long time, I found out (And tested) that if you have this mod installed, and restrict your pawns to an area so they don't leave it, and the temperature becomes dangerous and the pawns cannot find a safe place within the restricted area, the mod keep trying constantly making the game lag wild.

Test it a lot, and as soon you remove the restricted area, they run to safety and stop lagging, also if you add more heat/cold resist to them the lag also stop,s etc.

You should make so pawns only look for safe areas within the area they are restricted to and stop doing so if it cannot be found ad long they are in the area.
1trickPwnyta  [author] Jan 22 @ 9:05am 
@SierraKomodo If you disable the suboptimal temperature setting in the mod settings, does the issue still occur?
SierraKomodo Jan 21 @ 9:08pm 
@1trickPwnyta No, it specifically had access to areas with better temperatures. I even built walls and a ceiling over a couple of generators I had to really make an oven and it would instead just sit in a room that, for a human colonist, would've been fine, but was still too cold for the salamander species' preferences.
1trickPwnyta  [author] Jan 12 @ 10:08am 
@SierraKomodo When this happens, does the animal have access to any area that is warmer than that, or is that the warmest temp it has access to? Also, you can disable this behavior by disabling suboptimal temperatures in the mod settings.
SierraKomodo Jan 12 @ 9:30am 
It's been getting confused with some animals that have relatively abnormal safe temperatures. There's a fire salamander that's been getting hypothermia because it keeps waiting in rooms under 100 degrees as a safe area, despite that being below his minimum temp.
1trickPwnyta  [author] Dec 15, 2024 @ 11:21am 
@Radixerus I'm not very familiar with the Toddler mod so I'm probably missing something, but my baby doesn't seem to be able to move. Also, I checked the safe temperature actions with a toddler and they had no problem seeking and waiting in safe temperature on their own. Just to be clear, is the problem with babies or with toddlers? And what are the exact steps you used to get this error? Thanks!