2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
class ACE_Head {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Head);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class CheckResponse: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Check_Response);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
2015-04-17 22:38:03 +00:00
|
|
|
class Diagnose: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Diagnose);
|
2015-04-17 22:38:03 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'Diagnose')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
2015-04-09 19:23:10 +00:00
|
|
|
};
|
|
|
|
class ACE_Torso {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Torso);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
enableInside = 1;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PlaceInBodyBag {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(PlaceInBodyBag);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'BodyBag')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
enableInside = 1;
|
|
|
|
};
|
|
|
|
class TriageCard {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_TriageCard);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = "true";
|
|
|
|
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
enableInside = 1;
|
|
|
|
icon = PATHTOF(UI\icons\triageCard.paa);
|
|
|
|
};
|
2015-09-16 17:44:44 +00:00
|
|
|
class Diagnose {
|
|
|
|
displayName = CSTRING(Actions_Diagnose);
|
|
|
|
distance = 5.0;
|
2015-09-20 12:13:22 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'Diagnose')] call DFUNC(treatment));
|
2015-09-16 17:44:44 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = "";
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
enableInside = 1;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class SurgicalKit: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Use_SurgicalKit);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\surgicalKit.paa);
|
|
|
|
};
|
|
|
|
class PersonalAidKit: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Use_Aid_Kit);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CPR: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CPR);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_ArmLeft {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,ArmLeft);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class BloodIV: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\iv.paa);
|
|
|
|
};
|
|
|
|
class BloodIV_500: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV_250: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'BloodIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_500: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_250: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_500: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_250: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'SalineIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_ArmRight {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,ArmRight);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\iv.paa);
|
|
|
|
};
|
|
|
|
class BloodIV_500: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV_250: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'BloodIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_1000);
|
2015-04-17 20:21:54 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV')] call DFUNC(treatment));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_500: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_250: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PlasmaIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_500: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_250: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'SalineIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
};
|
|
|
|
class ACE_LegLeft {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,LegLeft);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\iv.paa);
|
|
|
|
};
|
|
|
|
class BloodIV_500: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV_250: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'BloodIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_1000);
|
2015-04-17 20:21:54 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV')] call DFUNC(treatment));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_500: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_250: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PlasmaIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_500: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_250: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'SalineIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_LegRight {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,LegRight);
|
2015-04-09 19:23:10 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
|
2015-04-25 07:41:55 +00:00
|
|
|
ACTION_CONDITION
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
distance = MEDICAL_ACTION_DISTANCE;
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "B";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
2015-04-04 22:41:12 +00:00
|
|
|
|
2015-04-09 19:23:10 +00:00
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-09 19:23:10 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
hotkey = "";
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
icon = PATHTOF(UI\icons\iv.paa);
|
|
|
|
};
|
|
|
|
class BloodIV_500: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class BloodIV_250: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Blood4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'BloodIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_1000);
|
2015-04-17 20:21:54 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV')] call DFUNC(treatment));
|
2015-04-09 19:23:10 +00:00
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_500: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class PlasmaIV_250: PlasmaIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Plasma4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PlasmaIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV: BloodIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_1000);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_500: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_500);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_500')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class SalineIV_250: SalineIV {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Saline4_250);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'SalineIV_250')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-09 19:23:10 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
EXCEPTIONS
|
|
|
|
};
|
|
|
|
};
|