local map = { populate = function(self, map) for h=1,100 do for i=1,100 do local tile = map:create({ x = h, y = i, occupied_by_type = "", occupied_by_id = "" }) end end end } local tiles = {} return map