Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Source/1.5/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down