| Apply the modifier which results in the highest value.
| Apply the modifier which results in the highest value.
|}
|}
+
+
====Examples====
+
For example, this will double the price of a shop item in <samp>Data/Shops</samp>:
+
<syntaxhighlight lang="js">
+
"PriceModifiers": [
+
{
+
"Modification": "Multiply",
+
"Amount": 2.0
+
}
+
]
+
</syntaxhighlight>
+
+
This will set the price to a random value between 100–1000, ''or'' 3–5 times the item's normal sell price, whichever is higher (like the [[Traveling Cart]]):