The "ItemPriceCustom" event is executed as soon as the game wants to get the price of an item.
This also provides the following information:
Input:
- Item Detail - Structure of Item Details - Gives the structure of the item for which you want to get the price. It's useful for retrieving the "ItemID" identifier of the structure using the "break structure" node; (this could be used to change the price depending on the item).
- Variant - INTEGER - If the item for which you want the price is a variant of another item, then this variable will indicate that. (If the item has no variant, then this value will be 0; if there are variants, then item #0 will be variant 0, item #1 will be variant 1, and so on.)
And here is the information that is returned to modify the game's logic:
Output:
- Price(Must Not Be Equal 0)- FLOAT - Here you enter the price at which the item should be displayed and sold (this does not include the margin, only the base price) (IMPORTANT: this is the price of a box and not of the item, so if there are 10 items per box the price should be x10). If you do not want to change this value, leave the value at 0.