up-editor/save.lua

14 lines
309 B
Lua
Raw Normal View History

function save()
output = "\n-"
for i = 1, 28, 1 do output = "-"..output end
for i = 1, #selected_screen, 1 do
output = output..selected_screen:sub(i, i)
if i % 26 == 0 then output = output.."-\n-" end
end
for i = 1, 26, 1 do output = output.."-" end
return output
end
function load()
end