Skip to content
Snippets Groups Projects
Commit 525f4670 authored by MT-Modder's avatar MT-Modder Committed by BlockMen
Browse files

Slow down fire spread a bit

parent 820a97e3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment