Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
Added linking of upgrade names
(Added getPickaxeTable and getRodTable)
(Added linking of upgrade names)
Line 20: Line 20:
       result = result..'\r\n|-'
       result = result..'\r\n|-'
       result = result..'\r\n|data-sort-value="'..axe.name..'"|'..Icons.Icon({axe.name, type='upgrade', size='50', notext=true})
       result = result..'\r\n|data-sort-value="'..axe.name..'"|'..Icons.Icon({axe.name, type='upgrade', size='50', notext=true})
       result = result..'||'..axe.name
       result = result..'||[['..axe.name..']]'
       result = result..'||style="text-align:right"|'..axe.level
       result = result..'||style="text-align:right"|'..axe.level
       result = result..'||style="text-align:right" data-sort-value="'..axe.speed..'"|'..axe.speed..'%'
       result = result..'||style="text-align:right" data-sort-value="'..axe.speed..'"|'..axe.speed..'%'
Line 41: Line 41:
       result = result..'\r\n|-'
       result = result..'\r\n|-'
       result = result..'\r\n|data-sort-value="'..axe.name..'"|'..Icons.Icon({axe.name, type='upgrade', size='50', notext=true})
       result = result..'\r\n|data-sort-value="'..axe.name..'"|'..Icons.Icon({axe.name, type='upgrade', size='50', notext=true})
       result = result..'||'..axe.name
       result = result..'||[['..axe.name..']]'
       result = result..'||style="text-align:right"|'..axe.level
       result = result..'||style="text-align:right"|'..axe.level
       result = result..'||style="text-align:right" data-sort-value="'..axe.bonus..'"|'..axe.bonus..'%'
       result = result..'||style="text-align:right" data-sort-value="'..axe.bonus..'"|'..axe.bonus..'%'
Line 63: Line 63:
       result = result..'\r\n|-'
       result = result..'\r\n|-'
       result = result..'\r\n|data-sort-value="'..rod.name..'"|'..Icons.Icon({rod.name, type='upgrade', size='50', notext=true})
       result = result..'\r\n|data-sort-value="'..rod.name..'"|'..Icons.Icon({rod.name, type='upgrade', size='50', notext=true})
       result = result..'||'..rod.name
       result = result..'||[['..rod.name..']]'
       result = result..'||style="text-align:right"|'..rod.level
       result = result..'||style="text-align:right"|'..rod.level
       result = result..'||style="text-align:right" data-sort-value="'..rod.speed..'"|'..rod.speed..'%'
       result = result..'||style="text-align:right" data-sort-value="'..rod.speed..'"|'..rod.speed..'%'