4,951
edits
Falterfire (talk | contribs) (Fixed indenting) |
Falterfire (talk | contribs) (Fixed calls to getCraftingTable for Ring not including the new high level rings) |
||
Line 269: | Line 269: | ||
Items.getItems(function(item) return item.tier == "Dragonhide" and item.craftingLevel ~= nil end) | Items.getItems(function(item) return item.tier == "Dragonhide" and item.craftingLevel ~= nil end) | ||
elseif category == "Rings" then data = | elseif category == "Rings" then data = | ||
Items.getItems(function(item) return item. | Items.getItems(function(item) return (item.validSlots ~= nil and Shared.contains(item.validSlots, 'Ring')) and item.craftingLevel ~= nil end) | ||
elseif category == "Necklaces" then data = | elseif category == "Necklaces" then data = | ||
Items.getItems(function(item) return item. | Items.getItems(function(item) return (item.validSlots ~= nil and Shared.contains(item.validSlots, 'Amulet')) and item.craftingLevel ~= nil end) | ||
elseif category == "Bags" then data = | elseif category == "Bags" then data = | ||
Items.getItems(function(item) return item.type == 'Bag' and item.craftingLevel ~= nil end) | Items.getItems(function(item) return item.type == 'Bag' and item.craftingLevel ~= nil end) |