adding map db

This commit is contained in:
2024-03-17 21:20:39 -05:00
parent 0d9e48752d
commit d48ad24c08
5 changed files with 36 additions and 3 deletions

30
lua_scripts/map.lua Normal file
View File

@ -0,0 +1,30 @@
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