improving the cheat commands

This commit is contained in:
Xertis
2025-11-21 20:59:57 +03:00
parent 19665caead
commit e7e47df7bf
5 changed files with 74 additions and 24 deletions
@@ -167,6 +167,14 @@ function table.remove_value(t, x)
end
end
function table.insert_unique(t, val)
if table.has(t, val) then
return
end
table.insert(t, val)
end
function table.tostring(t)
local s = '['
for i,v in ipairs(t) do