summaryrefslogtreecommitdiff
path: root/mesecons_pistons
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-11 23:39:28 +0200
committerJeija <norrepli@gmail.com>2012-08-11 23:39:28 +0200
commit1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2 (patch)
treefe7d9b75f5aba7540bf2aaaf6569020d2ac26230 /mesecons_pistons
parent6b1941a38011c06de22a800c9fdffd278b6610e4 (diff)
downloadmesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.gz
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.bz2
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.xz
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.zip
Mesecons only connect to blocks with group mesecon > 1
Diffstat (limited to 'mesecons_pistons')
-rw-r--r--mesecons_pistons/init.lua4
-rw-r--r--mesecons_pistons/pistons_down.lua4
-rw-r--r--mesecons_pistons/pistons_up.lua4
3 files changed, 6 insertions, 6 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)
diff --git a/mesecons_pistons/pistons_down.lua b/mesecons_pistons/pistons_down.lua
index c38bd6f..1df60df 100644
--- a/mesecons_pistons/pistons_down.lua
+++ b/mesecons_pistons/pistons_down.lua
@@ -3,7 +3,7 @@
minetest.register_node("mesecons_pistons:piston_down_normal", {
description = "Piston DOWN",
tiles = {"jeija_piston_tb.png", "jeija_piston_side.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_down_normal", {
minetest.register_node("mesecons_pistons:piston_down_sticky", {
description = "Sticky Piston DOWN",
tiles = {"jeija_piston_tb.png", "jeija_piston_sticky_side.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
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