mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Simple mob explosion smoke
This commit is contained in:
parent
45a2e5ed0d
commit
f00b0fe7ac
@ -2794,7 +2794,7 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||
minetest.set_node(p, {name = "air"})
|
||||
|
||||
if smoke > 0 then
|
||||
effect(p, 2, "tnt_smoke.png")
|
||||
effect(p, 2, "tnt_smoke.png", 3*radius, 5*radius, radius, 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user