Module:Currency: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 23: Line 23:
val = val - (silver * 1000)
val = val - (silver * 1000)
end
end
if (val > 0) then
if (val > 0 and (silver > 0 or gold > 0)) then
return output
else
output = output .. val .. ' [[File:Copper coin.png|link=]]'
output = output .. val .. ' [[File:Copper coin.png|link=]]'
end
end