mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-24 09:50:31 +01:00
re-route tubes if active fuel-fired gen is dug (and can be)
This commit is contained in:
parent
4eaf48290f
commit
ceead2b5ab
@ -182,6 +182,7 @@ function technic.register_generator(data)
|
|||||||
tube = data.tube and tube or nil,
|
tube = data.tube and tube or nil,
|
||||||
drop = "technic:"..ltier.."_generator",
|
drop = "technic:"..ltier.."_generator",
|
||||||
can_dig = technic.machine_can_dig,
|
can_dig = technic.machine_can_dig,
|
||||||
|
after_dig_node = technic.machine_after_dig_node,
|
||||||
allow_metadata_inventory_put = technic.machine_inventory_put,
|
allow_metadata_inventory_put = technic.machine_inventory_put,
|
||||||
allow_metadata_inventory_take = technic.machine_inventory_take,
|
allow_metadata_inventory_take = technic.machine_inventory_take,
|
||||||
allow_metadata_inventory_move = technic.machine_inventory_move,
|
allow_metadata_inventory_move = technic.machine_inventory_move,
|
||||||
|
Loading…
Reference in New Issue
Block a user