Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
Add links to Ore table
(Removing linking from tools in preparation for getting rid of tool-specific pages.)
(Add links to Ore table)
Line 222: Line 222:
   for i, oreData in Shared.skpairs(mineData) do
   for i, oreData in Shared.skpairs(mineData) do
     local ore = Items.getItemByID(oreData.ore)
     local ore = Items.getItemByID(oreData.ore)
     result = result..'\r\n|-\r\n|'..Icons.Icon({ore.name, type='item', size='50', notext=true})..'||'..ore.name
     result = result..'\r\n|-\r\n|'..Icons.Icon({ore.name, type='item', size='50', notext=true})..'||[['..ore.name..']]'
     result = result..'||style="text-align:right"|'..oreData.level..'||style="text-align:right"|'..ore.miningXP
     result = result..'||style="text-align:right"|'..oreData.level..'||style="text-align:right"|'..ore.miningXP
     result = result..'||style="text-align:right" data-sort-value="'..oreData.respawnInterval..'"|'
     result = result..'||style="text-align:right" data-sort-value="'..oreData.respawnInterval..'"|'
285

edits