forked from Mirrorlandia_minetest/tnt
TNT: Chain reaction
With the new high res timer, we can make TNT much better create chain reactions. This does exactly that.
This commit is contained in:
parent
f7553240f9
commit
9a4d305a22
4
init.lua
4
init.lua
@ -428,7 +428,9 @@ function tnt.register_tnt(def)
|
||||
end
|
||||
end,
|
||||
on_blast = function(pos, intensity)
|
||||
tnt.burn(pos)
|
||||
minetest.after(0.1, function()
|
||||
tnt.boom(pos, def)
|
||||
end)
|
||||
end,
|
||||
mesecons = {effector =
|
||||
{action_on =
|
||||
|
Loading…
Reference in New Issue
Block a user