Merge pull request #2557 from alganthe/torso_diag_fix

Torso diag fix
This commit is contained in:
Glowbal 2015-09-21 22:27:13 +02:00
commit 6b93760f9b

View File

@ -122,6 +122,17 @@ class ACE_Torso {
enableInside = 1;
icon = PATHTOF(UI\icons\triageCard.paa);
};
class Diagnose {
displayName = CSTRING(Actions_Diagnose);
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(treatment));
EXCEPTIONS
showDisabled = 0;
priority = 2;
hotkey = "";
icon = "";
};
// Advanced medical
class FieldDressing {