[HELP REQUEST] LandTradeRouteGoldChange

letsdance

Chieftain
Joined
Aug 6, 2006
Messages
23
nm, found the problem myself. i was using PolicyType instead of just Type :-(


why is my code not working? there's no error message in the log files and my other changes within the same file work fine. but moving the LandTradeRouteGoldChange from caravans to trade unions (displayed names now wagon train and mercenary army) does not work. the bonus is still given for caravans and is not given for trade unions. my changes in the descriptions of those policies (TXT_KEY_POLICY_CARAVANS_HELP and TXT_KEY_POLICY_TRADE_UNIONS_HELP) are showing ingame.

i have no other mods activated when testing this.

Code:
<GameData>
   <Policies>
      <Update>
         <Set LandTradeRouteGoldChange="0"/>
         <Where PolicyType="POLICY_CARAVANS"/>
     </Update>
     <Update>
         <Set LandTradeRouteGoldChange="200"/>
         <Where PolicyType="POLICY_TRADE_UNIONS"/>
     </Update>
   </Policies>
</GameData>


thx
 
Last edited:
Back
Top Bottom