Compare commits
No commits in common. "9d4342a6f80a40c41ecf383999023b29ad173b2d" and "9d7dc7c850f8b650dee1418371ad74ca6516c71b" have entirely different histories.
9d4342a6f8
...
9d7dc7c850
@ -83,7 +83,6 @@ namespace NonaBGS.BGS {
|
|||||||
private string BuildMissionList(Objective objective) {
|
private string BuildMissionList(Objective objective) {
|
||||||
Dictionary<string, Dictionary<string, int>> collated = new Dictionary<string, Dictionary<string, int>>();
|
Dictionary<string, Dictionary<string, int>> collated = new Dictionary<string, Dictionary<string, int>>();
|
||||||
StringBuilder output = new StringBuilder();
|
StringBuilder output = new StringBuilder();
|
||||||
int total_influence = 0;
|
|
||||||
|
|
||||||
var missions = from entries in objective.LogEntries
|
var missions = from entries in objective.LogEntries
|
||||||
where entries.GetType() == typeof(MissionCompleted)
|
where entries.GetType() == typeof(MissionCompleted)
|
||||||
@ -103,8 +102,6 @@ namespace NonaBGS.BGS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
++collated[m.MissionName][m.Influence];
|
++collated[m.MissionName][m.Influence];
|
||||||
|
|
||||||
total_influence += m.Influence.Length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var mission in collated) {
|
foreach (var mission in collated) {
|
||||||
@ -121,8 +118,6 @@ namespace NonaBGS.BGS {
|
|||||||
output.Append(")\n\n");
|
output.Append(")\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
output.AppendFormat("Total Influence: {0}\n", total_influence);
|
|
||||||
|
|
||||||
return output.ToString();
|
return output.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ namespace NonaBGS.Journal {
|
|||||||
{ "Mission_Collect_name", "Provide" },
|
{ "Mission_Collect_name", "Provide" },
|
||||||
{ "Mission_Collect_Bust_name", "Provide (Bust)" },
|
{ "Mission_Collect_Bust_name", "Provide (Bust)" },
|
||||||
{ "Mission_Collect_CivilLiberty_name", "Provide (Civil Liberty)" },
|
{ "Mission_Collect_CivilLiberty_name", "Provide (Civil Liberty)" },
|
||||||
{ "Mission_Collect_Famine_name", "Provide (Famine)" },
|
|
||||||
{ "Mission_Courier_Democracy_name", "Courier (Democracy)" },
|
{ "Mission_Courier_Democracy_name", "Courier (Democracy)" },
|
||||||
{ "Mission_Courier_Elections_name", "Courier (Elections)" },
|
{ "Mission_Courier_Elections_name", "Courier (Elections)" },
|
||||||
{ "Mission_Courier_Famine_name", "Courier (Famine)" },
|
{ "Mission_Courier_Famine_name", "Courier (Famine)" },
|
||||||
|
Reference in New Issue
Block a user