From 9d19eb56ce868dd56194a1b3abf824916be7e389 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 8 Jul 2017 17:52:38 +0200 Subject: [PATCH] Disable fire in explosions --- creeper.lua | 2 +- ender_dragon.lua | 2 +- wither.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/creeper.lua b/creeper.lua index 1e951ef..4e47f0b 100644 --- a/creeper.lua +++ b/creeper.lua @@ -40,7 +40,7 @@ mobs:register_mob("mobs_mc:creeper", { attack_type = "explode", explosion_radius = 3, - -- TODO: Disable Mobs Redo fire + explosion_fire = false, -- Force-ignite creeper with flint and steel and explode after 1.5 seconds. -- TODO: Make creeper flash after doing this as well. diff --git a/ender_dragon.lua b/ender_dragon.lua index d755d36..f8a0c4d 100644 --- a/ender_dragon.lua +++ b/ender_dragon.lua @@ -171,7 +171,7 @@ mobs:register_arrow(":mobs_mc:fireball2", { -- node hit, bursts into flame hit_node = function(self, pos, node) - mobs:explosion(pos, 3, 1, 1) + mobs:explosion(pos, 3, 0, 1) --from tnt minetest.sound_play("tnt_explode", {pos = pos, gain = 1.5, max_hear_distance = 2*64}) diff --git a/wither.lua b/wither.lua index b8d3089..eec5488 100644 --- a/wither.lua +++ b/wither.lua @@ -58,7 +58,7 @@ mobs:register_mob("mobs_mc:wither", { light_damage = 0, attack_type = "dogshoot", explosion_radius = 3, - explosion_fire = 0, + explosion_fire = false, dogshoot_stop = true, arrow = "mobs_mc:fireball", reach = 5,