...
The price tag in the first line is not necessary anymore, since it is overwritten by the attribute definition line.
As seen below, formulas can have multiple operators.
Code Block |
---|
<item avail="3" price="10" id="tranq_patch" subtype="SLAP_PATCHES" type="BIOLOGY" count="y">
<choices>
<choice uuid="66b37416-6996-48b8-87f0-17b28dc44df1" type="ITEM_ATTRIBUTE" ref="RATING" options="1,2,3,4,5,6,7,8,9,10,11,12"/>
</choices>
<attrdef id="PRICE" value="$RATING*$RATING*10"/>
</item> |
Note |
---|
Variables and formulas are only valid in <attrdef> elements. |
...