Z4KNS42NJZTQKUQZ7B5NYU2U4VOCUQCBFT2D7423MAXKF7NQ5ZJAC
W4UVZETRKOSWDPLAM5LGAPCQEJWIVFCXUJDVZQASEIKALYEU34KAC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
YKRF5V3ZZQIQ3UGAFYTQT5PUQVHCP2VHFDX77EY2C3X543HUDYKQC
endfunction love.filedropped(file) filename = file:getFilename() file:open('r') lines = load_from_file(file)
end
function love.filedropped(file)
filename = file:getFilename()
file:open('r')
lines = load_from_file(file)
local infile = io.open(filename) local result = load_from_file(io.open(filename)) infile:close() return resultendfunction load_from_file(infile)
local infile = io.open(filename)
local result = load_from_file(io.open(filename))
infile:close()
return result
function load_from_file(infile)
local infile_next_line = infile:lines() -- works with both Lua files and LÖVE Files (https://www.love2d.org/wiki/File)
local line = infile:read()
local line = infile_next_line()
table.insert(result, load_drawing(infile))
table.insert(result, load_drawing(infile_next_line))
function load_drawing(infile)
function load_drawing(infile_next_line)