upload so it isnt lost now

This commit is contained in:
lustlion
2021-10-17 01:06:11 +02:00
commit 966aebf046
258 changed files with 2859 additions and 0 deletions

14
data/scripts/in_out.lua Normal file
View File

@@ -0,0 +1,14 @@
function doOutput(table)
local file = io.open("map.json", "w")
io.output(file)
io.write(json.encode(table))
io.close(file)
end
function getInput(filename)
local file = io.open(filename, "r")
io.input(file)
local content = io.read()
io.close(file)
return content
end