4,951
edits
Falterfire (talk | contribs) (Added GP function) |
Falterfire (talk | contribs) m (Slight formatting change to GP) |
||
Line 67: | Line 67: | ||
local result = p.Icon({'Coins', notext=true}) | local result = p.Icon({'Coins', notext=true}) | ||
result = result..' '..Shared.formatnum(amt) | result = result..' '..Shared.formatnum(amt) | ||
if maxamt ~= nil then result = result..' | if maxamt ~= nil then result = result..'-'..Shared.formatnum(maxamt) end | ||
return result | return result | ||
end | end | ||
return p | return p |