Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
12 bytes removed ,  20 September 2020
m
Slight formatting change to GP
(Added GP function)
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..' - '..Shared.formatnum(maxamt) end
   if maxamt ~= nil then result = result..'-'..Shared.formatnum(maxamt) end
   return result
   return result
end
end


return p
return p