summaryrefslogtreecommitdiff
path: root/mesecons_pistons/pistons_up.lua
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-13 20:37:39 +0200
committerJeija <norrepli@gmail.com>2012-08-13 20:37:39 +0200
commit6f9036c70b853f679a96c6125aebf8d0987b5445 (patch)
tree99f25f1c4def7d550d2436a045ad91e62448178a /mesecons_pistons/pistons_up.lua
parent00ce2540c22340ed02135d74c6d70a35757e8deb (diff)
downloadmesecons-6f9036c70b853f679a96c6125aebf8d0987b5445.tar
mesecons-6f9036c70b853f679a96c6125aebf8d0987b5445.tar.gz
mesecons-6f9036c70b853f679a96c6125aebf8d0987b5445.tar.bz2
mesecons-6f9036c70b853f679a96c6125aebf8d0987b5445.tar.xz
mesecons-6f9036c70b853f679a96c6125aebf8d0987b5445.zip
Register piston_up and piston_down as effectors
Diffstat (limited to 'mesecons_pistons/pistons_up.lua')
-rw-r--r--mesecons_pistons/pistons_up.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesecons_pistons/pistons_up.lua b/mesecons_pistons/pistons_up.lua
index 1d116ca..01675e0 100644
--- a/mesecons_pistons/pistons_up.lua
+++ b/mesecons_pistons/pistons_up.lua
@@ -18,6 +18,8 @@ minetest.register_node("mesecons_pistons:piston_up_normal", {
end,
})
+mesecon:register_effector("mesecons_pistons:piston_up_normal", "mesecons_pistons:piston_up_normal")
+
--registration sticky one:
minetest.register_node("mesecons_pistons:piston_up_sticky", {
description = "Sticky Piston UP",
@@ -37,6 +39,8 @@ minetest.register_node("mesecons_pistons:piston_up_sticky", {
end,
})
+mesecon:register_effector("mesecons_pistons:piston_up_sticky", "mesecons_pistons:piston_up_sticky")
+
minetest.register_craft({
output = "mesecons_pistons:piston_up_normal",
recipe = {