diff --git a/fireoff/depends.txt b/fireoff/depends.txt new file mode 100644 index 0000000..f8e1e74 --- /dev/null +++ b/fireoff/depends.txt @@ -0,0 +1 @@ +fire diff --git a/fireoff/init.lua b/fireoff/init.lua new file mode 100644 index 0000000..433a571 --- /dev/null +++ b/fireoff/init.lua @@ -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, +} diff --git a/fireoff/mod.conf b/fireoff/mod.conf new file mode 100644 index 0000000..35a2c55 --- /dev/null +++ b/fireoff/mod.conf @@ -0,0 +1 @@ +name = fireoff