Looking to change the gold improvement yield of trading posts from 2 to 3 as a new civs trait. Dunno how to go about this. Anyone wanna point me in the right direction?
As far as I understand it, you cannot do this as of yet. There is a workaround. There is some old code in the CivTraits.xml that is not being used by any other traits as of right now...
If you add a new trait, you can change the YieldType to YIELD_GOLD.
The <Yield> field, says that any tile that already provides 2 gold will provide +1 additional gold. You can modify that integer to decide what the low threshold would be.
I used this code to add a new trait and on every tile with at least 1 Production, there will be an additional +1 Production.
Awesome. Yeah I saw that TRAIT_FINANCIAL in the Civ5Traits.xml but didn't see it linked to any of the leaders. I wasn't sure about what it did, cause I mainly base what the traits do from the info on the leaders. Thanks for this work around, appreciate it a lot.
I was hoping that it would change all tiles, but from what I can tell, it just changes the city tile. I tested this by setting production to 10 in YieldChanges. It only modified the city tile.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.