ACE3/addons/arsenal/initSettings.sqf
Grim 31e1ad0cff
Arsenal - Add Tools category and moveOnOverwrite parameter to FUNC(addCustomRightPanelButton) (#9247)
* add tools tab and setting

* move to preinit

* fix icon, add restart warning

* derp

Co-authored-by: Dystopian <sddex@ya.ru>

* Update addons/arsenal/stringtable.xml

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* remove setting

* add keepIfOverriden parameter

* docs again

* documentation whitespace

* docs grammar, change parameter name

* fix docs

* more docs fixes

* magazine support

* deprecate spare barrel item

* more docs, improve condition

---------

Co-authored-by: Dystopian <sddex@ya.ru>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-21 22:39:48 +03:00

84 lines
1.7 KiB
Plaintext

// Arsenal
private _category = LLSTRING(settingCategory);
[
QGVAR(camInverted),
"CHECKBOX",
LLSTRING(invertCameraSetting),
_category,
false
] call CBA_fnc_addSetting;
[
QGVAR(enableModIcons),
"CHECKBOX",
[LSTRING(modIconsSetting), LSTRING(modIconsTooltip)],
_category,
true
] call CBA_fnc_addSetting;
[
QGVAR(fontHeight),
"SLIDER",
[LSTRING(fontHeightSetting), LSTRING(fontHeightTooltip)],
_category,
[1, 10, 4.5, 1]
] call CBA_fnc_addSetting;
[
QGVAR(enableIdentityTabs),
"CHECKBOX",
LLSTRING(enableIdentityTabsSettings),
_category,
true,
true
] call CBA_fnc_addSetting;
private _loadoutCategory = LLSTRING(loadoutSubcategory);
// Arsenal loadouts
[QGVAR(allowDefaultLoadouts),
"CHECKBOX",
[LSTRING(allowDefaultLoadoutsSetting), LSTRING(defaultLoadoutsTooltip)],
[_category, _loadoutCategory],
true,
true
] call CBA_fnc_addSetting;
[QGVAR(allowSharedLoadouts),
"CHECKBOX",
LLSTRING(allowSharingSetting),
[_category, _loadoutCategory],
true,
true
] call CBA_fnc_addSetting;
[QGVAR(EnableRPTLog),
"CHECKBOX",
[LSTRING(printToRPTSetting),
LSTRING(printToRPTTooltip)],
[_category, _loadoutCategory],
false,
false
] call CBA_fnc_addSetting;
[QGVAR(loadoutsSaveFace),
"CHECKBOX",
LLSTRING(loadoutsSaveFaceSetting),
[_category, _loadoutCategory],
false
] call CBA_fnc_addSetting;
[QGVAR(loadoutsSaveVoice),
"CHECKBOX",
LLSTRING(loadoutsSaveVoiceSetting),
[_category, _loadoutCategory],
false
] call CBA_fnc_addSetting;
[QGVAR(loadoutsSaveInsignia),
"CHECKBOX",
LLSTRING(loadoutsSaveInsigniaSetting),
[_category, _loadoutCategory],
true
] call CBA_fnc_addSetting;