Anonymous

Module:Skills: Difference between revisions

From Melvor Idle
XP now has commas
(Shortened growth time string)
(XP now has commas)
Line 92: Line 92:
     result = result..'\r\n|-'
     result = result..'\r\n|-'
     result = result..'\r\n|'..Icons.Icon({seed.name, type='item', size='50', notext=true})..'||[['..seed.name..']]'
     result = result..'\r\n|'..Icons.Icon({seed.name, type='item', size='50', notext=true})..'||[['..seed.name..']]'
     result = result..'||'..seed.farmingLevel..'||'..seed.farmingXP..'||'..Shared.timeString(seed.timeToGrow, true)
     result = result..'||'..seed.farmingLevel..'||'..Shared.formatnum(seed.farmingXP)
    result = result..'||'..Icons.GP(seed.sellsFor)
    result = result..'||'..Shared.timeString(seed.timeToGrow, true)..'||'..Icons.GP(seed.sellsFor)


     local crop = Items.getItemByID(seed.grownItemID)
     local crop = Items.getItemByID(seed.grownItemID)