diff options
author | Jeija <norrepli@gmail.com> | 2012-08-11 23:39:28 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-11 23:39:28 +0200 |
commit | 1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2 (patch) | |
tree | fe7d9b75f5aba7540bf2aaaf6569020d2ac26230 /mesecons_pistons/init.lua | |
parent | 6b1941a38011c06de22a800c9fdffd278b6610e4 (diff) |
Mesecons only connect to blocks with group mesecon > 1
Diffstat (limited to 'mesecons_pistons/init.lua')
-rw-r--r-- | mesecons_pistons/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index 14f42e7..15cf0a9 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { description = "Piston", tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"}, - groups = {cracky=3, mesecon = 1}, + groups = {cracky=3, mesecon = 2}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) local dir = mesecon:piston_get_direction(oldnode) @@ -23,7 +23,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { minetest.register_node("mesecons_pistons:piston_sticky", { description = "Sticky Piston", tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_sticky_side.png"}, - groups = {cracky=3, mesecon = 1}, + groups = {cracky=3, mesecon = 2}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) local dir = mesecon:piston_get_direction(oldnode) |