This commit is contained in:
PabstMirror 2019-04-25 23:21:44 -05:00
parent da6876441e
commit 2e897e86a2
2 changed files with 17 additions and 16 deletions

View File

@ -15,7 +15,7 @@ private _categoryArray = [LELSTRING(medical,Category_DisplayName), "?"];
[
QEGVAR(medical,limping), "LIST",
LSTRING(setting_limping_DisplayName), LSTRING(setting_limping_Description)],
[LSTRING(setting_limping_DisplayName), LSTRING(setting_limping_Description)],
_categoryArray,
[[0,1,2],[LELSTRING(common,disabled), LLSTRING(setting_limping_limpOnOpenWounds), LLSTRING(setting_limping_limpRequiresStitching)], 1], // [values, titles, defaultIndex]
true, // isGlobal
@ -25,9 +25,9 @@ private _categoryArray = [LELSTRING(medical,Category_DisplayName), "?"];
[
QEGVAR(medical,fractures), "LIST",
LSTRING(setting_fractures_DisplayName), LSTRING(setting_fractures_Description)],
[LSTRING(setting_fractures_DisplayName), LSTRING(setting_fractures_Description)],
_categoryArray,
[[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]
[[0,1,2],[LELSTRING(common,disabled), LLSTRING(setting_fractures_splintHealsFully), LLSTRING(setting_fractures_splintHasEffects)], 1], // [values, titles, defaultIndex]
true, // isGlobal
{[QEGVAR(medical,fractures), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart

View File

@ -58,6 +58,7 @@ private _bodyPartBloodLoss = [0, 0, 0, 0, 0, 0];
};
};
};
};
// Update body part color based on blood loss and damage
private _bloodLoss = _bodyPartBloodLoss select _forEachIndex;