fix missions that give influence to no one

This commit is contained in:
Florian Stinglmayr 2022-02-26 10:58:09 +01:00
parent 29f455e9b4
commit 7d822f1b2f
5 changed files with 145 additions and 39 deletions

View File

@ -1,4 +1,5 @@
using System.Text; using System.Text;
using EDJournal;
namespace EliteBGS.BGS { namespace EliteBGS.BGS {
/// <summary> /// <summary>
@ -8,14 +9,14 @@ namespace EliteBGS.BGS {
/// </summary> /// </summary>
public class InfluenceSupport : LogEntry { public class InfluenceSupport : LogEntry {
public string Influence { get; set; } public string Influence { get; set; }
public MissionCompleted RelevantMission { get; set; } public MissionCompletedEntry RelevantMission { get; set; }
public override string ToString() { public override string ToString() {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
string missionname; string missionname;
if (RelevantMission != null) { if (RelevantMission != null) {
missionname = RelevantMission.MissionName; missionname = RelevantMission.HumanReadableName;
} else { } else {
missionname = "UNKNOWN MISSION"; missionname = "UNKNOWN MISSION";
} }

View File

@ -185,6 +185,11 @@ namespace EliteBGS.BGS {
MissionCompletedEntry completed = e as MissionCompletedEntry; MissionCompletedEntry completed = e as MissionCompletedEntry;
MissionAcceptedEntry accepted = null; MissionAcceptedEntry accepted = null;
MissionCompleted main_mission = null; MissionCompleted main_mission = null;
ulong accepted_address;
string accepted_system;
string target_faction_name = completed.TargetFaction;
string source_faction_name = completed.Faction;
if (!acceptedMissions.TryGetValue(completed.MissionID, out accepted)) { if (!acceptedMissions.TryGetValue(completed.MissionID, out accepted)) {
OnLog?.Invoke(string.Format( OnLog?.Invoke(string.Format(
@ -194,7 +199,20 @@ namespace EliteBGS.BGS {
continue; continue;
} }
string mission_giver = completed.Faction; if (!acceptedSystems.TryGetValue(completed.MissionID, out accepted_address)) {
OnLog?.Invoke(string.Format(
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
));
continue;
}
if (!systems.TryGetValue(accepted_address, out accepted_system)) {
OnLog?.Invoke(string.Format(
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
));
continue;
}
if (completed.HumanReadableNameWasGenerated) { if (completed.HumanReadableNameWasGenerated) {
/* If the human readable name was generated, we send a log message. Because the /* If the human readable name was generated, we send a log message. Because the
* generated names all sort of suck, we should have more human readable names in * generated names all sort of suck, we should have more human readable names in
@ -226,14 +244,53 @@ namespace EliteBGS.BGS {
"If this assessment is wrong, just remove the entry from the objective list.", "If this assessment is wrong, just remove the entry from the objective list.",
completed.HumanReadableName, faction completed.HumanReadableName, faction
)); ));
// Add empty entry
if (string.Compare(target_faction_name, faction, true) == 0) {
/* here we assume that if the faction in question is the target faction,
* that we gave said target faction no influence in the target system, aka
* current system
*/
other.Value.Add(current_system_address, ""); other.Value.Add(current_system_address, "");
OnLog?.Invoke(string.Format(
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the target faction " +
"of the mission, we assume the influence was gained in \"{2}\". " +
"Please remove the entry if this assumption is wrong.",
completed.HumanReadableName, faction, current_system
));
} else if (string.Compare(source_faction_name, faction, true) == 0) {
/* source faction of the mission is not getting any influence. This could be because
* the source faction is in an election state in its home system and cannot gain any
* influence. It may also very well be that the source and target faction are the same
* since the faction is present in both target and source system. In which case we add
* both and hope for the best.
*/
other.Value.Add(accepted_address, "");
OnLog?.Invoke(string.Format(
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the source faction " +
"of the mission, we assume the influence was gained in \"{2}\". " +
"Please remove the entry if this assumption is wrong.",
completed.HumanReadableName, faction, accepted_system
));
/* check if source/target faction are equal, in which case we also need an entry
* for the target system. As said factions can be present in two systems, and can
* give missions that target each other.
*/
if (string.Compare(source_faction_name, target_faction_name, true) == 0) {
other.Value.Add(current_system_address, "");
OnLog?.Invoke(string.Format(
"Mission \"{0}\" gave no influence to \"{1}\". Since \"{1}\" is the source and target faction " +
"of the mission, we assume the influence was also gained in target system \"{2}\". " +
"Please remove the entry if this assumption is wrong.",
completed.HumanReadableName, faction, current_system
));
}
}
} }
foreach (var influences in other.Value) { foreach (var influences in other.Value) {
ulong system_address = influences.Key; ulong system_address = influences.Key;
ulong accepted_address = 0; string system, accepted_station;
string system, accepted_station, accepted_system;
if (!systems.TryGetValue(system_address, out system)) { if (!systems.TryGetValue(system_address, out system)) {
OnLog?.Invoke(string.Format( OnLog?.Invoke(string.Format(
@ -242,20 +299,6 @@ namespace EliteBGS.BGS {
continue; continue;
} }
if (!acceptedSystems.TryGetValue(completed.MissionID, out accepted_address)) {
OnLog?.Invoke(string.Format(
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
));
continue;
}
if (!systems.TryGetValue(accepted_address, out accepted_system)) {
OnLog?.Invoke(string.Format(
"Unable to figure out in which system mission \"{0}\" was accepted.", completed.HumanReadableName
));
continue;
}
if (!acceptedStations.TryGetValue(completed.MissionID, out accepted_station)) { if (!acceptedStations.TryGetValue(completed.MissionID, out accepted_station)) {
OnLog?.Invoke(string.Format( OnLog?.Invoke(string.Format(
"Unable to figure out in which station mission \"{0}\" was accepted.", completed.HumanReadableName "Unable to figure out in which station mission \"{0}\" was accepted.", completed.HumanReadableName
@ -263,30 +306,18 @@ namespace EliteBGS.BGS {
continue; continue;
} }
if (faction.Equals(mission_giver) && system_address == accepted_address) { if (faction.Equals(source_faction_name) && system_address == accepted_address) {
/* This is the influence block for the origin of the mission. /* This is the influence block for the origin of the mission.
*/ */
main_mission = new MissionCompleted(completed) { main_mission = new MissionCompleted(completed) {
System = accepted_system, System = accepted_system,
Faction = mission_giver, Faction = source_faction_name,
SystemAddress = accepted_address, SystemAddress = accepted_address,
Station = accepted_station, Station = accepted_station,
}; };
/* We might already have secondary missions, so update them.
* We cannot rely on the order in which they are listed in the affected
* factions.
*/
if (results.Count() > 0) {
results
.ForEach(x => {
if (x.GetType() == typeof(InfluenceSupport)) {
(x as InfluenceSupport).RelevantMission = main_mission;
}
});
}
results.Add(main_mission); results.Add(main_mission);
} else if (!faction.Equals(mission_giver) || } else if (!faction.Equals(source_faction_name) ||
(faction.Equals(mission_giver) && system_address != accepted_address)) { (faction.Equals(source_faction_name) && system_address != accepted_address)) {
/* This block is for secondary factions (first if), or if the secondary faction /* This block is for secondary factions (first if), or if the secondary faction
* is the same as the mission giver, but in another system (second if). * is the same as the mission giver, but in another system (second if).
*/ */
@ -295,8 +326,7 @@ namespace EliteBGS.BGS {
Influence = influences.Value, Influence = influences.Value,
System = system, System = system,
SystemAddress = system_address, SystemAddress = system_address,
/* main mission might be null, and may be fixed later */ RelevantMission = completed
RelevantMission = main_mission
}); });
} }
} }

View File

@ -202,6 +202,7 @@
<Content Include="main-objectives.png"> <Content Include="main-objectives.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<None Include="TestData\Mission-NoInfForSourceOrTarget.txt" />
<None Include="TestData\NoFactionName-AndNoInfluence.txt" /> <None Include="TestData\NoFactionName-AndNoInfluence.txt" />
<None Include="TestData\Mission-Failed.txt" /> <None Include="TestData\Mission-Failed.txt" />
<None Include="TestData\DoubleSupport.txt" /> <None Include="TestData\DoubleSupport.txt" />

View File

@ -167,6 +167,59 @@ This happens for example if you do a scan/heist mission from a surface POI, but
surface POI. Randomly generated surface POIs sometimes have no owner, and said non-existant owner surface POI. Randomly generated surface POIs sometimes have no owner, and said non-existant owner
then gets the negative influence. then gets the negative influence.
### Mission Completed but no one gains influence
Sometimes missions are completed but no one gains any influence:
```
{
"timestamp": "2022-02-25T21:30:45Z",
"event": "MissionCompleted",
"Faction": "Social LHS 6103 Confederation",
"Name": "Mission_Courier_Elections_name",
"MissionID": 850025233,
"TargetFaction": "Delphin Blue Federal PLC",
"DestinationSystem": "Delphin",
"DestinationStation": "Aristotle Orbital",
"Reward": 122300,
"FactionEffects": [
{
"Faction": "Social LHS 6103 Confederation",
"Effects": [
{
"Effect": "$MISSIONUTIL_Interaction_Summary_EP_up;",
"Effect_Localised": "The economic status of $#MinorFaction; has improved in the $#System; system.",
"Trend": "UpGood"
}
],
"Influence": [],
"ReputationTrend": "UpGood",
"Reputation": "+"
},
{
"Faction": "Delphin Blue Federal PLC",
"Effects": [],
"Influence": [],
"ReputationTrend": "UpGood",
"Reputation": "+"
}
]
}
```
Here the is known that at the time of completion the Confederation was in an Election and could not
have gained any influence regardless. It is unclear whether this also holds true for Delphin Blue
Federal PLC. So to be save, the tool assumes that if no influence was gained for the source faction,
it still has to make an entry for the source system. The same applies for the target faction: if no
influence is gained for the target faction, still add an entry for the target faction in the missions
target system.
Since it is not possible to differentiate between missions that give no influence no matter what, and
no influence gained because of an election, we have to assume it *gave* influence and let the user
decide whether it was because of an election, or not.
Future tool versions should probably take faction states into account in such matters.
## Use EDDB information ## Use EDDB information
EliteBGS can download information from EDDB to auto complete system and station names. You can EliteBGS can download information from EDDB to auto complete system and station names. You can

View File

@ -0,0 +1,21 @@
{"timestamp":"2022-02-25T21:01:17Z","event":"FSDJump","StarSystem":"Dewikum","SystemAddress":9467315955081,"StarPos":[19.375,-0.28125,-68.9375],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Refinery;","SystemEconomy_Localised":"Refinery","SystemSecondEconomy":"$economy_Extraction;","SystemSecondEconomy_Localised":"Extraction","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_low;","SystemSecurity_Localised":"Low Security","Population":83688,"Body":"Dewikum A","BodyID":1,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":9.563,"FuelUsed":0.101743,"FuelLevel":27.23897,"Factions":[{"Name":"LHS 1857 Jet Galactic Systems","FactionState":"None","Government":"Corporate","Influence":0.077077,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Election","Trend":0}]},{"Name":"Social LHS 6103 Confederation","FactionState":"Election","Government":"Confederacy","Influence":0.29029,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand1;","Happiness_Localised":"Elated","MyReputation":47.812199,"ActiveStates":[{"State":"Boom"},{"State":"Election"}]},{"Name":"Susanoo Jet Fortune Corporation","FactionState":"None","Government":"Corporate","Influence":0.117117,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"Election","Trend":0}]},{"Name":"Dewikum League","FactionState":"None","Government":"Confederacy","Influence":0.128128,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Dewikum Blue Ring","FactionState":"None","Government":"Anarchy","Influence":0.01001,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Silver Dynamic Limited","FactionState":"None","Government":"Corporate","Influence":0.087087,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Flotta Stellare","FactionState":"Election","Government":"Democracy","Influence":0.29029,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"PendingStates":[{"State":"Expansion","Trend":0}],"RecoveringStates":[{"State":"InfrastructureFailure","Trend":0}],"ActiveStates":[{"State":"CivilUnrest"},{"State":"Election"}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"Conflicts":[{"WarType":"election","Status":"","Faction1":{"Name":"LHS 1857 Jet Galactic Systems","Stake":"Barnett Dredging Complex","WonDays":1},"Faction2":{"Name":"Susanoo Jet Fortune Corporation","Stake":"Ware Dredging Reserve","WonDays":1}},{"WarType":"election","Status":"active","Faction1":{"Name":"Social LHS 6103 Confederation","Stake":"Mahto Metallurgic Territory","WonDays":2},"Faction2":{"Name":"Flotta Stellare","Stake":"Wyeth Platform","WonDays":0}}]}
{"timestamp":"2022-02-25T21:17:15Z","event":"Docked","StationName":"Wyeth Platform","StationType":"Outpost","StarSystem":"Dewikum","SystemAddress":9467315955081,"MarketID":3228303360,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","facilitator","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":222506.593359}
{"timestamp":"2022-02-25T21:17:53Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Breksta Democrats","DestinationSystem":"Breksta","DestinationStation":"Brooks City","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":92833,"MissionID":850025164}
{"timestamp":"2022-02-25T21:17:56Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Bureau of Chang Yeh Focus","DestinationSystem":"Chang Yeh","DestinationStation":"Nicollet City","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":133255,"MissionID":850025176}
{"timestamp":"2022-02-25T21:18:11Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"LHS 1794 Noblement","DestinationSystem":"LHS 1794","DestinationStation":"Ricardo Landing","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":77419,"MissionID":850025208}
{"timestamp":"2022-02-25T21:18:16Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Natural Breksta Autocracy","DestinationSystem":"Breksta","DestinationStation":"Wells Hub","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"++","Reputation":"+","Reward":64994,"MissionID":850025225}
{"timestamp":"2022-02-25T21:18:18Z","event":"MissionAccepted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections","LocalisedName":"Courier for Sensitive Poll Data","TargetFaction":"Delphin Blue Federal PLC","DestinationSystem":"Delphin","DestinationStation":"Aristotle Orbital","Expiry":"2022-02-26T21:17:39Z","Wing":false,"Influence":"+","Reputation":"+","Reward":77300,"MissionID":850025233}
{"timestamp":"2022-02-25T21:19:47Z","event":"FSDJump","StarSystem":"Delphin","SystemAddress":732048656739,"StarPos":[18.65625,16.75,-76.3125],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Refinery;","SystemSecondEconomy_Localised":"Refinery","SystemGovernment":"$government_Dictatorship;","SystemGovernment_Localised":"Dictatorship","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":1024750044,"Body":"Delphin","BodyID":0,"BodyType":"Star","JumpDist":18.573,"FuelUsed":0.532036,"FuelLevel":31.467964,"Factions":[{"Name":"Values Party of Delphin","FactionState":"CivilWar","Government":"Democracy","Influence":0.077472,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Geawenki Travel Commodities","FactionState":"None","Government":"Corporate","Influence":0.095821,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Delphin Crimson Public Comms","FactionState":"None","Government":"Corporate","Influence":0.06524,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Bureau of Delphin First","FactionState":"None","Government":"Dictatorship","Influence":0.067278,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Delphin Blue Federal PLC","FactionState":"CivilWar","Government":"Corporate","Influence":0.077472,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"CivilWar"}]},{"Name":"Drug Empire of Delphin","FactionState":"None","Government":"Anarchy","Influence":0.010194,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Civitas Dei","FactionState":"Expansion","Government":"Dictatorship","Influence":0.606524,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"RecoveringStates":[{"State":"InfrastructureFailure","Trend":0}],"ActiveStates":[{"State":"Boom"},{"State":"Expansion"}]}],"SystemFaction":{"Name":"Civitas Dei","FactionState":"Expansion"},"Conflicts":[{"WarType":"civilwar","Status":"active","Faction1":{"Name":"Values Party of Delphin","Stake":"Amato Visitor Site","WonDays":1},"Faction2":{"Name":"Delphin Blue Federal PLC","Stake":"","WonDays":0}}]}
{"timestamp":"2022-02-25T21:28:40Z","event":"Docked","StationName":"Aristotle Orbital","StationType":"Outpost","StarSystem":"Delphin","SystemAddress":732048656739,"MarketID":3228188672,"StationFaction":{"Name":"Civitas Dei","FactionState":"Expansion"},"StationGovernment":"$government_Dictatorship;","StationGovernment_Localised":"Dictatorship","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Refinery;","StationEconomy_Localised":"Refinery","StationEconomies":[{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":1.0}],"DistFromStarLS":23659.312748}
{"timestamp":"2022-02-25T21:30:45Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025233,"TargetFaction":"Delphin Blue Federal PLC","DestinationSystem":"Delphin","DestinationStation":"Aristotle Orbital","Reward":122300,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Delphin Blue Federal PLC","Effects":[],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"}]}
{"timestamp":"2022-02-25T21:32:00Z","event":"FSDJump","StarSystem":"LHS 1794","SystemAddress":670954497425,"StarPos":[5.3125,-1.03125,-62.25],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Colony;","SystemSecondEconomy_Localised":"Colony","SystemGovernment":"$government_Democracy;","SystemGovernment_Localised":"Democracy","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":70688,"Body":"LHS 1794","BodyID":0,"BodyType":"Star","Powers":["Zachary Hudson"],"PowerplayState":"Exploited","JumpDist":26.306,"FuelUsed":1.248171,"FuelLevel":30.751829,"Factions":[{"Name":"Union of LHS 1794 Confederation","FactionState":"None","Government":"Confederacy","Influence":0.156902,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Partners","FactionState":"None","Government":"Corporate","Influence":0.082423,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Noblement","FactionState":"None","Government":"Feudal","Influence":0.038729,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Tao Ti Group","FactionState":"None","Government":"Corporate","Influence":0.050645,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"LHS 1794 Jet Pirates","FactionState":"None","Government":"Anarchy","Influence":0.00993,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"EXO","FactionState":"None","Government":"Democracy","Influence":0.132075,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":2.64,"PendingStates":[{"State":"Expansion","Trend":0}]},{"Name":"Flotta Stellare","FactionState":"Election","Government":"Democracy","Influence":0.529295,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"PendingStates":[{"State":"Expansion","Trend":0}]}],"SystemFaction":{"Name":"Flotta Stellare","FactionState":"Election"}}
{"timestamp":"2022-02-25T21:40:45Z","event":"Docked","StationName":"Ricardo Landing","StationType":"Outpost","StarSystem":"LHS 1794","SystemAddress":670954497425,"MarketID":3228058112,"StationFaction":{"Name":"Flotta Stellare","FactionState":"Election"},"StationGovernment":"$government_Democracy;","StationGovernment_Localised":"Democracy","StationServices":["dock","autodock","blackmarket","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Extraction;","StationEconomy_Localised":"Extraction","StationEconomies":[{"Name":"$economy_Extraction;","Name_Localised":"Extraction","Proportion":0.83},{"Name":"$economy_Refinery;","Name_Localised":"Refinery","Proportion":0.17}],"DistFromStarLS":2875.5048}
{"timestamp":"2022-02-25T21:41:55Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025208,"TargetFaction":"LHS 1794 Noblement","DestinationSystem":"LHS 1794","DestinationStation":"Ricardo Landing","Reward":77419,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"LHS 1794 Noblement","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":670954497425,"Trend":"UpGood","Influence":"++"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
{"timestamp":"2022-02-25T21:43:12Z","event":"FSDJump","StarSystem":"Chang Yeh","SystemAddress":8055378940618,"StarPos":[25.6875,-4.8125,-50.53125],"SystemAllegiance":"Federation","SystemEconomy":"$economy_Industrial;","SystemEconomy_Localised":"Industrial","SystemSecondEconomy":"$economy_Military;","SystemSecondEconomy_Localised":"Military","SystemGovernment":"$government_Corporate;","SystemGovernment_Localised":"Corporate","SystemSecurity":"$SYSTEM_SECURITY_medium;","SystemSecurity_Localised":"Medium Security","Population":3403274,"Body":"Chang Yeh A","BodyID":1,"BodyType":"Star","JumpDist":23.807,"FuelUsed":0.977414,"FuelLevel":31.022585,"Factions":[{"Name":"Chang Yeh Sanctuary","FactionState":"None","Government":"Theocracy","Influence":0.043912,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Cupiat Allied Commodities","FactionState":"None","Government":"Corporate","Influence":0.097804,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Bureau of Chang Yeh Focus","FactionState":"None","Government":"Dictatorship","Influence":0.037924,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Chang Yeh Purple Galactic Ind","FactionState":"None","Government":"Corporate","Influence":0.107784,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Chang Yeh Brothers","FactionState":"None","Government":"Anarchy","Influence":0.012974,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Party of Chang Yeh","FactionState":"None","Government":"Dictatorship","Influence":0.030938,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Earth Defense Fleet","FactionState":"Boom","Government":"Corporate","Influence":0.668663,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":100.0,"RecoveringStates":[{"State":"Outbreak","Trend":0}],"ActiveStates":[{"State":"Boom"}]}],"SystemFaction":{"Name":"Earth Defense Fleet","FactionState":"Boom"}}
{"timestamp":"2022-02-25T21:47:44Z","event":"Docked","StationName":"Nicollet City","StationType":"Coriolis","StarSystem":"Chang Yeh","SystemAddress":8055378940618,"MarketID":3228338688,"StationFaction":{"Name":"Earth Defense Fleet","FactionState":"Boom"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","shipyard","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","shop","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":1654.824396}
{"timestamp":"2022-02-25T21:51:22Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025176,"TargetFaction":"Bureau of Chang Yeh Focus","DestinationSystem":"Chang Yeh","DestinationStation":"Nicollet City","Reward":13296,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Bureau of Chang Yeh Focus","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":8055378940618,"Trend":"UpGood","Influence":"+++"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
{"timestamp":"2022-02-25T21:52:58Z","event":"FSDJump","StarSystem":"Breksta","SystemAddress":147933104483,"StarPos":[29.4375,-6.71875,-70.46875],"SystemAllegiance":"Independent","SystemEconomy":"$economy_Agri;","SystemEconomy_Localised":"Agriculture","SystemSecondEconomy":"$economy_Industrial;","SystemSecondEconomy_Localised":"Industrial","SystemGovernment":"$government_Dictatorship;","SystemGovernment_Localised":"Dictatorship","SystemSecurity":"$SYSTEM_SECURITY_high;","SystemSecurity_Localised":"High Security","Population":7383634297,"Body":"Breksta A","BodyID":1,"BodyType":"Star","JumpDist":20.376,"FuelUsed":0.66761,"FuelLevel":31.33239,"Factions":[{"Name":"Breksta Democrats","FactionState":"None","Government":"Democracy","Influence":0.025845,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Kungurutii Gold Power Org","FactionState":"None","Government":"Corporate","Influence":0.059642,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":3.3},{"Name":"Breksta Purple Electronics Ind","FactionState":"None","Government":"Corporate","Influence":0.233598,"Allegiance":"Federation","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"New Breksta Front","FactionState":"None","Government":"Dictatorship","Influence":0.027833,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":1.65},{"Name":"Breksta Gold Transport Inc","FactionState":"None","Government":"Corporate","Influence":0.038767,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Natural Breksta Autocracy","FactionState":"None","Government":"Dictatorship","Influence":0.119284,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0},{"Name":"Civitas Dei","FactionState":"Expansion","Government":"Dictatorship","Influence":0.49503,"Allegiance":"Independent","Happiness":"$Faction_HappinessBand2;","Happiness_Localised":"Happy","MyReputation":0.0,"ActiveStates":[{"State":"Expansion"}]}],"SystemFaction":{"Name":"Civitas Dei","FactionState":"Expansion"}}
{"timestamp":"2022-02-25T21:58:44Z","event":"Docked","StationName":"Wells Hub","StationType":"Outpost","StarSystem":"Breksta","SystemAddress":147933104483,"MarketID":3228191744,"StationFaction":{"Name":"Breksta Purple Electronics Ind"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","outfitting","crewlounge","rearm","refuel","repair","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":3464.286658}
{"timestamp":"2022-02-25T22:01:39Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025225,"TargetFaction":"Natural Breksta Autocracy","DestinationSystem":"Breksta","DestinationStation":"Wells Hub","Reward":139994,"FactionEffects":[{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Natural Breksta Autocracy","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":147933104483,"Trend":"UpGood","Influence":"+"}],"ReputationTrend":"UpGood","Reputation":"+"}]}
{"timestamp":"2022-02-25T22:07:13Z","event":"Docked","StationName":"Brooks City","StationType":"Outpost","StarSystem":"Breksta","SystemAddress":147933104483,"MarketID":3228192000,"StationFaction":{"Name":"Breksta Purple Electronics Ind"},"StationGovernment":"$government_Corporate;","StationGovernment_Localised":"Corporate","StationAllegiance":"Federation","StationServices":["dock","autodock","commodities","contacts","exploration","missions","refuel","repair","tuning","engineer","missionsgenerated","flightcontroller","stationoperations","powerplay","searchrescue","stationMenu","socialspace","bartender","vistagenomics","pioneersupplies","apexinterstellar","frontlinesolutions"],"StationEconomy":"$economy_Industrial;","StationEconomy_Localised":"Industrial","StationEconomies":[{"Name":"$economy_Industrial;","Name_Localised":"Industrial","Proportion":1.0}],"DistFromStarLS":3610.413424}
{"timestamp":"2022-02-25T22:07:26Z","event":"MissionCompleted","Faction":"Social LHS 6103 Confederation","Name":"Mission_Courier_Elections_name","MissionID":850025164,"TargetFaction":"Breksta Democrats","DestinationSystem":"Breksta","DestinationStation":"Brooks City","Reward":130397,"FactionEffects":[{"Faction":"Breksta Democrats","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[{"SystemAddress":147933104483,"Trend":"UpGood","Influence":"+"}],"ReputationTrend":"UpGood","Reputation":"+"},{"Faction":"Social LHS 6103 Confederation","Effects":[{"Effect":"$MISSIONUTIL_Interaction_Summary_EP_up;","Effect_Localised":"The economic status of $#MinorFaction; has improved in the $#System; system.","Trend":"UpGood"}],"Influence":[],"ReputationTrend":"UpGood","Reputation":"+"}]}