2015-04-05 11:02:55 +00:00
|
|
|
class Medical {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Medical);
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class ACE_Head {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Head);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,0,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_Torso {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Torso);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = "true";
|
|
|
|
runOnHover = 1;
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,1,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-05 11:02:55 +00:00
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class TriageCard {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_TriageCard);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = "true";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\triageCard.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_ArmLeft {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,ArmLeft);
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,2,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\tourniquet.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
2018-06-28 05:06:12 +00:00
|
|
|
displayName = CSTRING(Inject_Adenosine);
|
2016-02-07 11:54:23 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2016-02-07 11:54:23 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2016-02-07 11:54:23 +00:00
|
|
|
};
|
2015-04-05 11:02:55 +00:00
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_ArmRight {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,ArmRight);
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,3,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\tourniquet.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
2017-08-14 18:47:58 +00:00
|
|
|
displayName = CSTRING(Inject_Adenosine);
|
2016-02-07 11:54:23 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2016-02-07 11:54:23 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2016-02-07 11:54:23 +00:00
|
|
|
};
|
2015-04-05 11:02:55 +00:00
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class CheckPulse: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckPulse);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
|
|
|
|
icon = "";
|
|
|
|
};
|
|
|
|
class CheckBloodPressure: CheckPulse {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_CheckBloodPressure);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_LegLeft {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,LegLeft);
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
2017-10-01 18:38:11 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,4,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\tourniquet.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
2018-06-28 05:06:12 +00:00
|
|
|
displayName = CSTRING(Inject_Adenosine);
|
2016-02-07 11:54:23 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2016-02-07 11:54:23 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2016-02-07 11:54:23 +00:00
|
|
|
};
|
2015-04-05 11:02:55 +00:00
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_LegRight {
|
2015-05-27 20:34:57 +00:00
|
|
|
displayName = ECSTRING(interaction,LegRight);
|
2015-04-05 11:02:55 +00:00
|
|
|
runOnHover = 1;
|
2017-10-01 18:38:11 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
|
2015-04-17 03:04:27 +00:00
|
|
|
modifierFunction = QUOTE([ARR_4(_target,_player,5,_this select 3)] call FUNC(modifyMedicalAction));
|
2015-04-17 20:00:07 +00:00
|
|
|
condition = "true";
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
|
|
|
|
class Bandage {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Bandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Advanced medical
|
|
|
|
class FieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_FieldDressing);
|
2015-04-05 11:02:55 +00:00
|
|
|
distance = 5.0;
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\bandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class PackingBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_PackingBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\packingBandage.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class ElasticBandage: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_ElasticBandage);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class QuikClot: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_QuikClot);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class Tourniquet: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_Tourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\tourniquet.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
|
|
|
class Morphine: fieldDressing {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Morphine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2015-04-05 11:02:55 +00:00
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
2018-06-28 05:06:12 +00:00
|
|
|
displayName = CSTRING(Inject_Adenosine);
|
2016-02-07 11:54:23 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2016-02-07 11:54:23 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment));
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\icons\autoInjector.paa);
|
2016-02-07 11:54:23 +00:00
|
|
|
};
|
2015-04-05 11:02:55 +00:00
|
|
|
class Atropine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Atropine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class Epinephrine: Morphine {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Inject_Epinephrine);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
class RemoveTourniquet: Tourniquet {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Actions_RemoveTourniquet);
|
2015-04-05 11:02:55 +00:00
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming"};
|
2015-04-05 11:02:55 +00:00
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
2015-04-08 05:35:31 +00:00
|
|
|
};
|