ACE3/addons/captives/initSettings.inc.sqf
BrettMayson 464ab0cefb
Tools - Add HEMTT SQF support and fix commas are not semicolons (#9663)
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-12-07 03:20:47 +00:00

34 lines
992 B
Plaintext

private _category = format ["ACE %1", localize LSTRING(DisplayName)];
[
QGVAR(allowHandcuffOwnSide), "CHECKBOX",
[LSTRING(ModuleSettings_handcuffSide_name), LSTRING(ModuleSettings_handcuffSide_description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(requireSurrender), "LIST",
[LSTRING(ModuleSettings_requireSurrender_name), LSTRING(ModuleSettings_requireSurrender_description)],
_category,
[[0, 1, 2], [ELSTRING(common,Disabled), LSTRING(SurrenderOnly), LSTRING(SurrenderOrNoWeapon)], 1],
1
] call CBA_fnc_addSetting;
[
QGVAR(allowSurrender), "CHECKBOX",
[LSTRING(ModuleSettings_allowSurrender_name), LSTRING(ModuleSettings_allowSurrender_description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(requireSurrenderAi), "CHECKBOX",
[LSTRING(ModuleSettings_requireSurrenderAi_name), LSTRING(ModuleSettings_requireSurrenderAi_description)],
_category,
false,
1
] call CBA_fnc_addSetting;