summaryrefslogtreecommitdiff
path: root/mesecons_pistons/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_pistons/init.lua')
-rw-r--r--mesecons_pistons/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index be0077d..5e2cdf9 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -264,6 +264,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
},
groups = {cracky = 3},
paramtype2 = "facedir",
+ is_ground_content = false,
after_place_node = piston_orientate,
sounds = default.node_sound_wood_defaults(),
mesecons = {effector={
@@ -289,6 +290,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
drop = "mesecons_pistons:piston_normal_off",
after_dig_node = piston_remove_pusher,
node_box = piston_on_box,
@@ -317,6 +319,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
groups = {not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
diggable = false,
selection_box = piston_pusher_box,
node_box = piston_pusher_box,
@@ -338,6 +341,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
},
groups = {cracky = 3},
paramtype2 = "facedir",
+ is_ground_content = false,
after_place_node = piston_orientate,
sounds = default.node_sound_wood_defaults(),
mesecons = {effector={
@@ -363,6 +367,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
drop = "mesecons_pistons:piston_sticky_off",
after_dig_node = piston_remove_pusher,
node_box = piston_on_box,
@@ -391,6 +396,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
groups = {not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
diggable = false,
selection_box = piston_pusher_box,
node_box = piston_pusher_box,