diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index c83a26ae..65253981 100755 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -610,7 +610,7 @@ function mobs:register_mob(name, def) --activate_if_tnt(n.name, np, pos, 3) -- Pas de module TNT sur le serveur donc inutile minetest.remove_node(np) nodeupdate(np) - if n.name ~= "tnt:tnt" and math.random() > 0.9 then + --[[ if n.name ~= "tnt:tnt" and math.random() > 0.9 then local drop = minetest.get_node_drops(n.name, "") for _,item in ipairs(drop) do if type(item) == "string" then @@ -619,7 +619,7 @@ function mobs:register_mob(name, def) end end end - end + end ]] end end end diff --git a/mods/mobs/sounds/tnt_explode.ogg b/mods/mobs/sounds/tnt_explode.ogg new file mode 100644 index 00000000..a414ea04 Binary files /dev/null and b/mods/mobs/sounds/tnt_explode.ogg differ