aboutsummaryrefslogtreecommitdiffstats
path: root/data/mods/enemy-fort/structures.lua
blob: ce6bdd0d96a409cd36ce49f0bc539db815744c41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- A triangulated wooden fort on the right side (columns at x=25,27,29; rows at
-- y=1,3,5). Foundations sit on the ground (y=1). All beams <= 3 units so they
-- obey the material length limits. Shoot it apart with the cannon.
table.insert(Structures, {
    name = "enemy fort",
    beams = {
        -- verticals
        {25,1,25,3,"wood"}, {25,3,25,5,"wood"},
        {27,1,27,3,"wood"}, {27,3,27,5,"wood"},
        {29,1,29,3,"wood"}, {29,3,29,5,"wood"},
        -- horizontals
        {25,1,27,1,"wood"}, {27,1,29,1,"wood"},
        {25,3,27,3,"wood"}, {27,3,29,3,"wood"},
        {25,5,27,5,"wood"}, {27,5,29,5,"wood"},
        -- diagonals (triangulation, so it's rigid)
        {25,1,27,3,"wood"}, {27,1,29,3,"wood"},
        {25,3,27,5,"wood"}, {27,3,29,5,"wood"},
    },
})