ACE3/addons/common/initSettings.sqf
BaerMitUmlaut 8d804cf76d
Common - Add epilepsy friendly mode (#8452)
* Add epilepsy friendly mode

* Disable LSD vehicles in epilepsy friendly mode
2021-10-05 12:29:22 -05:00

28 lines
701 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;