XML: Gamedata, "Tablename", Update, Set?

bluefalcon

Chieftain
Joined
Jul 3, 2011
Messages
8
The modding guides all show how to set a value, but what if you want to multiply a value?
Is this:

<GameData>
<Building_Flavors>
<Update>
<Set Flavor="*10"/>
<Where FlavorType="FLAVOR_CULTURE"
</Update>
</Building_Flavors>

</GameData>

permissible?

Thanks
 
No.

You CANNOT do arithmetic operators in XML. It's purely a set/replace language. But SQL is designed to do exactly what you're thinking of there, so just use that instead.
 
Back
Top Bottom