Slow down fire spread a bit
authorMT-Modder <thomas.waits148@gmail.com>
Thu, 12 Mar 2015 01:53:19 +0000 (21:53 -0400)
committerBlockMen <nmuelll@web.de>
Sun, 29 Mar 2015 19:25:46 +0000 (21:25 +0200)
mods/fire/init.lua

index f932b0c50c9ee9bcfa51180d71f4b81cf3106892..5b0008f11f74887092854d3fb4d1d7c05b0dca8b 100644 (file)
@@ -106,7 +106,7 @@ end
 minetest.register_abm({
        nodenames = {"group:flammable"},
        neighbors = {"group:igniter"},
-       interval = 1,
+       interval = 5,
        chance = 2,
        action = function(p0, node, _, _)
                -- If there is water or stuff like that around flame, don't ignite
@@ -124,7 +124,7 @@ minetest.register_abm({
 minetest.register_abm({
        nodenames = {"group:igniter"},
        neighbors = {"air"},
-       interval = 2,
+       interval = 5,
        chance = 10,
        action = function(p0, node, _, _)
                local reg = minetest.registered_nodes[node.name]
@@ -149,7 +149,7 @@ minetest.register_abm({
 -- Remove flammable nodes and flame
 minetest.register_abm({
        nodenames = {"fire:basic_flame"},
-       interval = 1,
+       interval = 3,
        chance = 2,
        action = function(p0, node, _, _)
                -- If there is water or stuff like that around flame, remove flame