Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions 1.5/Languages/English/Keyed/Gameplay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
<SoS.LandDesc>Land this ship near </SoS.LandDesc>
<SoS.Rebuild>Rebuild ship parts</SoS.Rebuild>
<SoS.RebuildDesc>Places blueprints for destroyed buildings on this ship.</SoS.RebuildDesc>
<SoS.BridgeConnectTooltip>Check that all pilot and tactical consoles, also drone cores and AI cores are conncted to heat and thermal networks.</SoS.BridgeConnectTooltip>
<!-- story -->
<SoS.QuestPillarA>Attack KSS Horizon</SoS.QuestPillarA>
<SoS.QuestPillarADesc>Attempt to engage the ancient terraforming station and recover an archotech pillar</SoS.QuestPillarADesc>
Expand Down
6 changes: 5 additions & 1 deletion Source/1.5/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down