new fence nodebox + use a connected nodebox for the rope
This commit is contained in:
parent
7045f35e22
commit
02a384a730
@ -24,11 +24,11 @@ function default.register_fence(name,def)
|
||||
def.drawtype = "nodebox"
|
||||
def.node_box = {
|
||||
type = "connected",
|
||||
fixed = {{-3/16, -0.5, -3/16, 3/16, 0.5, 3/16}},
|
||||
connect_front = {{-2/16,-0.5,-1/2,2/16,0.5,-2/16}},
|
||||
connect_left = {{-1/2,-0.5,-2/16,-2/16,0.5,2/16}},
|
||||
connect_back = {{-2/16,-0.5,2/16,2/16,0.5,1/2}},
|
||||
connect_right = {{2/16,-0.5,-2/16,1/2,0.5,2/16}},
|
||||
fixed = {{-2/16, -0.5, -2/16, 2/16, 0.5, 2/16}},
|
||||
connect_front = {{-1/16,3/16,-1/2,1/16,6/16,-2/16},{-1/16,-4/16,-1/2,1/16,-1/16,-1/16}},
|
||||
connect_left = {{-1/2,3/16,-1/16,-2/16,6/16,1/16},{-1/2,-4/16,-1/16,-2/16,-1/16,1/16}},
|
||||
connect_back = {{-1/16,3/16,2/16,1/16,6/16,1/2},{-1/16,-4/16,2/16,1/16,-1/16,1/2}},
|
||||
connect_right = {{2/16,3/16,-1/16,1/2,6/16,1/16},{2/16,-4/16,-1/16,1/2,-1/16,1/16}},
|
||||
}
|
||||
def.paramtype = "light"
|
||||
def.connects_to = {name, "group:cracky", "group:choppy"}
|
||||
|
@ -152,11 +152,19 @@ minetest.register_node("default:rope", {
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1, -0.5, -0.1, 0.1, 0.5, 0.1},
|
||||
},
|
||||
type = "connected",
|
||||
fixed = {{-2/16, -2/16, -2/16, 2/16, 2/16, 2/16},},
|
||||
|
||||
connect_front = {{-2/16, -2/16, -0.5, 2/16, 2/16, 2/16}},
|
||||
connect_back = {{-2/16, -2/16, -2/16, 2/16, 2/16, 0.5}},
|
||||
|
||||
connect_left = {{-0.5, -2/16, -2/16, 2/16, 2/16, 2/16}},
|
||||
connect_right = {{-2/16, -2/16, -2/16, 0.5, 2/16, 2/16}},
|
||||
|
||||
connect_top = {{-2/16, -2/16, -2/16, 2/16, 0.5, 2/16}},
|
||||
connect_bottom = {{-2/16, -0.5, -2/16, 2/16, 2/16, 2/16}},
|
||||
},
|
||||
connects_to = {"default:rope", "group:cracky", "group:choppy"},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
Loading…
x
Reference in New Issue
Block a user