1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Balance sounds, remove silent water footstep

This commit is contained in:
paramat
2020-11-08 15:43:04 +00:00
committed by Lars Müller
parent 760581b330
commit 0c1252bcf5
9 changed files with 20 additions and 16 deletions

View File

@ -279,7 +279,7 @@ function tnt.burn(pos, nodename)
def.on_ignite(pos)
elseif minetest.get_item_group(name, "tnt") > 0 then
minetest.swap_node(pos, {name = name .. "_burning"})
minetest.sound_play("tnt_ignite", {pos = pos}, true)
minetest.sound_play("tnt_ignite", {pos = pos, gain = 1.0}, true)
minetest.get_node_timer(pos):start(1)
end
end
@ -555,7 +555,7 @@ minetest.register_node("tnt:gunpowder_burning", {
on_blast = function() end,
on_construct = function(pos)
minetest.sound_play("tnt_gunpowder_burning", {pos = pos,
gain = 2}, true)
gain = 1.0}, true)
minetest.get_node_timer(pos):start(1)
end,
})