mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 13:23:53 +00:00
28 lines
647 B
Lua
28 lines
647 B
Lua
|
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,
|
||
|
}
|
||
|
},
|
||
|
})
|