Casworon
Prince
- Joined
- Aug 9, 2014
- Messages
- 548
Hello. Im trying to add +1 gold to all luxury resources for America. I've written the code but i must have made a mistake somewhere because its not working in game.
Here is the code i have written in a .xml file
Here is the code i have written in a .xml file
Spoiler :
Code:
<GameData>
<Language_en_US>
<Update>
<Where Tag="TXT_KEY_TRAIT_MANIFEST_DESTINY"/>
<Set>
<Text> All land military units have +1 sight. 50% discount when purchasing tiles. +1 [ICON_GOLD] Gold from luxury resources.
</Text>
</Set>
</Update>
</Language_en_US>
<Trait_ResourceYieldChanges>
<Row>
<TraitType>TRAIT_MANIFEST_DESTINY</TraitType>
<ResourceType>RESOURCE_LUXURY</ResourceType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>1</Yield>
</Row>
</Trait_ResourceYieldChanges>
</GameData>