diff --git a/mods/default/functions.lua b/mods/default/functions.lua index 907654a..84978c6 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -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"} diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index a24facc..5e5226a 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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, }) diff --git a/mods/default/textures/default_wood.png b/mods/default/textures/default_wood.png index 5b130b6..02774c7 100644 Binary files a/mods/default/textures/default_wood.png and b/mods/default/textures/default_wood.png differ