update
This commit is contained in:
parent
868024cac9
commit
00f668d923
@ -80,7 +80,10 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
|
|||||||
|
|
||||||
local tnt = minetest.find_node_near(self.lastpos, 1, {"tnt:tnt"})
|
local tnt = minetest.find_node_near(self.lastpos, 1, {"tnt:tnt"})
|
||||||
if tnt then
|
if tnt then
|
||||||
boom(tnt)
|
minetest.sound_play("tnt_ignite", {pos=tnt})
|
||||||
|
minetest.set_node(tnt, {name="tnt:tnt_burning"})
|
||||||
|
local timer = minetest.get_node_timer(tnt)
|
||||||
|
timer:set(4, 4)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local toughness = 0.9
|
local toughness = 0.9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user