fix credit values in report
This commit is contained in:
parent
bc9b98dac4
commit
f159b29191
@ -40,7 +40,7 @@ namespace NonaBGS.BGS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return string.Format("Sold {0} page(s) worth of universal cartographics\n" +
|
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) {
|
private string BuildCargoSold(Objective objective) {
|
||||||
@ -74,7 +74,8 @@ namespace NonaBGS.BGS {
|
|||||||
return "";
|
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) {
|
private string BuildKillBonds(Objective objective) {
|
||||||
@ -111,7 +112,7 @@ namespace NonaBGS.BGS {
|
|||||||
foreach (var mission in missions) {
|
foreach (var mission in missions) {
|
||||||
var m = mission as Vouchers;
|
var m = mission as Vouchers;
|
||||||
builder.AppendFormat("Handed in {0} vouchers for {1}\n", m.Type, m.Faction);
|
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");
|
builder.AppendFormat("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user