Module:Items/SourceTables: Difference between revisions

Fixed a few more referneces to Items
(Fixed issue with GemTable not being in the module)
(Fixed a few more referneces to Items)
Line 486: Line 486:


   --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(OtherShopItems, item.name) then
   if item.slayerCost ~= nil or item.buysFor ~= nil or Shared.contains(Items.OtherShopItems, item.name) then
     table.insert(lineArray, '[[Shop]]')
     table.insert(lineArray, '[[Shop]]')
   end
   end


   --Easter Eggs (manual list 'cause don't have a better way to do that)
   --Easter Eggs (manual list 'cause don't have a better way to do that)
   if Shared.contains(EasterEggs, item.name) then
   if Shared.contains(Items.EasterEggs, item.name) then
     table.insert(lineArray, '[[Easter Eggs]]')
     table.insert(lineArray, '[[Easter Eggs]]')
   end
   end
Line 652: Line 652:
     local fishSource = '[[Fishing#Junk|Junk]]'
     local fishSource = '[[Fishing#Junk|Junk]]'
     local fishType = Icons.Icon({'Fishing', type='skill'})
     local fishType = Icons.Icon({'Fishing', type='skill'})
     local thisChance = 100 / junkCount
     local thisChance = 100 / Items.junkCount
     table.insert(dropRows, {source = fishSource, type = fishType, minqty = 1, qty = 1, chance = thisChance})
     table.insert(dropRows, {source = fishSource, type = fishType, minqty = 1, qty = 1, chance = thisChance})
   end
   end