Sol.data.items.GetBagSlots

Sol.data.items.GetBagSlots = function(itemName)

Returns a list of the bag slots that have the specified item, as well as extra info about each slot

Parameters: + itemName - name of the item to look for

Returns: + A table of item data, each entry being the return values of GetBagItemInfo, indexed by the slot number

Example: local items = Sol.data.items.GetBagSlots("Basic Medicine") for slotNum, data in pairs(items) do   Sol.io.Print(data.index) Sol.io.Print(data.texture) Sol.io.Print(data.name) Sol.io.Print(data.itemCount) Sol.io.Print(data.locked) Sol.io.Print(data.invalid) end