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