summaryrefslogtreecommitdiff
path: root/mesecons_pistons/pistons_up.lua
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-13 20:39:14 +0200
committerJeija <norrepli@gmail.com>2012-08-13 20:39:14 +0200
commit164971f6d1e7be5d53cc26f722fbd5fc42055e4f (patch)
tree284aec200f249d449a72abccd632454d8c900825 /mesecons_pistons/pistons_up.lua
parent6f9036c70b853f679a96c6125aebf8d0987b5445 (diff)
downloadmesecons-164971f6d1e7be5d53cc26f722fbd5fc42055e4f.tar
mesecons-164971f6d1e7be5d53cc26f722fbd5fc42055e4f.tar.gz
mesecons-164971f6d1e7be5d53cc26f722fbd5fc42055e4f.tar.bz2
mesecons-164971f6d1e7be5d53cc26f722fbd5fc42055e4f.tar.xz
mesecons-164971f6d1e7be5d53cc26f722fbd5fc42055e4f.zip
Remove piston_up from dead groups
Diffstat (limited to 'mesecons_pistons/pistons_up.lua')
-rw-r--r--mesecons_pistons/pistons_up.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_pistons/pistons_up.lua b/mesecons_pistons/pistons_up.lua
index 01675e0..b3f3261 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_effector_on = 1, mesecon_effector_off = 1, mesecon = 2},
+ 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
@@ -24,7 +24,7 @@ mesecon:register_effector("mesecons_pistons:piston_up_normal", "mesecons_pistons
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_effector_on = 1, mesecon_effector_off = 1, mesecon = 2},
+ 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