So I see that this was added to the CIV5Traits.xml when they released the free DLC.
Now I am wondering if I can add something like that to the .xml within a mod... To be more specific, I want to add a more complex trait but with the Tables they gave us that is impossible... I could add the trait but I would need to add the table to the CIV5Traits.xml manually. Is there a way to add a new table within a mod?
Edit: Never mind I think I figured it out but will leave this open so people can see as a reference.(Will post end result)
Code:
<Table name="Trait_MovesChangeUnitCombats">
<Column name="TraitType" type="text" reference="Traits(Type)"/>
<Column name="UnitCombatType" type="text" reference="UnitCombatInfos(Type)"/>
<Column name="MovesChange" type="int"/>
</Table>
Now I am wondering if I can add something like that to the .xml within a mod... To be more specific, I want to add a more complex trait but with the Tables they gave us that is impossible... I could add the trait but I would need to add the table to the CIV5Traits.xml manually. Is there a way to add a new table within a mod?
Edit: Never mind I think I figured it out but will leave this open so people can see as a reference.(Will post end result)