(xml modding) The "Update" command

xsr

Chieftain
Joined
Dec 31, 2016
Messages
12
[ SOLVED ] [ Edit: Sorry, I know how to use the command now; I would delete this thread if I could ]

e.g. In trying to change specialist yields, this works:

<District_CitizenYieldChanges>
<Update>
<Where DistrictType="DISTRICT_CAMPUS"/>
<Set YieldChange="3"/>
</Update>

But I don't know how to change only the gold yield of a harbor specialist. [ edit: Solved using the following ]

<Update>
<Where DistrictType="DISTRICT_HARBOR" YieldType="YIELD_GOLD"/>
<Set YieldChange="4"/>
</Update>
 
Last edited:
Back
Top Bottom