Adjust node boxes

This commit is contained in:
ezhh 2018-07-07 16:09:18 +01:00
parent 3cbaf29f74
commit 408d51b4a1

View File

@ -18,11 +18,11 @@ function hedges.register_hedge(name, def)
waving = 1,
node_box = {
type = "connected",
fixed = {{-0.3, -0.5, -0.3, 0.3, 0.4, 0.3}},
connect_left = {{-0.5, -0.5, -0.3, -0.3, 0.4, 0.3}},
connect_right = {{0.3, -0.5, -0.3, 0.5, 0.4, 0.3}},
connect_front = {{-0.3, -0.5, -0.5, 0.3, 0.4, -0.3}},
connect_back = {{-0.3, -0.5, 0.3, 0.3, 0.4, 0.5}},
fixed = {{-5/16, -0.5, -5/16, 5/16, 5/16, 5/16}},
connect_left = {{-0.5, -0.5, -5/16, -5/16, 5/16, 5/16}},
connect_right = {{5/16, -0.5, -5/16, 0.5, 5/16, 5/16}},
connect_front = {{-5/16, -0.5, -0.5, 5/16, 5/16, -5/16}},
connect_back = {{-5/16, -0.5, 5/16, 5/16, 5/16, 0.5}},
},
connects_to = {"group:fence", "group:wood", "group:tree", "group:hedge"},
light_source = def.light_source or 0,
@ -61,11 +61,11 @@ function hedges.register_hedge(name, def)
waving = 1,
node_box = {
type = "connected",
fixed = {{-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}},
connect_left = {{-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}},
connect_right = {{0.3, -0.5, -0.3, 0.5, 0.5, 0.3}},
connect_front = {{-0.3, -0.5, -0.5, 0.3, 0.5, -0.3}},
connect_back = {{-0.3, -0.5, 0.3, 0.3, 0.5, 0.5}},
fixed = {{-5/16, -0.5, -5/16, 5/16, 0.5, 5/16}},
connect_left = {{-0.5, -0.5, -5/16, -5/16, 0.5, 5/16}},
connect_right = {{5/16, -0.5, -5/16, 0.5, 0.5, 5/16}},
connect_front = {{-5/16, -0.5, -0.5, 5/16, 0.5, -5/16}},
connect_back = {{-5/16, -0.5, 5/16, 5/16, 0.5, 0.5}},
},
connects_to = {"group:fence", "group:wood", "group:tree", "group:hedge"},
light_source = def.light_source or 0,