diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-06-23 19:52:01 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-06-23 19:52:01 -0400 |
commit | 5537257185bd510828295b0c9d7da0e542e801ff (patch) | |
tree | 4de911d14e8a50a29d12290294cd08cb6a9ea143 /deployer.lua | |
parent | df0161f65e44987cc389397799d947728b1e71fd (diff) |
Whoops, tubes ought to connect to deployers!
Diffstat (limited to 'deployer.lua')
-rw-r--r-- | deployer.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deployer.lua b/deployer.lua index 7622b52..0a1cb0a 100644 --- a/deployer.lua +++ b/deployer.lua @@ -106,13 +106,13 @@ minetest.register_node("pipeworks:deployer_off", { local inv = meta:get_inventory() inv:set_size("main", 3*3) end, - can_dig = function(pos,player) local meta = minetest.env:get_meta(pos); local inv = meta:get_inventory() return inv:is_empty("main") end, - + after_place_node = tube_scanforobjects, + after_dig_node = tube_scanforobjects, }) minetest.register_node("pipeworks:deployer_on", { @@ -152,4 +152,6 @@ minetest.register_node("pipeworks:deployer_on", { local inv = meta:get_inventory() return inv:is_empty("main") end, + after_place_node = tube_scanforobjects, + after_dig_node = tube_scanforobjects, }) |