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 /node_breaker.lua | |
parent | df0161f65e44987cc389397799d947728b1e71fd (diff) |
Whoops, tubes ought to connect to deployers!
Diffstat (limited to 'node_breaker.lua')
-rw-r--r-- | node_breaker.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node_breaker.lua b/node_breaker.lua index 105f431..cda2692 100644 --- a/node_breaker.lua +++ b/node_breaker.lua @@ -93,10 +93,8 @@ minetest.register_node("pipeworks:nodebreaker_off", { 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}}, sounds = default.node_sound_stone_defaults(), - on_construct = function(pos) - local meta = minetest.env:get_meta(pos) - end, - + after_place_node = tube_scanforobjects, + after_dig_node = tube_scanforobjects, }) minetest.register_node("pipeworks:nodebreaker_on", { @@ -108,4 +106,6 @@ minetest.register_node("pipeworks:nodebreaker_on", { paramtype2 = "facedir", groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,tubedevice=1,not_in_creative_inventory=1}, sounds = default.node_sound_stone_defaults(), + after_place_node = tube_scanforobjects, + after_dig_node = tube_scanforobjects, })
\ No newline at end of file |