→Result
(Formatting) |
(→Result) |
||
| Line 25: | Line 25: | ||
: The texture variable will contain the item's texture and the itemCount variable will contain the number of that item in the slot. | : The texture variable will contain the item's texture and the itemCount variable will contain the number of that item in the slot. | ||
: The quality return value | : The quality return value will either be -1 or a standard [[API TYPE_Quality|quality]] value from 0 to 6. A value of -1 seems to indicate that the item requires special handling: It's stackable, it's unique or it's a quest item. | ||
: The readable return value simply indicates if there is text related to the item. If it's true, the default UI will change the cursor to the "Read" cursor (the magnifying glass) when the mouse is over the item button. | : The readable return value simply indicates if there is text related to the item. If it's true, the default UI will change the cursor to the "Read" cursor (the magnifying glass) when the mouse is over the item button. | ||
: The locked return value appears to be set to true only on an item that is picked up via [[API PickupContainerItem|PickupContainerItem]]. | : The locked return value appears to be set to true only on an item that is picked up via [[API PickupContainerItem|PickupContainerItem]]. | ||