Anonymous

Module:Skills/Artisan: Difference between revisions

From Melvor Idle
removed right-aligning on value for cooked items since multi-quantity cooks make that ugly
(forcibly removing Lemon Cake)
(removed right-aligning on value for cooked items since multi-quantity cooks make that ugly)
Line 46: Line 46:
result = result..'||style="text-align:right"|'..item.cookingXP
result = result..'||style="text-align:right"|'..item.cookingXP
result = result..'||style="text-align:right" data-sort-value="'..item.healsFor..'"|'..Icons.Icon({"Hitpoints", type="skill", notext=true})..' '..(item.healsFor * 10)
result = result..'||style="text-align:right" data-sort-value="'..item.healsFor..'"|'..Icons.Icon({"Hitpoints", type="skill", notext=true})..' '..(item.healsFor * 10)
result = result..'||style="text-align:right" data-sort-value="'..(item.sellsFor * qty)..'"|'..Icons.GP(item.sellsFor)
result = result..'||data-sort-value="'..(item.sellsFor * qty)..'"|'..Icons.GP(item.sellsFor)
if qty > 1 then
if qty > 1 then
result = result..' (x'..qty..')'
result = result..' (x'..qty..')'