This is a repost from the 2K forum, people told me this community is far more active, so I'll try it here.
I want to add a Fishing technology that you would need to get food from ocean tiles.
Adding the tech is easy enough, but I want to change the yield of a piece of terrain based on the tech. Kinda like chemistry does for mining. I've changed the base yield of oceans food to 0, it should become 2 once the Fishing tech is researched.
The above bit improves the yield of mines one when Chemistry is researched. Is there something similair for terrains? So that the below code would work?
I want to add a Fishing technology that you would need to get food from ocean tiles.
Adding the tech is easy enough, but I want to change the yield of a piece of terrain based on the tech. Kinda like chemistry does for mining. I've changed the base yield of oceans food to 0, it should become 2 once the Fishing tech is researched.
Code:
<Improvement_TechYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_MINE</ImprovementType>
<TechType>TECH_CHEMISTRY</TechType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>1</Yield>
</Row>
</Improvement_TechYieldChanges>
The above bit improves the yield of mines one when Chemistry is researched. Is there something similair for terrains? So that the below code would work?
Code:
<Row>
<TerrainType>TERRAIN_OCEAN</TerrainType>
<TechType>TECH_FISHING</TechType>
<YieldType>YIELD_FOOD</YieldType>
<Yield>2</Yield>
</Row>