Add lavacooling sounds
authorHybridDog <adresse_test@t-online.de>
Sat, 8 Jun 2013 15:25:35 +0000 (17:25 +0200)
committerPilzAdam <pilzadam@minetest.net>
Thu, 11 Jul 2013 00:28:36 +0000 (02:28 +0200)
mods/default/functions.lua
mods/default/sounds/default_cool_lava.1.ogg [new file with mode: 0644]
mods/default/sounds/default_cool_lava.2.ogg [new file with mode: 0644]
mods/default/sounds/default_cool_lava.3.ogg [new file with mode: 0644]

index b0db8b222227c9db3011fbba38d98c87501f8175..e62b3d6bacfff27c39b839d10f85f6522ef676ea 100644 (file)
@@ -132,10 +132,12 @@ minetest.register_on_punchnode(on_punchnode)
 
 default.cool_lava_source = function(pos)
        minetest.set_node(pos, {name="default:obsidian"})
+       minetest.sound_play("default_cool_lava", {pos = pos,  gain = 0.25})
 end
 
 default.cool_lava_flowing = function(pos)
        minetest.set_node(pos, {name="default:stone"})
+       minetest.sound_play("default_cool_lava", {pos = pos,  gain = 0.25})
 end
 
 minetest.register_abm({
diff --git a/mods/default/sounds/default_cool_lava.1.ogg b/mods/default/sounds/default_cool_lava.1.ogg
new file mode 100644 (file)
index 0000000..42506dd
Binary files /dev/null and b/mods/default/sounds/default_cool_lava.1.ogg differ
diff --git a/mods/default/sounds/default_cool_lava.2.ogg b/mods/default/sounds/default_cool_lava.2.ogg
new file mode 100644 (file)
index 0000000..2747ab8
Binary files /dev/null and b/mods/default/sounds/default_cool_lava.2.ogg differ
diff --git a/mods/default/sounds/default_cool_lava.3.ogg b/mods/default/sounds/default_cool_lava.3.ogg
new file mode 100644 (file)
index 0000000..8baeac3
Binary files /dev/null and b/mods/default/sounds/default_cool_lava.3.ogg differ