1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 13:23:53 +00:00
openmw/files/data/scripts/omw/music/settings.lua

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
647 B
Lua
Raw Normal View History

2023-09-19 15:29:26 +00:00
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,
}
},
})