Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Fixed issue where Slayer items that were only available through upgrading listed as being available from the shop
m (added link to text)
(Fixed issue where Slayer items that were only available through upgrading listed as being available from the shop)
Line 496: Line 496:


   --Shop items (including special items like gloves that aren't otherwise listed)
   --Shop items (including special items like gloves that aren't otherwise listed)
   if item.slayerCost ~= nil or item.buysFor ~= nil or Shared.contains(Items.OtherShopItems, item.name) then
   if Shared.contains(Constants.Shop.SlayerItems, item.id) or item.buysFor ~= nil or Shared.contains(Items.OtherShopItems, item.name) then
     table.insert(lineArray, '[[Shop]]')
     table.insert(lineArray, '[[Shop]]')
   end
   end