diff --git a/BGS/SearchAndRescue.cs b/BGS/SearchAndRescue.cs index 1795841..041cf81 100644 --- a/BGS/SearchAndRescue.cs +++ b/BGS/SearchAndRescue.cs @@ -17,6 +17,12 @@ namespace EliteBGS.BGS { } } + public long Reward { + get { + return Entries.OfType().Sum(x => x.Reward); + } + } + public string NameLocalised { get { return Entries.OfType().First().NameLocalised; @@ -41,7 +47,11 @@ namespace EliteBGS.BGS { } public override string ToString() { - return string.Format("Contributed {0} {1} to Search and Rescue", Count, NameLocalised); + return string.Format("Contributed {0} {1} to Search and Rescue ({2})", + Count, + NameLocalised, + Credits.FormatCredits(Reward) + ); } public override bool OnlyControllingFaction => true;