From 51212835442a79d4ccda323bf8d472b141d39357 Mon Sep 17 00:00:00 2001 From: pithydon Date: Sat, 4 Jun 2016 16:53:32 -0600 Subject: [PATCH] connect rope to rope fence --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index afe0434..1e03042 100644 --- a/init.lua +++ b/init.lua @@ -286,6 +286,7 @@ minetest.register_node("hemp:hemp_rope", { wall_bottom = {-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, wall_side = {-0.5, -0.5, -0.125, -0.25, 0.5, 0.125}, }, + connect_sides = {"top", "bottom"}, after_place_node = function(pos, placer, itemstack, pointed_thing) local under = pointed_thing.under local above = pointed_thing.above @@ -348,7 +349,7 @@ minetest.register_node("hemp:hemp_rope_fence", { connect_back = {{-0.0625, 0.1875, 0.0625, 0.0625, 0.3125, 0.5}, {-0.0625, -0.3125, 0.0625, 0.0625, -0.1875, 0.5}}, connect_right = {{0.0625, 0.1875, -0.0625, 0.5, 0.3125, 0.0625}, {0.0625, -0.3125, -0.0625, 0.5, -0.1875, 0.0625}}, }, - connects_to = {"group:fence", "group:wood", "group:tree", "group:stone", "hemp:hempcrete"}, + connects_to = {"group:fence", "group:wood", "group:tree", "group:stone", "hemp:hemp_rope", "hemp:hempcrete"}, }) minetest.register_node("hemp:hemp_rug", {