summaryrefslogtreecommitdiff
path: root/node_breaker.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-10-06 10:35:53 +0200
committerNovatux <nathanael.courant@laposte.net>2013-10-06 10:35:53 +0200
commit79897c8fe60add57f9c759c74f3683c4732dda14 (patch)
tree58ce559b92c2d51a80dea0e88e134a4b2ae9a428 /node_breaker.lua
parent7546bb17fb858d11db9ea526ad73f8181f91a154 (diff)
Better deployer and node breaker mesecons rules.
Diffstat (limited to 'node_breaker.lua')
-rw-r--r--node_breaker.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_breaker.lua b/node_breaker.lua
index 5ed7f86..9cb9091 100644
--- a/node_breaker.lua
+++ b/node_breaker.lua
@@ -179,7 +179,7 @@ minetest.register_node("pipeworks:nodebreaker_off", {
is_ground_content = true,
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,tubedevice=1},
- mesecons= {effector={action_on=node_breaker_on, action_off=node_breaker_off}},
+ mesecons= {effector={rules=rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
sounds = default.node_sound_stone_defaults(),
tube = {connect_sides={back=1}},
after_place_node = function (pos, placer)
@@ -209,7 +209,7 @@ minetest.register_node("pipeworks:nodebreaker_on", {
description = "Node Breaker",
tile_images = {"pipeworks_nodebreaker_top_on.png","pipeworks_nodebreaker_bottom_on.png","pipeworks_nodebreaker_side2_on.png","pipeworks_nodebreaker_side1_on.png",
"pipeworks_nodebreaker_back.png","pipeworks_nodebreaker_front_on.png"},
- mesecons= {effector={action_on=node_breaker_on, action_off=node_breaker_off}},
+ mesecons= {effector={rules=rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
is_ground_content = true,
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,tubedevice=1,not_in_creative_inventory=1},