mirror of
https://forgejo.merr.is/annika/KittenDismount.git
synced 2025-12-11 16:47:45 -05:00
Settings Mostly Work Now?
This commit is contained in:
parent
f4069d38f0
commit
d2691b97d1
4 changed files with 48 additions and 40 deletions
14
dump.lua
Normal file
14
dump.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
function KittenDismount_dump(o)
|
||||
if type(o) == 'table' then
|
||||
local s = '{ '
|
||||
for k,v in pairs(o) do
|
||||
if type(k) ~= 'number' then
|
||||
k = '"'..k..'"'
|
||||
end
|
||||
s = s .. '['..k..'] = ' .. KittenDismount_dump(v) .. ','
|
||||
end
|
||||
return s .. '} '
|
||||
else
|
||||
return tostring(o)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue