1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/files/data/scripts/omw/music/settings.lua
2024-05-19 22:10:54 +04:00

28 lines
647 B
Lua
Executable File

local I = require('openmw.interfaces')
local storage = require('openmw.storage')
I.Settings.registerPage({
key = 'OMWMusic',
l10n = 'OMWMusic',
name = 'Music',
description = 'settingsPageDescription',
})
I.Settings.registerGroup({
key = "SettingsOMWMusic",
page = 'OMWMusic',
l10n = 'OMWMusic',
name = 'musicSettings',
permanentStorage = true,
order = 0,
settings = {
{
key = 'CombatMusicEnabled',
renderer = 'checkbox',
name = 'CombatMusicEnabled',
description = 'CombatMusicEnabledDescription',
default = true,
}
},
})