(SOLVED) How to Add more than one UA To A CIV

Code:
<FreeUnit>UNITCLASS_SCIENTIST</FreeUnit>
                    <FreeUnitPrereqTech>TECH_WRITING</FreeUnitPrereqTech>
                    <FreeUnit>UNITCLASS_MERCHANT</FreeUnit>
No single row within a table can give data for the same column more than once. You have FreeUnit twice here, which causes the game to reject the entire contents of the file.

Even without the fatal syntax error there is a limit to how much stuff you can pile onto a single leader before the game will not add any more Trait Stuff to that leader regardless of whether the Trait Stuff is given all within a single Trait or is from assigning multiple Traits to the same leader.
I trimmed it down further, let me test it out
 
Still not working with this many
Code:
<GameData>
        <Traits>
            <Update>
                <Where Type="TRAIT_SLAYER_OF_TIAMAT" />
                <Set>
                    <TechFromCityConquer>true</TechFromCityConquer>
                    <WonderProductionModifier>20</WonderProductionModifier>
                    <FreeSocialPoliciesPerEra>1</FreeSocialPoliciesPerEra>
                    <BonusReligiousBelief>true</BonusReligiousBelief>
                    <NaturalWonderFirstFinderGold>500</NaturalWonderFirstFinderGold>
                    <NaturalWonderSubsequentFinderGold>100</NaturalWonderSubsequentFinderGold>
                    <NaturalWonderYieldModifier>100</NaturalWonderYieldModifier>
                    <NaturalWonderHappinessModifier>100</NaturalWonderHappinessModifier>
                    <GreatPeopleRateModifier>100</GreatPeopleRateModifier>
                    <GreatScientistRateModifier>50</GreatScientistRateModifier>
                    <FreeUnit>UNITCLASS_SCIENTIST</FreeUnit>
                    <FreeUnitPrereqTech>TECH_WRITING</FreeUnitPrereqTech>
                    <MayaCalendarBonuses>true</MayaCalendarBonuses>
                    <PrereqTech>TECH_THEOLOGY</PrereqTech>
                    <CapitalBuildingModifier>25</CapitalBuildingModifier>
                    <GoldenAgeDurationModifier>50</GoldenAgeDurationModifier>
                    <CityStateBonusModifier>50</CityStateBonusModifier>
                    <CityStateFriendshipModifier>100</CityStateFriendshipModifier>
                    <PlotBuyCostModifier>-50</PlotBuyCostModifier>
                    <LuxuryHappinessRetention>50</LuxuryHappinessRetention>
                    <ExtraFoundedCityTerritoryClaimRange>8</ExtraFoundedCityTerritoryClaimRange>
                    <FightWellDamaged>true</FightWellDamaged>
                    <CityCultureBonus>2</CityCultureBonus>
                    <FreeBuilding>BUILDING_HARBOR</FreeBuilding>
                    <MaxPlayerBuildingProductionModifier>50</MaxPlayerBuildingProductionModifier>
                </Set>
            </Update>
        </Traits>
</GameData>

I forgot to mention I didnt add the obsolete tech part of <CityCultureBonus>2</CityCultureBonus>
 
Last edited:
I have a hunch the pre requsite tech might be holding some of my traits from appearing right away. I am expecting 500 gold to 100 gold from finding natural wonder but the prerequisite tech might be the problem here too

edit:
It was also prerequisite tech causing the problems, thank you
 
Last edited:
Top Bottom