ACE3/addons/common/initSettings.sqf
GhostIsSpooky 1b318433a2
Common - Add settings for additional progress bar information (#8428)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-10 18:49:41 +02:00

37 lines
1000 B
Plaintext

[
QGVAR(persistentLaserEnabled),
"CHECKBOX",
[LSTRING(SettingPersistentLaserName), LSTRING(SettingPersistentLaserDesc)],
localize LSTRING(ACEKeybindCategoryWeapons),
false,
false,
LINKFUNC(switchPersistentLaser)
] call CBA_fnc_addSetting;
[
QGVAR(allowFadeMusic),
"CHECKBOX",
[LSTRING(AllowFadeMusic), LSTRING(AllowFadeMusicTooltip)],
format ["ACE %1", localize LSTRING(DisplayName)],
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(epilepsyFriendlyMode),
"CHECKBOX",
[LSTRING(EpilepsyFriendlyMode), LSTRING(EpilepsyFriendlyModeTooltip)],
format ["ACE %1", localize LSTRING(DisplayName)],
false,
2
] call CBA_fnc_addSetting;
[
QGVAR(progressBarInfo),
"LIST",
[LSTRING(progressBarInfoName), LSTRING(progressBarInfoDesc)],
format ["ACE %1", localize LSTRING(DisplayName)],
[[0, 1, 2], [LSTRING(None), LSTRING(progressBarInfoPercentage), LSTRING(progressBarInfoTime)], 2],
0
] call CBA_fnc_addSetting;