1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Add lavacooling sounds

This commit is contained in:
HybridDog 2013-06-08 17:25:35 +02:00 committed by PilzAdam
parent c4bb058421
commit 6fed6867cb
4 changed files with 2 additions and 0 deletions

View File

@ -132,10 +132,12 @@ minetest.register_on_punchnode(on_punchnode)
default.cool_lava_source = function(pos) default.cool_lava_source = function(pos)
minetest.set_node(pos, {name="default:obsidian"}) minetest.set_node(pos, {name="default:obsidian"})
minetest.sound_play("default_cool_lava", {pos = pos, gain = 0.25})
end end
default.cool_lava_flowing = function(pos) default.cool_lava_flowing = function(pos)
minetest.set_node(pos, {name="default:stone"}) minetest.set_node(pos, {name="default:stone"})
minetest.sound_play("default_cool_lava", {pos = pos, gain = 0.25})
end end
minetest.register_abm({ minetest.register_abm({

Binary file not shown.

Binary file not shown.

Binary file not shown.