From: MT-Modder Date: Thu, 12 Mar 2015 01:53:19 +0000 (-0400) Subject: Slow down fire spread a bit X-Git-Tag: 0.4.13~89 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=525f467057cd9ea94c39452379f80ab5c9c6fe8f;p=oweals%2Fminetest_game.git Slow down fire spread a bit --- diff --git a/mods/fire/init.lua b/mods/fire/init.lua index f932b0c5..5b0008f1 100644 --- a/mods/fire/init.lua +++ b/mods/fire/init.lua @@ -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