Resource/Civic XML help?

Daverd

Chieftain
Joined
Mar 15, 2009
Messages
13
I'm trying to make some adjustments to some civics.

I want tiles with the Gold resource on them to yield more commerce if you pick a certain civic. I tried adding this to one civic:

Code:
<ImprovementYieldChanges>
    <ImprovementYieldChange>
        <ImprovementType>BONUS_GOLD</ImprovementType>
        <ImprovementYields>
            <iYield>0</iYield>
            <iYield>0</iYield>
            <iYield>5</iYield>
        </ImprovementYields>
    </ImprovementYieldChange>
</ImprovementYieldChanges>

But when I load up the mod and view that civic in the civilopedia, it comes up as "+5 :commerce: from Jungle Altar". I checked a tile with Gold on it and nothing was different. Any ideas why this might be happening? Am I doing it wrong?
 
You don't want "ImprovementYieldChange". Resources are counted as Bonuses. I don't think a BonusYieldChanges tag exists in the CivicInfo, though.
 
Back
Top Bottom