diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-02-07 02:45:17 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-02-07 02:45:17 -0500 |
commit | 364633d884fa2420ab13f5444e06fb418e61d5c2 (patch) | |
tree | 113239b12b575367cb918f433d985d2e6138eb23 /decorative_tubes.lua | |
parent | e33b662274982bf6be8213975675407633d5d92e (diff) |
make all tubes call the routing functions
using their after_place/after_dig callbacks
Diffstat (limited to 'decorative_tubes.lua')
-rw-r--r-- | decorative_tubes.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/decorative_tubes.lua b/decorative_tubes.lua index 5bf7bf9..39ba8f3 100644 --- a/decorative_tubes.lua +++ b/decorative_tubes.lua @@ -22,6 +22,8 @@ minetest.register_node("pipeworks:steel_block_embedded_tube", { return vector.equals(dir, direction) or vector.equals(vector.multiply(dir, -1), direction) end, }, + after_place_node = pipeworks.after_place, + after_dig_node = pipeworks.after_dig, }) minetest.register_craft( { @@ -67,6 +69,8 @@ minetest.register_node("pipeworks:steel_pane_embedded_tube", { return vector.equals(dir, direction) or vector.equals(vector.multiply(dir, -1), direction) end, }, + after_place_node = pipeworks.after_place, + after_dig_node = pipeworks.after_dig, }) minetest.register_craft( { |