diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-21 03:30:07 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-21 03:30:07 -0500 |
commit | bdbdab0dfd7f7e5af1337918533c94b8790bb71f (patch) | |
tree | 466fe7b8a41af7d30d398a6a42069174dc2be6c2 /deployer.lua | |
parent | 3e02d5104ada52a3719642b13b0307eb9ba25ed3 (diff) |
rules_all has to be global. made it so, confined to pipeworks.{} table
Diffstat (limited to 'deployer.lua')
-rw-r--r-- | deployer.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deployer.lua b/deployer.lua index fd85eb1..f5f8171 100644 --- a/deployer.lua +++ b/deployer.lua @@ -172,7 +172,7 @@ minetest.register_node("pipeworks:deployer_off", { description = "Deployer", tile_images = {"pipeworks_deployer_top.png","pipeworks_deployer_bottom.png","pipeworks_deployer_side2.png","pipeworks_deployer_side1.png", "pipeworks_deployer_back.png","pipeworks_deployer_front_off.png"}, - mesecons = {effector={rules=rules_all,action_on=deployer_on,action_off=deployer_off}}, + mesecons = {effector={rules=pipeworks.rules_all,action_on=deployer_on,action_off=deployer_off}}, tube={insert_object=function(pos,node,stack,direction) local meta=minetest.get_meta(pos) local inv=meta:get_inventory() @@ -232,7 +232,7 @@ minetest.register_node("pipeworks:deployer_on", { description = "Deployer", tile_images = {"pipeworks_deployer_top.png","pipeworks_deployer_bottom.png","pipeworks_deployer_side2.png","pipeworks_deployer_side1.png", "pipeworks_deployer_back.png","pipeworks_deployer_front_on.png"}, - mesecons = {effector={rules=rules_all,action_on=deployer_on,action_off=deployer_off}}, + mesecons = {effector={rules=pipeworks.rules_all,action_on=deployer_on,action_off=deployer_off}}, tube={insert_object=function(pos,node,stack,direction) local meta=minetest.get_meta(pos) local inv=meta:get_inventory() |