forked from mtcontrib/pipeworks
chests, furnaces are not supposed to connect to tubes from the front sides
This commit is contained in:
parent
b040fc585b
commit
5dda1a4654
@ -38,7 +38,7 @@ local furnace = pipeworks.clone_node("default:furnace")
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
input_inventory = "dst",
|
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)
|
furnace.after_place_node = function(pos)
|
||||||
pipeworks.scan_for_tube_objects(pos)
|
pipeworks.scan_for_tube_objects(pos)
|
||||||
@ -77,7 +77,7 @@ local furnace_active = pipeworks.clone_node("default:furnace_active")
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
input_inventory = "dst",
|
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)
|
furnace_active.after_place_node= function(pos)
|
||||||
pipeworks.scan_for_tube_objects(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)
|
return inv:room_for_item("main", stack)
|
||||||
end,
|
end,
|
||||||
input_inventory = "main",
|
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)
|
chest.after_place_node = function(pos)
|
||||||
pipeworks.scan_for_tube_objects(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()
|
local inv = meta:get_inventory()
|
||||||
return inv:room_for_item("main", stack)
|
return inv:room_for_item("main", stack)
|
||||||
end,
|
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
|
local old_after_place = minetest.registered_nodes["default:chest_locked"].after_place_node
|
||||||
chest_locked.after_place_node = function(pos, placer)
|
chest_locked.after_place_node = function(pos, placer)
|
||||||
|
Loading…
Reference in New Issue
Block a user