Fire: Higher chance of removing flammable nodes
authorparamat <mat.gregory@virginmedia.com>
Wed, 6 Apr 2016 18:43:54 +0000 (19:43 +0100)
committerparamat <mat.gregory@virginmedia.com>
Tue, 19 Apr 2016 04:33:13 +0000 (05:33 +0100)
Flammable nodes burn away quicker

mods/fire/init.lua

index 15f71560b05dde37aa1d624a42a88022c194e56c..457f6b5e68f0f1167f96a243dc5c2ebd3ec9d535 100644 (file)
@@ -263,7 +263,7 @@ else
                                minetest.remove_node(p0)
                                return
                        end
-                       if math.random(1, 4) == 1 then
+                       if math.random(1, 3) == 1 then
                                -- remove flammable nodes around flame
                                local node = minetest.get_node(p)
                                local def = minetest.registered_nodes[node.name]