rapid fire extinguishing
This commit is contained in:
parent
44f9dbc464
commit
86a5b5eab1
1
fireoff/depends.txt
Normal file
1
fireoff/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
fire
|
11
fireoff/init.lua
Normal file
11
fireoff/init.lua
Normal 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
1
fireoff/mod.conf
Normal file
@ -0,0 +1 @@
|
||||
name = fireoff
|
Loading…
x
Reference in New Issue
Block a user