added setting "sounds.enable_tests"
This commit is contained in:
parent
668e328d5e
commit
0b989ae32e
@ -3,6 +3,7 @@ next
|
||||
----
|
||||
- "sounds:play" now returns handle & sound file name string
|
||||
- added "sounds:stop" wrapper function for "core:sound_stop"
|
||||
- added setting "sounds.enable_tests"
|
||||
|
||||
|
||||
v1.8
|
||||
|
1
init.lua
1
init.lua
@ -20,6 +20,7 @@ end
|
||||
|
||||
|
||||
local scripts = {
|
||||
"settings",
|
||||
"override",
|
||||
"api",
|
||||
"groups",
|
||||
|
11
settings.lua
Normal file
11
settings.lua
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
--- Sounds Settings
|
||||
--
|
||||
-- @topic settings
|
||||
|
||||
--- Enables sounds testing with /sounds_test chat command.
|
||||
--
|
||||
-- @setting sounds.enable_tests
|
||||
-- @settype bool
|
||||
-- @default false
|
||||
sounds.enable_tests = core.settings:get_bool("sounds.enable_tests", false)
|
3
settingtypes.txt
Normal file
3
settingtypes.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
# Enables sounds testing with /sounds_test chat command.
|
||||
sounds.enable_tests (Sounds tests) bool false
|
Loading…
x
Reference in New Issue
Block a user