Created
August 11, 2021 04:50
-
-
Save jocafa/3b262d4f7b7219cca841eaf9f0383fc4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local dumpDepth = 0 | |
function dumpList(key) | |
print(string.rep(' ', dumpDepth)..key) | |
local list = ListKeys(key) | |
for i=1, #list do | |
dumpDepth = dumpDepth + 1 | |
dumpList(key..'.'..list[i]) | |
dumpDepth = dumpDepth - 1 | |
end | |
end | |
function init() | |
dumpList('options') | |
dumpList('game') | |
dumpList('savegame') | |
dumpList('level') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment