From: HybridDog Date: Sat, 8 Jun 2013 15:25:35 +0000 (+0200) Subject: Add lavacooling sounds X-Git-Tag: 0.4.8~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fed6867cb99c010e26ee7e76d5794a122bea018;p=oweals%2Fminetest_game.git Add lavacooling sounds --- diff --git a/mods/default/functions.lua b/mods/default/functions.lua index b0db8b22..e62b3d6b 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -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 index 00000000..42506ddf 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 index 00000000..2747ab81 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 index 00000000..8baeac32 Binary files /dev/null and b/mods/default/sounds/default_cool_lava.3.ogg differ