API GetLootSlotInfo

Returns info for a loot slot.
 lootIcon, lootName, lootQuantity, currencyID, lootQuality, locked, isQuestItem, questID, isActive = GetLootSlotInfo(slot)
==Arguments==
:;slot: - the index of the loot (1 is the first item, typically coin)
==Returns==
:;lootIcon: - The path of the graphical icon for the item.
:;lootName: - The name of the item.
:;lootQuantity: - The quantity of the item in a stack. Note: Quantity for coin is always 0.
:;currencyID: - The identifying number of the currency loot in slot, if applicable. Note: Returns nil for slots with coin and regular items.
; lootQuality
: Number - The quality code for that item.
:;locked: - Whether you are eligible to loot this item or not. Locked items are by default shown tinted red.
:;isQuestItem: - Self-explanatory.
:;questID: - The identifying number for the quest.
:;isActive: - True if the item starts a quest that you are not currently on.
==Details==
* When returning coin data, the 'quantity' is always 0 and the 'item' contains the amount and text. It also includes a line break after each type of coin. The linebreak can be removed by string substitution.
 print("coins: "..string.gsub(item,"\n"," "))
==Patch changes==
==See also==
* 
* 
*