ACE3/addons/explosives/initSettings.inc.sqf
johnb432 3229336018
Explosives - Trivial cleanup (#10205)
Explosives trivial cleanup
2024-08-14 10:53:40 -07:00

56 lines
1.4 KiB
Plaintext

private _categoryStr = format ["ACE %1", LLSTRING(Menu)];
[
QGVAR(requireSpecialist),
"CHECKBOX",
[LLSTRING(RequireSpecialist_DisplayName),LLSTRING(RequireSpecialist_Description)],
_categoryStr,
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(punishNonSpecialists),
"CHECKBOX",
[LLSTRING(PunishNonSpecialists_DisplayName),LLSTRING(PunishNonSpecialists_Description)],
_categoryStr,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(explodeOnDefuse),
"CHECKBOX",
[LLSTRING(ExplodeOnDefuse_DisplayName),LLSTRING(ExplodeOnDefuse_Description)],
_categoryStr,
true,
1
] call CBA_fnc_addSetting;
// Variable names to preserve https://github.com/acemod/ACE3/pull/6882
[
QGVAR(customTimerMin),
"TIME",
[LLSTRING(TimerMin_DisplayName), LLSTRING(TimerMin_Description)],
[_categoryStr, LLSTRING(ExplosiveTimer)],
[0, 5999, TIMER_VALUE_MIN],
1
] call CBA_fnc_addSetting;
[
QGVAR(customTimerMax),
"TIME",
[LLSTRING(TimerMax_DisplayName), LLSTRING(TimerMax_Description)],
[_categoryStr, LLSTRING(ExplosiveTimer)],
[0, 5999, TIMER_VALUE_MAX],
1
] call CBA_fnc_addSetting;
[
QGVAR(customTimerDefault),
"TIME",
[LLSTRING(TimerDefault_DisplayName), LLSTRING(TimerDefault_Description)],
[_categoryStr, LLSTRING(ExplosiveTimer)],
[0, 5999, TIMER_VALUE_DEFAULT]
] call CBA_fnc_addSetting;