4,951
edits
Falterfire (talk | contribs) (Added extension overrides for the pets) |
Falterfire (talk | contribs) (Only show a range of values for GP/SP if the values are actually different) |
||
Line 195: | Line 195: | ||
local result = '[[File:Coins.svg|25px|link=Coins]]' | local result = '[[File:Coins.svg|25px|link=Coins]]' | ||
result = result..' '..Shared.formatnum(amt) | result = result..' '..Shared.formatnum(amt) | ||
if maxamt ~= nil then result = result..' - '..Shared.formatnum(maxamt) end | if maxamt ~= nil and maxamt ~= amt then result = result..' - '..Shared.formatnum(maxamt) end | ||
result = '<span style="display:inline-block">'..result..'</span>' | result = '<span style="display:inline-block">'..result..'</span>' | ||
Line 204: | Line 204: | ||
local result = '[[File:Slayer Coins.svg|25px|link=Currency#Slayer Coins]]' | local result = '[[File:Slayer Coins.svg|25px|link=Currency#Slayer Coins]]' | ||
result = result..' '..Shared.formatnum(amt) | result = result..' '..Shared.formatnum(amt) | ||
if maxamt ~= nil then result = result..' - '..Shared.formatnum(maxamt) end | if maxamt ~= nil and maxamt ~= amt then result = result..' - '..Shared.formatnum(maxamt) end | ||
result = '<span style="display:inline-block">'..result..'</span>' | result = '<span style="display:inline-block">'..result..'</span>' |