iammaxhailme
Emperor
- Joined
- Jun 4, 2015
- Messages
- 1,999
For example, in the mod's xml for the unique improvement, it has
This makes the tile improvement gain 2 gold and culture when you discover railroad. The modder indicated it should also gain +1 food if next to fresh water, but there is nothing in the file and it doesn't happen ingame. I'm not sure how to add a fresh water dependancy... what is the tag for that? Would it go in Improvement_TechYieldChanges or in a different block?
Code:
<Improvement_TechYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_APPALACHIAN_MOONSHINE</ImprovementType>
<TechType>TECH_RAILROAD</TechType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<ImprovementType>IMPROVEMENT_APPALACHIAN_MOONSHINE</ImprovementType>
<TechType>TECH_RAILROAD</TechType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
</Improvement_TechYieldChanges>
This makes the tile improvement gain 2 gold and culture when you discover railroad. The modder indicated it should also gain +1 food if next to fresh water, but there is nothing in the file and it doesn't happen ingame. I'm not sure how to add a fresh water dependancy... what is the tag for that? Would it go in Improvement_TechYieldChanges or in a different block?