diff --git a/1.5/Languages/English/Keyed/Gameplay.xml b/1.5/Languages/English/Keyed/Gameplay.xml index 3d81588..6a167f3 100644 --- a/1.5/Languages/English/Keyed/Gameplay.xml +++ b/1.5/Languages/English/Keyed/Gameplay.xml @@ -182,6 +182,7 @@ Land this ship near Rebuild ship parts Places blueprints for destroyed buildings on this ship. + Check that all pilot and tactical consoles, also drone cores and AI cores are conncted to heat and thermal networks. Attack KSS Horizon Attempt to engage the ancient terraforming station and recover an archotech pillar diff --git a/Source/1.5/HarmonyPatches.cs b/Source/1.5/HarmonyPatches.cs index 6e7b6f7..6bc8350 100644 --- a/Source/1.5/HarmonyPatches.cs +++ b/Source/1.5/HarmonyPatches.cs @@ -132,10 +132,14 @@ public static void Postfix(ColonistBar __instance) if (Mouse.IsOver(rect2)) { StringBuilder stringBuilder = new StringBuilder(); + if (bridge.heatCap == 0 || bridge.powerCap == 0) + { + stringBuilder.AppendLine(TranslatorFormattedStringExtensions.Translate("SoS.BridgeConnectTooltip")); + } stringBuilder.AppendLine(TranslatorFormattedStringExtensions.Translate("SoS.StatsShipCombatRating", bridge.Ship.Threat)); stringBuilder.AppendLine(TranslatorFormattedStringExtensions.Translate("SoS.StatsShipMass", bridge.Ship.MassActual)); stringBuilder.AppendLine(TranslatorFormattedStringExtensions.Translate("SoS.StatsShipCombatThrust", bridge.Ship.ThrustRatio.ToString("F3"))); - if(bridge.heatComp.myNet.Depletion > 0) + if (bridge.heatComp.myNet.Depletion > 0) { stringBuilder.AppendLine(TranslatorFormattedStringExtensions.Translate("SoS.StatsShipHeatMaximum", bridge.heatComp.myNet.StorageCapacityRaw)); }