Archived
1
0

fix credit values in report

This commit is contained in:
Florian Stinglmayr 2021-10-19 17:59:32 +02:00
parent bc9b98dac4
commit f159b29191

View File

@ -40,7 +40,7 @@ namespace NonaBGS.BGS {
}
return string.Format("Sold {0} page(s) worth of universal cartographics\n" +
"(Total value: {1} CR)\n", pages, sum);
"(Total value: {1})\n", pages, Credits.FormatCredits(sum));
}
private string BuildCargoSold(Objective objective) {
@ -74,7 +74,8 @@ namespace NonaBGS.BGS {
return "";
}
return string.Format("Sold {0} CR worth of Micro Resources\n", sum);
return string.Format("Sold {0} worth of Micro Resources\n",
Credits.FormatCredits(sum));
}
private string BuildKillBonds(Objective objective) {
@ -111,7 +112,7 @@ namespace NonaBGS.BGS {
foreach (var mission in missions) {
var m = mission as Vouchers;
builder.AppendFormat("Handed in {0} vouchers for {1}\n", m.Type, m.Faction);
builder.AppendFormat("(Total value: {0} CR)\n", m.TotalSum);
builder.AppendFormat("(Total value: {0})\n", Credits.FormatCredits(m.TotalSum));
builder.AppendFormat("\n");
}