Compare commits
3 Commits
6f9d3a64ff
...
365c34bdb0
Author | SHA1 | Date | |
---|---|---|---|
365c34bdb0 | |||
7fa19c0733 | |||
ea07c4dbcb |
@ -20,6 +20,7 @@ public class Thargoid {
|
|||||||
// In Update 14.1 the payout for Orthrus has been rebalanced.
|
// In Update 14.1 the payout for Orthrus has been rebalanced.
|
||||||
{ 30000000, ThargoidVessel.Orthrus },
|
{ 30000000, ThargoidVessel.Orthrus },
|
||||||
{ 40000000, ThargoidVessel.Medusa },
|
{ 40000000, ThargoidVessel.Medusa },
|
||||||
|
// This used to be the old payout value for Orthrus
|
||||||
{ 50000000, ThargoidVessel.Orthrus },
|
{ 50000000, ThargoidVessel.Orthrus },
|
||||||
{ 60000000, ThargoidVessel.Hydra },
|
{ 60000000, ThargoidVessel.Hydra },
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,8 @@ namespace EliteBGS.LogGenerator;
|
|||||||
|
|
||||||
public class MissionFormat : LogFormatter {
|
public class MissionFormat : LogFormatter {
|
||||||
public string GenerateLog(Objective objective) {
|
public string GenerateLog(Objective objective) {
|
||||||
Dictionary<string, Dictionary<string, int>> collated = new Dictionary<string, Dictionary<string, int>>();
|
Dictionary<string, Dictionary<string, int>> collated = new();
|
||||||
|
Dictionary<string, ulong> passengers = new();
|
||||||
StringBuilder output = new StringBuilder();
|
StringBuilder output = new StringBuilder();
|
||||||
int total_influence = 0;
|
int total_influence = 0;
|
||||||
|
|
||||||
@ -28,6 +29,15 @@ public class MissionFormat : LogFormatter {
|
|||||||
++collated[m.MissionName][m.Influence];
|
++collated[m.MissionName][m.Influence];
|
||||||
|
|
||||||
total_influence += m.Influence.Length;
|
total_influence += m.Influence.Length;
|
||||||
|
|
||||||
|
if (m.AcceptedEntry != null &&
|
||||||
|
m.AcceptedEntry.Mission != null &&
|
||||||
|
m.AcceptedEntry.Mission.IsPassengerMission) {
|
||||||
|
if (!passengers.ContainsKey(m.MissionName)) {
|
||||||
|
passengers[m.MissionName] = 0;
|
||||||
|
}
|
||||||
|
passengers[m.MissionName] += (m.AcceptedEntry.Mission.PassengerCount ?? 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var mission in collated) {
|
foreach (var mission in collated) {
|
||||||
@ -37,8 +47,14 @@ public class MissionFormat : LogFormatter {
|
|||||||
output.AppendFormat("Inf{0} x{1}, ", influence.Key, influence.Value);
|
output.AppendFormat("Inf{0} x{1}, ", influence.Key, influence.Value);
|
||||||
}
|
}
|
||||||
output.Remove(output.Length - 2, 2); // remove last ", "
|
output.Remove(output.Length - 2, 2); // remove last ", "
|
||||||
output.Append(")\n\n");
|
output.Append(")");
|
||||||
|
|
||||||
|
if (passengers.ContainsKey(mission.Key)) {
|
||||||
|
output.AppendFormat(" ({0} Passengers)", passengers[mission.Key]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
output.Append("\n\n");
|
||||||
|
|
||||||
var support = objective.EnabledOfType<InfluenceSupport>();
|
var support = objective.EnabledOfType<InfluenceSupport>();
|
||||||
foreach (InfluenceSupport inf in support) {
|
foreach (InfluenceSupport inf in support) {
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
# EliteBGS changelog
|
# EliteBGS changelog
|
||||||
|
|
||||||
|
## 0.2.2 on 07.12.2022
|
||||||
|
|
||||||
|
* Orthrus interceptor payout changed to U14.1 values.
|
||||||
|
* Detection of AX combat zones has been improved.
|
||||||
|
* All thargoid war missions now contribute to the system.
|
||||||
|
* Thargoid combat zones go to "Very High".
|
||||||
|
* Passenger missions show amount of people rescued.
|
||||||
|
|
||||||
## 0.2.1 on 03.12.2022
|
## 0.2.1 on 03.12.2022
|
||||||
|
|
||||||
* Add support for Thargoid combat zones.
|
* Add support for Thargoid combat zones.
|
||||||
|
Loading…
Reference in New Issue
Block a user