Use ephemeral sounds
This commit is contained in:
parent
b2c75acd68
commit
c5e4ec5e27
61 changed files with 123 additions and 122 deletions
|
@ -50,7 +50,7 @@ local torch_get_input_rules = function(node)
|
|||
end
|
||||
|
||||
local torch_overheated = function(pos)
|
||||
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.02, max_hear_distance = 6})
|
||||
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.02, max_hear_distance = 6}, true)
|
||||
minetest.add_particle({
|
||||
pos = {x=pos.x, y=pos.y+0.2, z=pos.z},
|
||||
velocity = {x = 0, y = 0.6, z = 0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue