From b126f2103b702f189eccce63a96565fc2ace12ff Mon Sep 17 00:00:00 2001 From: Killface1980 Date: Thu, 9 Nov 2017 03:14:29 +0100 Subject: [PATCH] changes --- Source/Outfitter/ApparelStatCache.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Outfitter/ApparelStatCache.cs b/Source/Outfitter/ApparelStatCache.cs index 528868e..2d43127 100644 --- a/Source/Outfitter/ApparelStatCache.cs +++ b/Source/Outfitter/ApparelStatCache.cs @@ -615,6 +615,14 @@ public void UpdateTemperatureIfNecessary(bool force = false, bool forceweight = this.pawnSave.TargetTemperatures.max = 32; } + if (this.pawn.workSettings.WorkIsActive(DefDatabase.GetNamed("Cooking"))) + { + { + this.pawnSave.TargetTemperatures.min = Mathf.Min(this.pawnSave.TargetTemperatures.min, -3); + } + + } + this.lastTempUpdate = Find.TickManager.TicksGame; } }