Great Wall Improvement

So Gelo can I steal another few minutes of your time?? I tried to just hijack this mod, and instead of modifying the base files, just modify your .xml.. Although I'm doing something wrong and it's not working.. So I've added in for workers to be able to remove floodplains, and for warriors and slingers to have a 1 gold maintainence cost..

Could you please have a quick look and tell me what I'm missing?
 

Attachments

Gah!! Now I've been trying to add multiple styles that I can see if other xml's, but still no luck!! :\


<?xml version="1.0" encoding="utf-8"?>
<GameInfo>

<Improvements>
<Update>
<Where ImprovementType="IMPROVEMENT_GREAT_WALL"/>
<Set BuildInLine="true" BuildOnFrontier="false" CanBuildOutsideTerritory="true"/>
</Update>
</Improvements>

<Improvement_ValidFeatures>
<Row ImprovementType="IMPROVEMENT_GREAT_WALL" FeatureType="FEATURE_FLOODPLAINS"/>
</Improvement_ValidFeatures>

<Units>
<Update>
<WHERE UnitType="UNIT_WARRIOR"/>
<SET Maintenance="1"/>
</Update>

<Update>
<Row UnitType="UNIT_WARRIOR" Maintenance="1"/>
</Update>

<Update>
<WHERE UnitType="UNIT_SLINGER"/>
<SET Maintenance="1"/>
</Update>
</Units>

<Features>
<Update>
<WHERE FeatureType="FEATURE_FLOODPLAINS"/>
<SET RemoveTech="TECH_IRRIGATION" Removable="true"/>
</Update>

<Update>
<Row FeatureType="FEATURE_FLOODPLAINS" RemoveTech="TECH_IRRIGATION" Removable="true"/>
</Update>

</Features>

</GameInfo>
 
Back
Top Bottom