summaryrefslogtreecommitdiff
path: root/node_breaker.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-21 03:30:07 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-21 03:30:07 -0500
commitbdbdab0dfd7f7e5af1337918533c94b8790bb71f (patch)
tree466fe7b8a41af7d30d398a6a42069174dc2be6c2 /node_breaker.lua
parent3e02d5104ada52a3719642b13b0307eb9ba25ed3 (diff)
downloadpipeworks-bdbdab0dfd7f7e5af1337918533c94b8790bb71f.tar
pipeworks-bdbdab0dfd7f7e5af1337918533c94b8790bb71f.tar.gz
pipeworks-bdbdab0dfd7f7e5af1337918533c94b8790bb71f.tar.bz2
pipeworks-bdbdab0dfd7f7e5af1337918533c94b8790bb71f.tar.xz
pipeworks-bdbdab0dfd7f7e5af1337918533c94b8790bb71f.zip
rules_all has to be global. made it so, confined to pipeworks.{} table
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 593799f..077c413 100644
--- a/node_breaker.lua
+++ b/node_breaker.lua
@@ -209,7 +209,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={rules=rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
+ mesecons= {effector={rules=pipeworks.rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
sounds = default.node_sound_stone_defaults(),
tube = {connect_sides={back=1}},
on_construct = function(pos)
@@ -245,7 +245,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={rules=rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
+ mesecons= {effector={rules=pipeworks.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},