mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
08dff76593
* Fix casing of stringtable keys * Use CBA_fnc_addSetting * Move burn reactions to function, add setting for weapon throwing * Fix stringtable keys in settings * Use stringtable entries from common component * Update addons/fire/stringtable.xml Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> * Update addons/fire/stringtable.xml Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
32 lines
995 B
Plaintext
32 lines
995 B
Plaintext
[
|
|
QGVAR(enabled), "CHECKBOX",
|
|
["STR_A3_OPTIONS_ENABLED", LSTRING(Setting_Description)],
|
|
LSTRING(Category_DisplayName),
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(fireEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(enableFlare), "CHECKBOX",
|
|
[LSTRING(Setting_FlareEnable), LSTRING(Setting_FlareDescription)],
|
|
LSTRING(Category_DisplayName),
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(dropWeapon), "LIST",
|
|
[LSTRING(Setting_DropWeapon), LSTRING(Setting_DropWeapon_Description)],
|
|
LSTRING(Category_DisplayName),
|
|
[
|
|
[0,1,2],
|
|
[localize "STR_A3_OPTIONS_DISABLED", ELSTRING(common,aiOnly), ELSTRING(common,playersAndAI)],
|
|
1
|
|
],
|
|
true // isGlobal
|
|
] call CBA_fnc_addSetting;
|