@Spoobir the main ways to explore Lua are:
-download wouldy's blobset creator, open the blobset and search the lua files.
-use this script in the Lua console, it shows the content of a Lua table, in this case it's the game
main environment. It will generate a txt file (state_dump.txt) of 4.5mb in the game folder. You will need a lot of time to read
that.
xyzzy=getfenv(_G.import)
local dump = io.open("state_dump.txt","w")
local aprased = {}
function tab_find_exists(tab,data)
for k,v in pairs(tab) do
if v == data then
return true
end
end
return false
end
function dump_table(fi,tab,depth)
table.insert(aprased,tab)
for k,v in pairs(tab) do
if type(v) == "table" and not tab_find_exists(aprased,v) then
for i=1,depth,1 do
fi:write(" ")
end
fi:write(tostring(k),":\n")
dump_table( fi, v, depth+1 )
else
for i=1,depth,1 do
fi:write(" ")
end
fi:write( tostring(k)," = ",tostring(v),"\n" );
end
end
fi:write("\n")
fi:flush()
end
aprased["test"]=true
dump_table( dump ,xyzzy,0 )
dump:flush()
dump:close()