Changes

Jump to navigation Jump to search
→‎Custom shops: update for build 23246 (renamed ApplyDifficultyModifier to ApplyProfitMargins, added shop-level ApplyProfitMargins)
Line 5,706: Line 5,706:  
If both <samp>Price</samp> and <samp>TradeItemId</samp> are specified, the player will have to provide both to get the item.
 
If both <samp>Price</samp> and <samp>TradeItemId</samp> are specified, the player will have to provide both to get the item.
 
|-
 
|-
| <samp>ApplyDifficultyModifier</samp>
+
| <samp>ApplyProfitMargins</samp>
 
| ''(Optional)'' Whether to multiply the price by the difficulty modifier, which reduces the price for higher [[options|profit margins]]. This can be <samp>true</samp> (always apply it), <samp>false</samp> (never apply it), or <samp>null</samp> (apply for certain items like saplings). This is applied before any quantity modifiers. Default <samp>null</samp>.
 
| ''(Optional)'' Whether to multiply the price by the difficulty modifier, which reduces the price for higher [[options|profit margins]]. This can be <samp>true</samp> (always apply it), <samp>false</samp> (never apply it), or <samp>null</samp> (apply for certain items like saplings). This is applied before any quantity modifiers. Default <samp>null</samp>.
 
|-
 
|-
Line 5,818: Line 5,818:  
| <samp>Currency</samp>
 
| <samp>Currency</samp>
 
| ''(Optional)'' The currency in which all items in the shop should be priced. The valid values are 0 (money), 1 (star tokens), 2 (Qi coins), and 4 (Qi gems). Default 0. For item trading, see <samp>TradeItemId</samp> for each item.
 
| ''(Optional)'' The currency in which all items in the shop should be priced. The valid values are 0 (money), 1 (star tokens), 2 (Qi coins), and 4 (Qi gems). Default 0. For item trading, see <samp>TradeItemId</samp> for each item.
 +
|-
 +
| <samp>ApplyProfitMargins</samp>
 +
| ''(Optional)'' The default value for <samp>ApplyProfitMargins</samp> under <samp>Items</samp>, if set. This can be <samp>true</samp> (always apply it), <samp>false</samp> (never apply it), or <samp>null</samp> (apply for certain items like saplings). This is applied before any quantity modifiers. Default <samp>null</samp>.
 
|-
 
|-
 
| <samp>StackSizeVisibility</samp>
 
| <samp>StackSizeVisibility</samp>
translators
8,445

edits

Navigation menu