diff --git a/Source/1.5/HarmonyPatches.cs b/Source/1.5/HarmonyPatches.cs index b5534fad..2436d956 100644 --- a/Source/1.5/HarmonyPatches.cs +++ b/Source/1.5/HarmonyPatches.cs @@ -5209,6 +5209,22 @@ public static void Postfix(GameEnder __instance) } } + // Need warm clothes alert is seasonal, reminds player to get warm clothes when winte is coming soon. Ans also tutorial-ish, tell new players what to do. + // Space map is not seasonal, it is always -100C. So this alert isn't really necessary and even reported annoying, so remove. + [HarmonyPatch(typeof(Alert_NeedWarmClothes), "AnyColonistsNeedWarmClothes")] + public static class NoSeasonalWarmClothesInSpace + { + public static bool Prefix(Map map, ref bool __result) + { + if (map.IsSpace()) + { + __result = false; + return false; + } + return true; + } + } + /*[HarmonyPatch(typeof(ActiveDropPod),"PodOpen")] public static class ActivePodFix{ public static bool Prefix (ref ActiveDropPod __instance)