mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2024-12-23 17:20:30 +01:00
override default water sounds for 0.4.14 dev and above
This commit is contained in:
parent
422e985db7
commit
7d2599c5bc
@ -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
|
||||
|
8
init.lua
8
init.lua
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user