improve reporting of combat vouchers and thargoid kills
This commit is contained in:
parent
8514331701
commit
3a5d0a90ef
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user