mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-18 13:43:44 +01:00
Play sound for cooling lava
@ -4,10 +4,12 @@
|
|||||||
|
|
||||||
mcl_core.cool_lava_source = function(pos)
|
mcl_core.cool_lava_source = function(pos)
|
||||||
minetest.set_node(pos, {name="mcl_core:obsidian"})
|
minetest.set_node(pos, {name="mcl_core:obsidian"})
|
||||||
|
minetest.sound_play("fire_extinguish_flame", {gain = 0.25, max_hear_distance = 16})
|
||||||
end
|
end
|
||||||
|
|
||||||
mcl_core.cool_lava_flowing = function(pos)
|
mcl_core.cool_lava_flowing = function(pos)
|
||||||
minetest.set_node(pos, {name="mcl_core:stone"})
|
minetest.set_node(pos, {name="mcl_core:stone"})
|
||||||
|
minetest.sound_play("fire_extinguish_flame", {gain = 0.25, max_hear_distance = 16})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
|
Reference in New Issue
Block a user