@@ 205,6 205,7 @@ falling_nodes.register_material("falling_nodes:metal_powered", {
tiles = {"[fill:1x1:#FFFF80"},
groups = {
["falling_nodes:solid"] = 1,
+ ["falling_nodes:conductive"] = 1,
["falling_nodes:igniter"] = 1,
not_in_creative_inventory = 1,
},
@@ 221,6 222,10 @@ falling_nodes.register_material("falling_nodes:metal_powered", {
end
minetest.get_node_timer(pos):start(METAL_SEMI_POWERED_DECAY_TIME)
end,
+ -- In case it gets stuck in powered state, an electric pulse will fix it
+ electricity_action = function(pos)
+ minetest.get_node_timer(pos):start(METAL_POWERED_DECAY_TIME)
+ end,
})
falling_nodes.register_material("falling_nodes:metal_semi_powered", {