Add new TNT sounds
This commit is contained in:
parent
7269711911
commit
553b0f9d72
6 changed files with 56 additions and 5 deletions
|
@ -396,7 +396,7 @@ function tnt.boom(pos, def)
|
|||
minetest.set_node(pos, {name = "tnt:boom"})
|
||||
end
|
||||
local sound = def.sound or "tnt_explode"
|
||||
minetest.sound_play(sound, {pos = pos, gain = 1.5,
|
||||
minetest.sound_play(sound, {pos = pos, gain = 2.5,
|
||||
max_hear_distance = math.min(def.radius * 20, 128)})
|
||||
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
|
||||
def.ignore_on_blast, owner, def.explode_center)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue