Fire: Make explosions remove flames
authorLars Hofhansl <larsh@apache.org>
Wed, 11 Jan 2017 05:35:48 +0000 (21:35 -0800)
committerparamat <mat.gregory@virginmedia.com>
Sun, 15 Jan 2017 04:24:01 +0000 (04:24 +0000)
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.

mods/fire/init.lua

index b1b9284b0d28f436e236c6a85b2d11e215123048..a6dc1e5c557635109bfbe8b9e73c29bc70382100 100644 (file)
@@ -44,9 +44,6 @@ minetest.register_node("fire:basic_flame", {
        on_construct = function(pos)
                minetest.get_node_timer(pos):start(math.random(30, 60))
        end,
-
-       on_blast = function() -- Unaffected by explosions
-       end,
 })
 
 minetest.register_node("fire:permanent_flame", {
@@ -72,9 +69,6 @@ minetest.register_node("fire:permanent_flame", {
        damage_per_second = 4,
        groups = {igniter = 2, dig_immediate = 3},
        drop = "",
-
-       on_blast = function() -- Unaffected by explosions
-       end,
 })