Hey y'all, I'm new to Civ V modding and was hoping to make a small mod to iron out a few pet peeves of mine. Only thing I'm thing I'm really stuck on rn is figuring out how to remove Petra's bonus from desert hills. I put the following in my Buildings.xml:
but it doesn't seem to affect anything. If anyone is able to help I would greatly appreciate it.
Code:
<GameData>
<Building_TerrainYieldChanges>
<Delete BuildingType="BUILDING_PETRA"/>
<!-- Was in Civ5_Buildings_Inherited_Expansion2 -->
<Row>
<BuildingType>BUILDING_PETRA</BuildingType>
<TerrainType>TERRAIN_DESERT</TerrainType>
<YieldType>YIELD_FOOD</YieldType>
<Yield>1</Yield>
</Row>
<Row>
<BuildingType>BUILDING_PETRA</BuildingType>
<TerrainType>TERRAIN_DESERT</TerrainType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>1</Yield>
</Row>
<!-- My changes -->
<Row>
<BuildingType>BUILDING_PETRA</BuildingType>
<TerrainType>TERRAIN_DESERT,TERRAIN_HILL</TerrainType>
<YieldType>YIELD_FOOD</YieldType>
<Yield>-1</Yield>
</Row>
<Row>
<BuildingType>BUILDING_PETRA</BuildingType>
<TerrainType>TERRAIN_DESERT,TERRAIN_HILL</TerrainType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>-1</Yield>
</Row>
</Building_TerrainYieldChanges>
</GameData>