Returns information about an item available as loot
See also Loot functions.
Signature:
texture,
item,
quantity,
quality,
locked
=
GetLootSlotInfo(slot)
Arguments:
slot
- Index of a loot slot (between 1 andGetNumLootItems()
) (number
)
Returns:
texture
- Path to an icon texture for the item or amount of money (string
)item
- Name of the item, or description of the amount of money (string
)quantity
- Number of stacked items, or 0 for money (number
)quality
- Quality (rarity) of the item (number
, itemQuality)locked
- 1 if the item is locked (preventing the player from looting it); otherwise nil (1nil
)