Lower Sound Volume
parent
3f8ef3f5c4
commit
c07642f10e
|
@ -1,5 +1,5 @@
|
|||
ikea.light = {}
|
||||
ikea.light.sound_gain = 0.1
|
||||
ikea.light.sound_gain = 0.005
|
||||
|
||||
-- Set node to the base light node if the name ends in "_off"
|
||||
-- Otherwise set it to the name + "_off"
|
||||
|
|
|
@ -46,7 +46,7 @@ minetest.register_globalstep(function(dtime)
|
|||
if store_tod == 0 and old_time == 1 then
|
||||
minetest.sound_play({
|
||||
name = "ikea_time_power_down",
|
||||
gain = 1.0,
|
||||
gain = 0.15,
|
||||
pitch = 1.0,
|
||||
})
|
||||
end
|
||||
|
|
|
@ -47,7 +47,7 @@ function music.play()
|
|||
end
|
||||
|
||||
minetest.register_on_newplayer(function(player)
|
||||
player:get_meta():set_float("music:gain", 0.3)
|
||||
player:get_meta():set_float("music:gain", 0.1)
|
||||
player:get_meta():set_int("music:handle", 0)
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue