diff --git a/Assets/Plugins/KerbalEngineer.Unity.dll b/Assets/Plugins/KerbalEngineer.Unity.dll index 9304d60d..0be4330c 100644 Binary files a/Assets/Plugins/KerbalEngineer.Unity.dll and b/Assets/Plugins/KerbalEngineer.Unity.dll differ diff --git a/Documents/CHANGES.txt b/Documents/CHANGES.txt index c5675c83..68f50d67 100644 --- a/Documents/CHANGES.txt +++ b/Documents/CHANGES.txt @@ -1,9 +1,13 @@ -1.1.5.7, 2018-1-14, KSP 1.6.1 #2401 +1.1.6.0, 2019-4-10, KSP 1.7.0 #2483 + - Version bump for 1.7.0 + - Show localized biome name + +1.1.5.7, 2019-1-14, KSP 1.6.1 #2401 - Fix Impact Marker showing while on EVA and KER overlay isn't available due to career limitations. - Add readout for throttle % to Vessel readouts. - Merge some pull requests. -1.1.5.6, 2018-1-8, KSP 1.6.0 #2395 +1.1.5.6, 2019-1-8, KSP 1.6.0 #2395 - Fix missing part data causing VAB filters to break. 1.1.5.5, 2018-12-20, KSP 1.6.0 #2395 diff --git a/KerbalEngineer/EngineerGlobals.cs b/KerbalEngineer/EngineerGlobals.cs index 373fd4c2..affad423 100644 --- a/KerbalEngineer/EngineerGlobals.cs +++ b/KerbalEngineer/EngineerGlobals.cs @@ -21,7 +21,7 @@ public static class EngineerGlobals /// /// Current version of the Kerbal Engineer assembly. /// - public const string ASSEMBLY_VERSION = "1.1.5.7"; + public const string ASSEMBLY_VERSION = "1.1.6.0"; private static string assemblyFile; private static string assemblyName; diff --git a/KerbalEngineer/Flight/Readouts/Surface/Biome.cs b/KerbalEngineer/Flight/Readouts/Surface/Biome.cs index 99c9cbe2..701b2dc8 100644 --- a/KerbalEngineer/Flight/Readouts/Surface/Biome.cs +++ b/KerbalEngineer/Flight/Readouts/Surface/Biome.cs @@ -43,7 +43,9 @@ public Biome() public override void Draw(Unity.Flight.ISectionModule section) { - this.DrawLine(ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude), section.IsHud); + var biome = ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude); + biome = ScienceUtil.GetBiomedisplayName(FlightGlobals.ActiveVessel.mainBody, biome); + this.DrawLine(biome, section.IsHud); } #endregion diff --git a/KerbalEngineer/Flight/Readouts/Surface/ImpactProcessor.cs b/KerbalEngineer/Flight/Readouts/Surface/ImpactProcessor.cs index 82f33f11..b370db96 100644 --- a/KerbalEngineer/Flight/Readouts/Surface/ImpactProcessor.cs +++ b/KerbalEngineer/Flight/Readouts/Surface/ImpactProcessor.cs @@ -275,6 +275,7 @@ public void Update() { try { Biome = ScienceUtil.GetExperimentBiome(body, impactLatitude, impactLongitude); + Biome = ScienceUtil.GetBiomedisplayName(body, Biome); } catch (Exception ex) { //this gets spammy with misbehaving mod planets. Biome = ""; } diff --git a/KerbalEngineer/Flight/Readouts/Surface/Situation.cs b/KerbalEngineer/Flight/Readouts/Surface/Situation.cs index 0f177a0e..e5bab617 100644 --- a/KerbalEngineer/Flight/Readouts/Surface/Situation.cs +++ b/KerbalEngineer/Flight/Readouts/Surface/Situation.cs @@ -77,7 +77,7 @@ public override void Draw(Unity.Flight.ISectionModule section) private static string GetBiome() { - return ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude); + return ScienceUtil.GetExperimentBiomeLocalized(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude); } private static string GetBodyPlural() diff --git a/Output/KerbalEngineer/KerbalEngineer.Unity.dll b/Output/KerbalEngineer/KerbalEngineer.Unity.dll index 9304d60d..0be4330c 100644 Binary files a/Output/KerbalEngineer/KerbalEngineer.Unity.dll and b/Output/KerbalEngineer/KerbalEngineer.Unity.dll differ diff --git a/Output/KerbalEngineer/KerbalEngineer.dll b/Output/KerbalEngineer/KerbalEngineer.dll index 91015563..589b03c3 100644 Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ diff --git a/Output/KerbalEngineer/KerbalEngineer.version b/Output/KerbalEngineer/KerbalEngineer.version index 113a915b..6ff5665b 100644 --- a/Output/KerbalEngineer/KerbalEngineer.version +++ b/Output/KerbalEngineer/KerbalEngineer.version @@ -6,14 +6,14 @@ { "MAJOR":1, "MINOR":1, - "PATCH":5, - "BUILD":7 + "PATCH":6, + "BUILD":0 }, "KSP_VERSION": { "MAJOR":1, - "MINOR":6, - "PATCH":1 + "MINOR":7, + "PATCH":0 }, "KSP_VERSION_MIN": { @@ -24,7 +24,7 @@ "KSP_VERSION_MAX": { "MAJOR":1, - "MINOR":6, + "MINOR":7, "PATCH":9 } }