summaryrefslogtreecommitdiff
path: root/mesecons_pistons
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2018-02-13 14:05:34 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2018-02-13 14:05:34 -0500
commit335d9a3eddcb590c3ca5de9cba9b152e5e560af1 (patch)
tree1b95d73b945fbc9924438c28a35d7f1019fa255f /mesecons_pistons
parent1d0f113f4c5afcf8479973f2e01786fb9a1fbbb7 (diff)
downloaddreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar
dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.gz
dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.bz2
dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.tar.xz
dreambuilder_modpack-335d9a3eddcb590c3ca5de9cba9b152e5e560af1.zip
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo, framedglass, gloopblocks, mesecons, moreblocks, moretrees, pipeworks, player_textures, replacer, signs_lib, stained_glass, technic, travelnet, unified_inventory, unifieddyes, and worldedit.
Diffstat (limited to 'mesecons_pistons')
-rw-r--r--mesecons_pistons/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index be0077d..e10b604 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -72,6 +72,7 @@ local function piston_remove_pusher(pos, node)
max_hear_distance = 20,
gain = 0.3,
})
+ minetest.check_for_falling(pusherpos)
end
local piston_on = function(pos, node)
@@ -264,6 +265,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 +291,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 +320,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 +342,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 +368,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 +397,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,