From 1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2 Mon Sep 17 00:00:00 2001 From: Jeija Date: Sat, 11 Aug 2012 23:39:28 +0200 Subject: Mesecons only connect to blocks with group mesecon > 1 --- mesecons_pistons/pistons_up.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_pistons/pistons_up.lua') diff --git a/mesecons_pistons/pistons_up.lua b/mesecons_pistons/pistons_up.lua index ae506db..68dee16 100644 --- a/mesecons_pistons/pistons_up.lua +++ b/mesecons_pistons/pistons_up.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal", { description = "Piston UP", tiles = {"jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3, mesecon = 1}, + groups = {cracky=3, mesecon = 2}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check @@ -22,7 +22,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal", { minetest.register_node("mesecons_pistons:piston_up_sticky", { description = "Sticky Piston UP", tiles = {"jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3, mesecon = 1}, + groups = {cracky=3, mesecon = 2}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check -- cgit v1.2.3