Skip to content

Commit

Permalink
Slow down fire spread a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
MT-Modder authored and BlockMen committed Mar 29, 2015
1 parent 820a97e commit 525f467
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mods/fire/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 525f467

Please sign in to comment.