Module:Items/SourceTables: Difference between revisions

Fixed slayer shop list thing for other table
(Fixed issue where Slayer items that were only available through upgrading listed as being available from the shop)
(Fixed slayer shop list thing for other table)
Line 698: Line 698:
   if item.buysFor ~= nil then
   if item.buysFor ~= nil then
     if item.buysFor > 0 then table.insert(cost, Icons.GP(item.buysFor)) end
     if item.buysFor > 0 then table.insert(cost, Icons.GP(item.buysFor)) end
   elseif item.slayerCost ~= nil then
   elseif Shared.contains(Constants.Shop.SlayerItems, item.id) then
     table.insert(cost, Icons.SC(item.slayerCost))
     table.insert(cost, Icons.SC(item.slayerCost))
   elseif Items.GloveTable[item.name] ~= nil then
   elseif Items.GloveTable[item.name] ~= nil then