mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
c7e6549eb2
* Cookoff - Reword settings and move to cba * Update stringtable.xml
52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
// CBA Settings [ADDON: ace_cookoff]:
|
|
|
|
[
|
|
QGVAR(enable), "CHECKBOX",
|
|
[LSTRING(enable_hd_name), LSTRING(enable_hd_tooltip)],
|
|
LSTRING(category_displayName),
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(enableAmmobox), "CHECKBOX",
|
|
[LSTRING(enableBoxCookoff_name), LSTRING(enableBoxCookoff_tooltip)],
|
|
LSTRING(category_displayName),
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(enableAmmobox), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(enableAmmoCookoff), "CHECKBOX",
|
|
[LSTRING(enableAmmoCookoff_name), LSTRING(enableAmmoCookoff_tooltip)],
|
|
LSTRING(category_displayName),
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(enableAmmoCookoff), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(ammoCookoffDuration), "SLIDER",
|
|
[LSTRING(ammoCookoffDuration_name), LSTRING(ammoCookoffDuration_tooltip)],
|
|
LSTRING(category_displayName),
|
|
[0,5,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(ammoCookoffDuration), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(probabilityCoef), "SLIDER",
|
|
[LSTRING(probabilityCoef_name), LSTRING(probabilityCoef_tooltip)],
|
|
LSTRING(category_displayName),
|
|
[0,5,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(probabilityCoef), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|