1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/maps/tetris/bricks.lua
2019-08-26 22:15:50 +02:00

137 lines
3.9 KiB
Lua

local bricks = {
[1] = {
entity_name = "express-transport-belt",
entity_type = "transport-belt",
spawn_y_modifier = 1,
vectors = {
[1] = {{0, 0},{1, 0},{-1, 0},{-2, 0}}, --oooo
[2] = {{0, 0},{0, -1},{0, 1},{0, 2}},
[3] = {{0, 0},{-1, 0},{1, 0},{2, 0}},
[4] = {{0, 0},{0, 1},{0, -1},{0, -2}},
}
},
[2] = {
entity_name = "wooden-chest",
spawn_y_modifier = 1,
vectors = {
[1] = {{0, 0},{1, 0},{0, 1},{1, 1}}, --oo
[2] = {{0, 0},{1, 0},{0, 1},{1, 1}}, --oo
[3] = {{0, 0},{1, 0},{0, 1},{1, 1}},
[4] = {{0, 0},{1, 0},{0, 1},{1, 1}},
}
},
[3] = {
entity_name = "transport-belt",
entity_type = "transport-belt",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{0, -1},{1, -1},{-1, 0}}, -- oo
[2] = {{0, 0},{1, 0},{1, 1},{0, -1}}, --oo
[3] = {{0, 0},{0, -1},{1, -1},{-1, 0}},
[4] = {{0, 0},{1, 0},{1, 1},{0, -1}},
}
},
[4] = {
entity_name = "fast-transport-belt",
entity_type = "transport-belt",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{0, -1},{-1, -1},{1, 0}}, --oo
[2] = {{0, 0},{0, 1},{1, 0},{1, -1}}, -- oo
[3] = {{0, 0},{0, -1},{-1, -1},{1, 0}},
[4] = {{0, 0},{0, 1},{1, 0},{1, -1}},
}
},
[5] = {
entity_name = "pipe",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{-1, 0},{-1, 1},{1, 0}}, --ooo
[2] = {{0, 0},{0, 1},{0, -1},{-1, -1}}, --o
[3] = {{0, 0},{-1, 0},{1, 0},{1, -1}},
[4] = {{0, 0},{0, -1},{1, 1},{0, 1}},
}
},
[6] = {
entity_name = "pipe",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{-1, 0},{1, 1},{1, 0}}, --ooo
[2] = {{0, 0},{0, 1},{0, -1},{-1, 1}}, --o
[3] = {{0, 0},{-1, 0},{1, 0},{-1, -1}},
[4] = {{0, 0},{0, -1},{1, -1},{0, 1}},
}
},
[7] = {
entity_name = "iron-chest",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{-1, 0},{1, 0},{0, 1}}, --ooo
[2] = {{0, 0},{-1, 0},{0, -1},{0, 1}}, -- o
[3] = {{0, 0},{-1, 0},{1, 0},{0, -1}},
[4] = {{0, 0},{1, 0},{0, -1},{0, 1}},
}
},
[8] = {
entity_name = "pipe",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1}}, -- o
[2] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1}}, --ooo
[3] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1}}, -- o
[4] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1}},
}
},
[9] = {
entity_name = "logistic-chest-active-provider",
spawn_y_modifier = 2,
vectors = {
[1] = {{0, 0},{-1, 0},{1, 0},{-1, -1},{1, 1},{-1, 1},{1, -1}}, --o o
[2] = {{0, 0},{0, -1},{0, 1},{-1, -1},{1, 1},{-1, 1},{1, -1}}, --ooo
[3] = {{0, 0},{-1, 0},{1, 0},{-1, -1},{1, 1},{-1, 1},{1, -1}}, --o o
[4] = {{0, 0},{0, -1},{0, 1},{-1, -1},{1, 1},{-1, 1},{1, -1}},
}
},
[10] = {
entity_name = "logistic-chest-requester",
spawn_y_modifier = 3,
vectors = {
[1] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1},{-2, 0},{2, 0},{0, -2},{0, 2},{-1, -1},{1, 1},{-1, 1},{1, -1}}, -- o
[2] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1},{-2, 0},{2, 0},{0, -2},{0, 2},{-1, -1},{1, 1},{-1, 1},{1, -1}}, -- ooo
[3] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1},{-2, 0},{2, 0},{0, -2},{0, 2},{-1, -1},{1, 1},{-1, 1},{1, -1}}, -- ooooo
[4] = {{0, 0},{-1, 0},{1, 0},{0, 1},{0, -1},{-2, 0},{2, 0},{0, -2},{0, 2},{-1, -1},{1, 1},{-1, 1},{1, -1}}, -- ooo
} -- o
},
[11] = {
entity_name = "logistic-chest-buffer",
spawn_y_modifier = 1,
vectors = {
[1] = {{0, 0}}, -- o
[2] = {{0, 0}},
[3] = {{0, 0}},
[4] = {{0, 0}},
}
},
[12] = {
entity_name = "logistic-chest-passive-provider",
spawn_y_modifier = 1,
vectors = {
[1] = {{0, 0}, {1, 0}}, -- oo
[2] = {{0, 0}, {0, 1}},
[3] = {{0, 0}, {-1, 0}},
[4] = {{0, 0}, {0, -1}},
}
},
[13] = {
entity_name = "logistic-chest-storage",
spawn_y_modifier = 1,
vectors = {
[1] = {{0, 0}, {1, 0}, {0, 1}}, -- oo
[2] = {{0, 0}, {-1, 0}, {0, 1}}, -- o
[3] = {{0, 0}, {-1, 0}, {0, -1}},
[4] = {{0, 0}, {1, 0}, {0, -1}},
}
},
}
return bricks