1
0
mirror of https://codeberg.org/tenplus1/ambience.git synced 2026-01-14 12:35:20 +01:00

add ambience.add_to_set function

This commit is contained in:
tenplus1
2026-01-09 10:47:21 +00:00
parent 85ed66ca09
commit 6cff2a6d94
3 changed files with 23 additions and 0 deletions

View File

@@ -76,6 +76,10 @@ ambience.add_set("underwater", {
end
})
-- add new sound to above set
ambience.add_to_set("underwater", {name = "scuba", pitch = 1.2, length = 8})
-- Splashing sound plays when player walks inside water nodes (if enabled)
if core.settings:get_bool("ambience_water_move") ~= false then