diff --git a/init.lua b/init.lua index 06c076b..09adef6 100644 --- a/init.lua +++ b/init.lua @@ -359,11 +359,17 @@ function fire.drop_items(pos, invstring) end +local groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3} + +if minetest.get_modpath("pipeworks") then + groups.tubedevice = 1 + groups.tubedevice_receiver = 1 +end -- override chest node so that it's flammable minetest.override_item("default:chest", { - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, + groups = groups, on_burn = function(p) fire.drop_items(p, "main")