Lower Sound Volume

master
benrob0329 2019-08-30 01:57:35 -04:00
parent 3f8ef3f5c4
commit c07642f10e
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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

View File

@ -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)