From b9d1c9be02cdb3e01a3ec60d98227d8612ffdedb Mon Sep 17 00:00:00 2001 From: NathanKell Date: Fri, 12 May 2023 22:11:24 -0700 Subject: [PATCH] Tweak unpressurized cockpit PM to say is fully pressurized if rated alt > 140km. See #1909 --- Source/ModuleUnpressurizedCockpit.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/ModuleUnpressurizedCockpit.cs b/Source/ModuleUnpressurizedCockpit.cs index 0fc89e569d5..de559e1c40c 100644 --- a/Source/ModuleUnpressurizedCockpit.cs +++ b/Source/ModuleUnpressurizedCockpit.cs @@ -32,6 +32,9 @@ public class ModuleUnpressurizedCockpit : PartModule public override string GetInfo() { + if (crewDeathAltitude > 140000d) + return "Cockpit is now fully pressurized."; + return $"Cockpit is unpressurized and will lead to crew death above {crewDeathAltitude / 1000:0.#}km"; }