optimized tiledata

This commit is contained in:
lustlion
2022-01-29 10:46:49 +01:00
parent a1bf842cef
commit 3e8a907aa2
2 changed files with 162 additions and 168 deletions

View File

@@ -1,80 +1,81 @@
return {
{
id = 1,
type = "whole",
depth = "foreground"
},
{
id = 2,
type = "emtpy",
depth = "foreground"
},
{
id = 5,
type = "emtpy",
depth = "background"
},
{
id = 6,
type = "emtpy",
depth = "background"
},
{
id = 7,
type = "emtpy",
depth = "background"
},
{
id = 13,
type = "whole",
depth = "foreground"
},
{
id = 25,
overlay = {17,19,21,23},
type = "emtpy",
depth = "background"
},
{
id = 26,
overlay = {18,20,22,24},
type = "emtpy",
depth = "background"
},
{
id = 37,
overlay = {29,31,33,35,42,44,46,48},
type = "emtpy",
depth = "background"
},
{
id = 38,
overlay = {30,32,34,36,41,43,45,47},
type = "emtpy",
depth = "background"
},
{
id = 49,
overlay = {53,55,57,59},
type = "emtpy",
depth = "background"
},
{
id = 50,
overlay = {54,56,58,60},
type = "emtpy",
depth = "background"
},
{
id = 61,
overlay = {1},
type = "emtpy",
depth = "background"
},
{
id = 62,
overlay = {1},
type = "emtpy",
depth = "background"
}
local properties = {}
properties[1] = {
type = "whole",
depth = "foreground"
}
properties[2] = {
type = "emtpy",
depth = "foreground"
}
properties[5] = {
type = "emtpy",
depth = "background"
}
properties[6] = {
type = "emtpy",
depth = "background"
}
properties[7] = {
type = "emtpy",
depth = "background"
}
properties[13] = {
type = "whole",
depth = "foreground"
}
properties[25] = {
overlay = {17,19,21,23},
type = "emtpy",
depth = "background"
}
properties[26] = {
overlay = {18,20,22,24},
type = "emtpy",
depth = "background"
}
properties[37] = {
overlay = {29,31,33,35,41,43,45,47},
type = "emtpy",
depth = "background"
}
properties[38] = {
overlay = {30,32,34,36,42,44,46,48},
type = "emtpy",
depth = "background"
}
properties[49] = {
overlay = {53,55,57,59},
type = "emtpy",
depth = "background"
}
properties[50] = {
overlay = {54,56,58,60},
type = "emtpy",
depth = "background"
}
properties[61] = {
overlay = {1},
type = "emtpy",
depth = "background"
}
properties[62] = {
overlay = {1},
type = "emtpy",
depth = "background"
}
return properties