forked from mtcontrib/pipeworks
also fix chests and furnaces
This commit is contained in:
parent
ce12c83306
commit
6abed742e8
@ -33,6 +33,8 @@ minetest.override_item("default:furnace", {
|
|||||||
input_inventory = "dst",
|
input_inventory = "dst",
|
||||||
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
|
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", {
|
minetest.override_item("default:furnace_active", {
|
||||||
@ -76,6 +78,8 @@ minetest.override_item("default:furnace_active", {
|
|||||||
input_inventory = "dst",
|
input_inventory = "dst",
|
||||||
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
|
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", {
|
minetest.override_item("default:chest", {
|
||||||
@ -102,6 +106,8 @@ minetest.override_item("default:chest", {
|
|||||||
input_inventory = "main",
|
input_inventory = "main",
|
||||||
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
|
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", {
|
minetest.override_item("default:chest_locked", {
|
||||||
@ -127,4 +133,7 @@ minetest.override_item("default:chest_locked", {
|
|||||||
end,
|
end,
|
||||||
connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1}
|
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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user