Module:Items/UseTables: Difference between revisions

From Melvor Idle
(Changed 'Magic Level' column to 'Requirements' to better reflect what it actually does)
(Now linking spell names in the spell use table)
Line 484: Line 484:
       rowTxt = rowTxt..Icons.Icon({spell.name, type='spell', notext=true, size=50})
       rowTxt = rowTxt..Icons.Icon({spell.name, type='spell', notext=true, size=50})
     end
     end
     rowTxt = rowTxt..'||'..spell.name
     rowTxt = rowTxt..'||[['..spell.name..']]'
     rowTxt = rowTxt..'||data-sort-value="'..spell.magicLevelRequired..'"|'..Icons._SkillReq('Magic', spell.magicLevelRequired)
     rowTxt = rowTxt..'||data-sort-value="'..spell.magicLevelRequired..'"|'..Icons._SkillReq('Magic', spell.magicLevelRequired)
     --Handle required items/dungeon clears
     --Handle required items/dungeon clears