I am trying to add the Zeal effect to the promotion "Battle Group" for testing purposes but it is not working. This is what I have so far. What do I need to change to make this work or does anyone like have an example mod that deals directly with adding/ changing promotions?
<?xml version="1.0" encoding="utf-8"?>
<Database>
<Unit_Stats>
<Add>
<Where GameEffects="MOD_PROMOTION_CARRIER_BATTLE_GROUP_DEFENSE"/>
<OwnerRequirements>
<Requirement type="REQUIREMENT_UNIT_IS_STATIONED_ON_DISTRICT"/>
</OwnerRequirements>
<Argument name="YieldType">YIELD_FOOD, YIELD_PRODUCTION, YIELD_GOLD, YIELD_CULTURE, YIELD_SCIENCE, YIELD_DIPLOMACY</Argument>
<Argument name="Percent">5</Argument>
</Add>
</Unit_Stats>
</Database>
All of that is in a file named units.xml in a folder named data. Also, do I need to put anything in the "modinfo", like update this or add this?
Additionally what should the setup look like for modifying celebration effects and even more importantly adding those effects to the existing governments?
<?xml version="1.0" encoding="utf-8"?>
<Database>
<Unit_Stats>
<Add>
<Where GameEffects="MOD_PROMOTION_CARRIER_BATTLE_GROUP_DEFENSE"/>
<OwnerRequirements>
<Requirement type="REQUIREMENT_UNIT_IS_STATIONED_ON_DISTRICT"/>
</OwnerRequirements>
<Argument name="YieldType">YIELD_FOOD, YIELD_PRODUCTION, YIELD_GOLD, YIELD_CULTURE, YIELD_SCIENCE, YIELD_DIPLOMACY</Argument>
<Argument name="Percent">5</Argument>
</Add>
</Unit_Stats>
</Database>
All of that is in a file named units.xml in a folder named data. Also, do I need to put anything in the "modinfo", like update this or add this?
Additionally what should the setup look like for modifying celebration effects and even more importantly adding those effects to the existing governments?