from retail

This commit is contained in:
NoM0Re
2025-02-19 19:16:56 +01:00
parent 14710abead
commit ff8c14f430
2 changed files with 10 additions and 3 deletions
+3
View File
@@ -456,6 +456,9 @@ Private.format_types = {
local precision = get(symbol .. "_money_precision", 3)
return function(value)
if type(value) ~= "number" then
return ""
end
local gold = floor(value / 1e4)
local silver = floor(value / 100 % 100)
local copper = value % 100