From 3a5d0a90ef87227637cff2e30c007de8725babba Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Fri, 25 Nov 2022 15:51:01 +0100 Subject: [PATCH] improve reporting of combat vouchers and thargoid kills --- EliteBGS/LogGenerator/ThargoidFormatter.cs | 2 +- EliteBGS/LogGenerator/VoucherFormat.cs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/EliteBGS/LogGenerator/ThargoidFormatter.cs b/EliteBGS/LogGenerator/ThargoidFormatter.cs index c9acb4b..9c4f4e6 100644 --- a/EliteBGS/LogGenerator/ThargoidFormatter.cs +++ b/EliteBGS/LogGenerator/ThargoidFormatter.cs @@ -24,7 +24,7 @@ public class ThargoidFormatter : LogFormatter { StringBuilder builder = new StringBuilder(); foreach (var k in sorted) { string name = Thargoid.GetVesselName(k.Key); - builder.AppendFormat("{0}x {1} killed\n", k.Value.Count, name); + builder.AppendFormat("{0}x {1}(s) killed\n", k.Value.Count, name); } return builder.ToString(); diff --git a/EliteBGS/LogGenerator/VoucherFormat.cs b/EliteBGS/LogGenerator/VoucherFormat.cs index a622b58..f15e727 100644 --- a/EliteBGS/LogGenerator/VoucherFormat.cs +++ b/EliteBGS/LogGenerator/VoucherFormat.cs @@ -19,9 +19,7 @@ public class VoucherFormat : LogFormatter { } foreach (var m in missions) { - builder.AppendFormat("Handed in {0} vouchers for {1}\n", m.Type, m.Faction); - builder.AppendFormat("(Total value: {0})\n", Credits.FormatCredits(m.TotalSum)); - builder.AppendFormat("\n"); + builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Type, Credits.FormatCredits(m.TotalSum)); } return builder.ToString().Trim();