1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-26 10:50:27 +01:00

chests, furnaces are not supposed to connect to tubes from the front sides

This commit is contained in:
Vanessa Ezekowitz 2013-12-24 08:44:19 -05:00
parent b040fc585b
commit 5dda1a4654

View File

@ -38,7 +38,7 @@ local furnace = pipeworks.clone_node("default:furnace")
end
end,
input_inventory = "dst",
connect_sides = {left=1, right=1, back=1, bottom=1, front=1, top=1}
connect_sides = {left=1, right=1, back=1, bottom=1, top=1}
}
furnace.after_place_node = function(pos)
pipeworks.scan_for_tube_objects(pos)
@ -77,7 +77,7 @@ local furnace_active = pipeworks.clone_node("default:furnace_active")
end
end,
input_inventory = "dst",
connect_sides = {left=1, right=1, back=1, bottom=1, front=1, top=1}
connect_sides = {left=1, right=1, back=1, bottom=1, top=1}
}
furnace_active.after_place_node= function(pos)
pipeworks.scan_for_tube_objects(pos)
@ -110,7 +110,7 @@ local chest = pipeworks.clone_node("default:chest")
return inv:room_for_item("main", stack)
end,
input_inventory = "main",
connect_sides = {left=1, right=1, back=1, bottom=1, top=1, front=1}
connect_sides = {left=1, right=1, back=1, bottom=1, top=1}
}
chest.after_place_node = function(pos)
pipeworks.scan_for_tube_objects(pos)
@ -142,7 +142,7 @@ local chest_locked = pipeworks.clone_node("default:chest_locked")
local inv = meta:get_inventory()
return inv:room_for_item("main", stack)
end,
connect_sides = {left=1, right=1, back=1, bottom=1, top=1, front=1}
connect_sides = {left=1, right=1, back=1, bottom=1, top=1}
}
local old_after_place = minetest.registered_nodes["default:chest_locked"].after_place_node
chest_locked.after_place_node = function(pos, placer)