Need some help on this

infiniterocks

Chieftain
Joined
May 1, 2024
Messages
77
I tried using:

<Modifier id="FINLAND_MOD_PRODUCTION_BONUS_HELPFUL" collection="COLLECTION_OWNER" effect="EFFECT_DIPLOMACY_ADJUST_YIELD_PER_PLAYER_RELATIONSHIP">
<Argument name="RelationshipType">PLAYER_RELATIONSHIP_HELPFUL</Argument>
<Argument name="YieldType">YIELD_PRODUCTION</Argument>
<Argument name="Amount" type="ScaleByGameAge" extra="100">4</Argument>
</Modifier>
<Modifier id="FINLAND_MOD_PRODUCTION_BONUS_ALLIANCE" collection="COLLECTION_OWNER" effect="EFFECT_DIPLOMACY_ADJUST_YIELD_PER_PLAYER_RELATIONSHIP">
<Argument name="RelationshipType">PLAYER_RELATIONSHIP_ALLY</Argument>
<Argument name="YieldType">YIELD_PRODUCTION</Argument>
<Argument name="Amount" type="ScaleByGameAge" extra="100">4</Argument>
</Modifier>

for the production bonus per helpful and ally trait. The game loads fine and everything, but there's no change in production when helpful or ally, even if I set collection to player cities. Does this just not work for production yields or is there another code for this? I also tried making this a GOLD yield as well and it also didn't work. I'm wondering if this is modifier is just hard coded to work with Himiko, Friend of Wei.

Ideally I would like to have this trait add 4 production to cities per each leader helpful or allied with.
 

Attachments

  • Screenshot 2025-04-29 105007.png
    Screenshot 2025-04-29 105007.png
    8.3 MB · Views: 11
Last edited:
Back
Top Bottom