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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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";
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
class ACE_Head {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Head);
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\triageCard.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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";
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
|
|
|
displayName = CSTRING(Inject_Atropine);
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(canTreatCached));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Adenosine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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";
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
|
|
|
displayName = CSTRING(Inject_Atropine);
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(canTreatCached));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Adenosine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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";
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
|
|
|
displayName = CSTRING(Inject_Atropine);
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(canTreatCached));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Adenosine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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;
|
2015-06-09 14:17:05 +00:00
|
|
|
exceptions[] = {"isNotInside", "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";
|
2015-04-05 11:02:55 +00:00
|
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2;
|
|
|
|
icon = PATHTOF(UI\icons\bandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\packingBandage.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\tourniquet.paa);
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
2016-02-07 11:54:23 +00:00
|
|
|
class Adenosine: Morphine {
|
|
|
|
displayName = CSTRING(Inject_Atropine);
|
|
|
|
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(canTreatCached));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Adenosine')] call DFUNC(treatment));
|
|
|
|
icon = PATHTOF(UI\icons\autoInjector.paa);
|
|
|
|
};
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
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));
|
|
|
|
exceptions[] = {"isNotInside"};
|
|
|
|
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
|
|
|
|
};
|
|
|
|
};
|
2015-04-08 05:35:31 +00:00
|
|
|
};
|