API:GetInventorySlotInfo

slotID, backgroundTexture = GetInventorySlotInfo(slotName)

Where slotName is the name of the slot button, minus "Equip", e.g. "Ring0Slot"

Slot names can be one of the following:


 * "HeadSlot"
 * "HandsSlot"
 * "FeetSlot"
 * "ChestSlot"
 * "LegsSlot"
 * "BackSlot"
 * "WaistSlot"
 * "ShoulderSlot"
 * "NecklaceSlot"
 * "AmmoSlot"
 * "RangedSlot"
 * "Ring0Slot"
 * "Ring1Slot"
 * "Earring0Slot"
 * "Earring1Slot"
 * "MainHandSlot"
 * "SecondaryHandSlot"
 * "UtensilSlot"
 * "Talisman0Slot"
 * "Talisman1Slot"
 * "Talisman2Slot"
 * "AdornmentSlot"