Archived
1
0

Compare commits

..

3 Commits

Author SHA1 Message Date
florian 9d7dc7c850 compare faction, system and station case insensitive 2021-08-19 17:14:20 +02:00
florian 1d4058c514 add another mission name 2021-08-19 17:14:02 +02:00
florian 9339eab145 add a few more mission names 2021-08-15 10:40:10 +02:00
2 changed files with 15 additions and 9 deletions
+11 -8
View File
@@ -26,20 +26,23 @@ namespace NonaBGS.BGS {
} }
} }
if (e.System != null && system != null && if (e.System != null && system != null) {
e.System == system) { if (string.Compare(e.System, system, true) == 0) {
++match_count; ++match_count;
} }
if (e.Station != null && station != null &&
e.Station == station) {
++match_count;
} }
if (e.Faction != null && faction != null && if (e.Station != null && station != null) {
e.Faction == faction) { if (string.Compare(e.Station, station, true) == 0) {
++match_count; ++match_count;
} }
}
if (e.Faction != null && faction != null) {
if (string.Compare(e.Faction, faction, true) == 0) {
++match_count;
}
}
return match_count; return match_count;
} }
+3
View File
@@ -22,9 +22,12 @@ namespace NonaBGS.Journal {
{ "Mission_AltruismCredits_name", "Donate Credits" }, { "Mission_AltruismCredits_name", "Donate Credits" },
{ "Mission_AltruismCredits_Bust_name", "Donate Credits (Bust)" }, { "Mission_AltruismCredits_Bust_name", "Donate Credits (Bust)" },
{ "Mission_Collect_name", "Provide" }, { "Mission_Collect_name", "Provide" },
{ "Mission_Collect_Bust_name", "Provide (Bust)" },
{ "Mission_Collect_CivilLiberty_name", "Provide (Civil Liberty)" }, { "Mission_Collect_CivilLiberty_name", "Provide (Civil Liberty)" },
{ "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_Lockdown_name", "Courier (Lockdown)" },
{ "Mission_Courier_name", "Courier" }, { "Mission_Courier_name", "Courier" },
{ "Mission_Courier_RankEmp_name", "Courier (Empire)" }, { "Mission_Courier_RankEmp_name", "Courier (Empire)" },
{ "Mission_Delivery_Boom_name", "Delivery (Boom)" }, { "Mission_Delivery_Boom_name", "Delivery (Boom)" },