Kewlipo
Chieftain
- Joined
- Jun 27, 2015
- Messages
- 99
Heyo, I'm trying to create a mod that changes a social policy in the aesthetics tree. When this particular social policy is taken, the player would gain extra culture and gold for each trade route. I have some idea on how to do this by using the Gateway to Africa trait, but I have no idea how to actually tie that to unlocking the social policy.
Could someone provide some help? If possible, I would not want to have to edit and recompile the DLL as my C++ experience is pretty low. Thank you so much!
Code:
<Trait_YieldChangesPerTradePartner>
<Row>
<TraitType>TRAIT_GATEWAY_AFRICA</TraitType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>3</Yield>
</Row>
<Row>
<TraitType>TRAIT_GATEWAY_AFRICA</TraitType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>1</Yield>
</Row>
</Trait_YieldChangesPerTradePartner>
<Trait_YieldChangesIncomingTradeRoute>
<Row>
<TraitType>TRAIT_GATEWAY_AFRICA</TraitType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>2</Yield>
</Row>
</Trait_YieldChangesIncomingTradeRoute>
Could someone provide some help? If possible, I would not want to have to edit and recompile the DLL as my C++ experience is pretty low. Thank you so much!