Anonymous

Module:Skills: Difference between revisions

From Melvor Idle
Forgot to multiply heal value by 10
(XP now has commas)
(Forgot to multiply heal value by 10)
Line 98: Line 98:
     result = result..'||'..Icons.Icon({crop.name, type='item', size='50', notext=true})..'||[['..crop.name..']]'
     result = result..'||'..Icons.Icon({crop.name, type='item', size='50', notext=true})..'||[['..crop.name..']]'
     if category == 'Allotment' then
     if category == 'Allotment' then
       result = result..'||'..Icons.Icon({'Hitpoints', type='skill', notext=true})..' '..crop.healsFor
       result = result..'||'..Icons.Icon({'Hitpoints', type='skill', notext=true})..' '..(crop.healsFor * 10)
     end
     end
     result = result..'||'..Icons.GP(crop.sellsFor)
     result = result..'||'..Icons.GP(crop.sellsFor)