improve reporting of combat vouchers and thargoid kills

This commit is contained in:
Florian Stinglmayr 2022-11-25 15:51:01 +01:00
parent 8514331701
commit 3a5d0a90ef
2 changed files with 2 additions and 4 deletions

View File

@ -24,7 +24,7 @@ public class ThargoidFormatter : LogFormatter {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
foreach (var k in sorted) { foreach (var k in sorted) {
string name = Thargoid.GetVesselName(k.Key); 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(); return builder.ToString();

View File

@ -19,9 +19,7 @@ public class VoucherFormat : LogFormatter {
} }
foreach (var m in missions) { foreach (var m in missions) {
builder.AppendFormat("Handed in {0} vouchers for {1}\n", m.Type, m.Faction); builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Type, Credits.FormatCredits(m.TotalSum));
builder.AppendFormat("(Total value: {0})\n", Credits.FormatCredits(m.TotalSum));
builder.AppendFormat("\n");
} }
return builder.ToString().Trim(); return builder.ToString().Trim();