override default water sounds for 0.4.14 dev and above

This commit is contained in:
TenPlus1 2016-12-23 19:35:59 +00:00
parent 422e985db7
commit 7d2599c5bc
2 changed files with 9 additions and 2 deletions

View File

@ -9,5 +9,6 @@ Based on Immersive Sounds .36 mod by Neuromancer and optimized to run on servers
- 0.5 - Changed to kilbiths smaller sound files and removed canadianloon1, adjusted timings
- 0.6 - Using new find_nodes_in_area features to count nodes and speed up execution (thanks everamzah)
- 0.7 - Code tweaks and added Jungle sounds for day and night time
- 0.8 - override default water sounds for 0.4.14 dev and above
Code license: WTFPL
Code license: MIT

View File

@ -1,11 +1,17 @@
--= Ambience lite by TenPlus1 (17th June 2016)
--= Ambience lite by TenPlus1 (23rd December 2016)
local max_frequency_all = 1000 -- larger number means more frequent sounds (100-2000)
local SOUNDVOLUME = 1
local volume = 0.3
local ambiences
-- override default water sounds
minetest.override_item("default:water_source", { sounds = {} })
minetest.override_item("default:water_flowing", { sounds = {} })
minetest.override_item("default:river_water_source", { sounds = {} })
minetest.override_item("default:river_water_flowing", { sounds = {} })
-- sound sets
local night = {