fix other machines, battery boxes, etc to work with tube routing.

This commit is contained in:
Vanessa Ezekowitz
2015-02-07 03:47:53 -05:00
parent d5db189cf4
commit bccefd6997
5 changed files with 10 additions and 0 deletions

View File

@ -153,6 +153,8 @@ function technic.register_base_machine(data)
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
technic_run = run,
after_place_node = (not tube) or pipeworks.after_place,
after_dig_node = (not tube) or pipeworks.after_dig
})
minetest.register_node("technic:"..ltier.."_"..machine_name.."_active",{