2019-03-24 05:37:39 +00:00
|
|
|
// CBA Settings [ADDON: ace_medical]:
|
|
|
|
|
|
|
|
private _categoryArray = [LELSTRING(medical,Category_DisplayName), "?"];
|
|
|
|
|
|
|
|
// todo: Check the description is still accurate
|
|
|
|
[
|
|
|
|
QGVAR(spontaneousWakeUpChance), "SLIDER",
|
|
|
|
[LSTRING(MedicalSettings_spontaneousWakeUpChance_DisplayName), LSTRING(MedicalSettings_spontaneousWakeUpChance_Description)],
|
|
|
|
_categoryArray,
|
|
|
|
[0,1,0.05,2], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(spontaneousWakeUpChance), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
|
|
|
] call CBA_settings_fnc_init;
|
2019-04-17 22:43:08 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QEGVAR(medical,limping), "LIST",
|
2019-04-26 04:16:43 +00:00
|
|
|
LSTRING(setting_limping_DisplayName), LSTRING(setting_limping_Description)],
|
2019-04-17 22:43:08 +00:00
|
|
|
_categoryArray,
|
2019-04-26 04:16:43 +00:00
|
|
|
[[0,1,2],[LELSTRING(common,disabled), LLSTRING(setting_limping_limpOnOpenWounds), LLSTRING(setting_limping_limpRequiresStitching)], 1], // [values, titles, defaultIndex]
|
2019-04-17 22:43:08 +00:00
|
|
|
true, // isGlobal
|
|
|
|
{[QEGVAR(medical,limping), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
|
|
|
QEGVAR(medical,fractures), "LIST",
|
2019-04-26 04:16:43 +00:00
|
|
|
LSTRING(setting_fractures_DisplayName), LSTRING(setting_fractures_Description)],
|
2019-04-17 22:43:08 +00:00
|
|
|
_categoryArray,
|
2019-04-26 04:16:43 +00:00
|
|
|
[[0,1,2],[LELSTRING(common,disabled), LLSTRING(setting_fractures_splintHealsFully), LLSTRING(setting_fractures_splintHasEffects)]"Splints fully heal", "Splints heal (but cannot sprint)"], 1], // [values, titles, defaultIndex]
|
2019-04-17 22:43:08 +00:00
|
|
|
true, // isGlobal
|
|
|
|
{[QEGVAR(medical,fractures), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
|
|
|
] call CBA_settings_fnc_init;
|