Closed captaincobbs closed 2 months ago
This is ready for review, please actually read through the changes I changed the structure of a lot of stuff
Generally I think this looks good. A couple things:
1) How much has this code been tested? To me the most sensitive one is the change to the initial planet FIDSI, though I suspect that one will be fine since it's simply using the new variables
2) Are you sure that this line should not be targeting //ClassDiplomaticEmpire ? I don't believe that RelationPointsTrend is a property of ClassEmpire, but I'm going purely from memory.
<BinaryModifier TargetProperty="RelationPointsTrend" Operation="Addition" Left="$(HasDiplomacyRelic)" BinaryOperation="Multiplication" Right="1" Path="ClassEmpire"/>
Yup, it works. The functionality is the same, the variable it was changed to (PlanetInitialFIDSIPerPopulation) directly adds to PlanetInitialFIDSI but its GUI element isn't bound to the same limitations, thus allowing me to fix the incorrect tooltips. There should be no functional change, I tracked the math on multiple anomalies and it all added up.
RelationPointsTrend is a hard-coded variable that adds +1 Relation to all known Minor Factions, it's only in ClassEmpire because it's hard coded, it is indeed in ClassEmpire.
OK sounds good then; I went ahead and merged
Fixes #1477, #1471, #1469, #1470, #1463, #1460, #1459