Trading post mod help

komothoes

Chieftain
Joined
Jan 1, 2011
Messages
9
Hello i have a qu i am trying to make a mod that will make a trading post add production and make the gold it provides change to like 5 gold how do i do this i have a mod but every time i compile it and test it it never works
 
Post in spoiler XML for trading post, eventually add mod in attachment here ;)

By the way, don't you think that trading post with +1 production and +5 gold will be insanely overpowered? ;p
 
lol o crap it worked that time i do have another question lets say im going to stay in the same table </Improvement_Yields> do i keep typing </Improvement_Yields> on the next item or can i skip that and just type that at the end of all changed in that table like updating or adding new items
and thank you for seeing the problem
 
Uhm I'm not sure here, the closest thing I have are those lines adding bonus yield from Dutch improvements:

<Trait_ImprovementYieldChanges>
<Row>
<TraitType>TRAIT_LUXURY_RETENTION</TraitType>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>1</Yield>
</Row>
<Row>
<TraitType>TRAIT_LUXURY_RETENTION</TraitType>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_SCIENCE</YieldType>
<Yield>1</Yield>
</Row>
</Trait_ImprovementYieldChanges>


It works ;D
 
i did this and it works good


<GameData>
<Improvement_Yields>
<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>1</Yield>
</Row>

<Row>
<ImprovementType>IMPROVEMENT_TRADING_POST</ImprovementType>
<YieldType>YIELD_FOOD</YieldType>
<Yield>2</Yield>
</Row>

<Row>
<ImprovementType>IMPROVEMENT_MINE</ImprovementType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>1</Yield>
</Row>
</Improvement_Yields>

</GameData>
 
Back
Top Bottom