rapid fire extinguishing

This commit is contained in:
Tai @ Flex 2016-09-24 13:40:38 +01:00
parent 44f9dbc464
commit 86a5b5eab1
3 changed files with 13 additions and 0 deletions

1
fireoff/depends.txt Normal file
View File

@ -0,0 +1 @@
fire

11
fireoff/init.lua Normal file
View File

@ -0,0 +1,11 @@
-- Remove basic flame fast
minetest.register_abm{
nodenames = {"fire:basic_flame"},
neighbors = {"group:flammable","air"},
interval = 1,
chance = 3,
action = function(pos)
minetest.dig_node(pos) -- use "dig" to also stop the sound
end,
}

1
fireoff/mod.conf Normal file
View File

@ -0,0 +1 @@
name = fireoff