Thalassicus
Bytes and Nibblers
I've noticed some bizzare behavior when modding data files. In the CIV5Buildings.xml file, cost and happiness fields update perfectly, but updates to yield and worker speed have no effect ingame. Why is this?
All in the same mod, but the first two changes show up ingame and the last two do not.
I haven't been able to get changes to social policies to show up ingame, either. At first I thought it was just restricted to those, but now I'm finding a whole slew of data elements where, if you update them, nothing happens.
Code:
<Buildings>
<Update>
<Where Type="BUILDING_MACHU_PICHU" />
<Set Cost="550" />
</Update>
</Buildings>
<Buildings>
<Update>
<Where Type="BUILDING_NOTRE_DAME" />
<Set Happiness="10" />
</Update>
</Buildings>
<Buildings>
<Update>
<Where Type="BUILDING_PYRAMID" />
<Set WorkerSpeedModifier="100" />
</Update>
</Buildings>
<Building_SeaPlotYieldChanges>
<Update>
<Where BuildingType="BUILDING_COLOSSUS" />
<Set Yield="2" />
</Update>
</Building_SeaPlotYieldChanges>
All in the same mod, but the first two changes show up ingame and the last two do not.
I haven't been able to get changes to social policies to show up ingame, either. At first I thought it was just restricted to those, but now I'm finding a whole slew of data elements where, if you update them, nothing happens.