Skip to content

Commit 6fed686

Browse files
HybridDogPilzAdam
HybridDog
authored andcommittedJul 11, 2013
Add lavacooling sounds
1 parent c4bb058 commit 6fed686

File tree

4 files changed

+2
-0
lines changed

4 files changed

+2
-0
lines changed
 

Diff for: ‎mods/default/functions.lua

+2
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,12 @@ minetest.register_on_punchnode(on_punchnode)
132132

133133
default.cool_lava_source = function(pos)
134134
minetest.set_node(pos, {name="default:obsidian"})
135+
minetest.sound_play("default_cool_lava", {pos = pos, gain = 0.25})
135136
end
136137

137138
default.cool_lava_flowing = function(pos)
138139
minetest.set_node(pos, {name="default:stone"})
140+
minetest.sound_play("default_cool_lava", {pos = pos, gain = 0.25})
139141
end
140142

141143
minetest.register_abm({

Diff for: ‎mods/default/sounds/default_cool_lava.1.ogg

9.36 KB
Binary file not shown.

Diff for: ‎mods/default/sounds/default_cool_lava.2.ogg

7.79 KB
Binary file not shown.

Diff for: ‎mods/default/sounds/default_cool_lava.3.ogg

6.35 KB
Binary file not shown.

0 commit comments

Comments
 (0)