summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 03:01:25 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 03:01:25 -0500
commit6abed742e865b81b98f0122d86878d53d9283e81 (patch)
tree7e2f1a3a71df927e8f55a7189014f167c01da0fe
parentce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef (diff)
downloadpipeworks-6abed742e865b81b98f0122d86878d53d9283e81.tar
pipeworks-6abed742e865b81b98f0122d86878d53d9283e81.tar.gz
pipeworks-6abed742e865b81b98f0122d86878d53d9283e81.tar.bz2
pipeworks-6abed742e865b81b98f0122d86878d53d9283e81.tar.xz
pipeworks-6abed742e865b81b98f0122d86878d53d9283e81.zip
also fix chests and furnaces
-rw-r--r--compat.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/compat.lua b/compat.lua
index 21a5efc..c64becf 100644
--- a/compat.lua
+++ b/compat.lua
@@ -33,6 +33,8 @@ minetest.override_item("default:furnace", {
input_inventory = "dst",
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
},
+ after_place_node = pipeworks.after_place,
+ after_dig_node = pipeworks.after_dig
})
minetest.override_item("default:furnace_active", {
@@ -76,6 +78,8 @@ minetest.override_item("default:furnace_active", {
input_inventory = "dst",
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
},
+ after_place_node = pipeworks.after_place,
+ after_dig_node = pipeworks.after_dig
})
minetest.override_item("default:chest", {
@@ -102,6 +106,8 @@ minetest.override_item("default:chest", {
input_inventory = "main",
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
},
+ after_place_node = pipeworks.after_place,
+ after_dig_node = pipeworks.after_dig
})
minetest.override_item("default:chest_locked", {
@@ -127,4 +133,7 @@ minetest.override_item("default:chest_locked", {
end,
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
},
+ after_place_node = pipeworks.after_place,
+ after_dig_node = pipeworks.after_dig
})
+