How to put +Influence on Items?

I am trying to create a ring for heroes to wear that gives the player +1 Influence per Season. The result of my below code displays correctly in the game, but the Influence resource does not show the ring/hero and the influence is not added.

The only part that is different than from the improvements that have Influence as a yield is that I didn't include the <UpgradeComparisonID>1</UpgradeComparisonID>, since an item isn't supposed to mess with upgrades.

Any ideas? Thanks!

PS: Is the "Elemental Editor" for creating XML files (see the comment in the game's files) available somewhere or do all of you do your XML modding with a fancy text editor like Notepad++?

 

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>DiplomaticCapital</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Influence per Season</Provides>
        </GameModifier>

3,959 views 2 replies
Reply #1 Top

Items cannot hold resource production. 

Check the information sticky for a link to the editor (on ipad atm)

Reply #2 Top

Thanks!

 

Since you've been modding for 10 months now you'd probably have found a way... I guess the game doesn't check for items when determining the update ressource value and that's hard-coded? Too bad, would make sense to have items that grant Mana, Gildar, Influence or other stuff. :-/