mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Play sound for cooling lava
This commit is contained in:
parent
f7b75834f1
commit
7140bf71d8
1 changed files with 2 additions and 0 deletions
|
@ -4,10 +4,12 @@
|
|||
|
||||
mcl_core.cool_lava_source = function(pos)
|
||||
minetest.set_node(pos, {name="mcl_core:obsidian"})
|
||||
minetest.sound_play("fire_extinguish_flame", {gain = 0.25, max_hear_distance = 16})
|
||||
end
|
||||
|
||||
mcl_core.cool_lava_flowing = function(pos)
|
||||
minetest.set_node(pos, {name="mcl_core:stone"})
|
||||
minetest.sound_play("fire_extinguish_flame", {gain = 0.25, max_hear_distance = 16})
|
||||
end
|
||||
|
||||
minetest.register_abm({
|
||||
|
|
Loading…
Reference in a new issue