From f00b0fe7ac2f9f5892896802b7109e4d115fb88b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 30 May 2017 01:50:59 +0200 Subject: [PATCH] Simple mob explosion smoke --- mods/ENTITIES/mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs/api.lua b/mods/ENTITIES/mobs/api.lua index d85116dee2..c2a44811d2 100644 --- a/mods/ENTITIES/mobs/api.lua +++ b/mods/ENTITIES/mobs/api.lua @@ -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