Fire: Make explosions remove flames
TNT removes flammable nodes from the destruction radius and should remove flames within it too because they lose their fuel and would be removed by ABM later anyway.
This commit is contained in:
parent
57eb906047
commit
8715b83ff0
@ -44,9 +44,6 @@ minetest.register_node("fire:basic_flame", {
|
|||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(30, 60))
|
minetest.get_node_timer(pos):start(math.random(30, 60))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_blast = function() -- Unaffected by explosions
|
|
||||||
end,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("fire:permanent_flame", {
|
minetest.register_node("fire:permanent_flame", {
|
||||||
@ -72,9 +69,6 @@ minetest.register_node("fire:permanent_flame", {
|
|||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
groups = {igniter = 2, dig_immediate = 3},
|
groups = {igniter = 2, dig_immediate = 3},
|
||||||
drop = "",
|
drop = "",
|
||||||
|
|
||||||
on_blast = function() -- Unaffected by explosions
|
|
||||||
end,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user