Module:Items/SourceTables: Difference between revisions

Fixed issue with GemTable not being in the module
(moving getOtherItemBoxText back over)
(Fixed issue with GemTable not being in the module)
Line 635: Line 635:
   if item.type == 'Gem' then
   if item.type == 'Gem' then
     local mineType = Icons.Icon({'Mining', type='skill'})
     local mineType = Icons.Icon({'Mining', type='skill'})
     local thisGemChance = GemTable[item.name].chance  
     local thisGemChance = Items.GemTable[item.name].chance  
     table.insert(dropRows, {source = '[[Mining#Gems|Gem]]', type = mineType, minqty = 1, qty = 1, chance = thisGemChance})
     table.insert(dropRows, {source = '[[Mining#Gems|Gem]]', type = mineType, minqty = 1, qty = 1, chance = thisGemChance})
     local magicType = Icons.Icon({'Magic', type = 'skill'})
     local magicType = Icons.Icon({'Magic', type = 'skill'})