1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-07-02 16:20:35 +02:00

Tubes now update their connections when rotated with the screwdriver.

This commit is contained in:
12Me21
2018-09-15 10:30:13 -04:00
parent a69c210b56
commit d8ed6d3af4
4 changed files with 20 additions and 0 deletions

View File

@ -108,6 +108,7 @@ local register_one_tube = function(name, tname, dropname, desc, plain, noctrs, e
},
after_place_node = pipeworks.after_place,
after_dig_node = pipeworks.after_dig,
on_rotate = false,
on_blast = function(pos, intensity)
if not intensity or intensity > 1 + 3^0.5 then
minetest.remove_node(pos)