AeonOfTime
Chieftain
- Joined
- Feb 2, 2006
- Messages
- 28
I have a very simple task: make a lighthouse give a bonus of 2 food instead of just 1 per sea tile. I have built a small mod with the following XML:
I changed the cost of the Lighthouse as well to make sure it works, and in the Civilopedia the modified cost shows up correctly. However, the yield of water tiles is not changed in the Civilopedia and not in the game either if I build a lighthouse.
Can anyone see a problem with that bit of XML there? I don't know what else I could try.
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LIGHTHOUSE"/>
<Set Cost="10"/>
</Update>
</Buildings>
<Building_SeaPlotYieldChanges>
<Update>
<Where BuildingType="BUILDING_LIGHTHOUSE"/>
<Set Yield="10"/>
</Update>
</Building_SeaPlotYieldChanges>
I changed the cost of the Lighthouse as well to make sure it works, and in the Civilopedia the modified cost shows up correctly. However, the yield of water tiles is not changed in the Civilopedia and not in the game either if I build a lighthouse.
Can anyone see a problem with that bit of XML there? I don't know what else I could try.