ACE3/addons/medical/CfgVehicles.hpp

2130 lines
104 KiB
C++
Raw Normal View History

2015-02-06 12:47:17 +00:00
#define MEDICAL_ACTION_DISTANCE 1.75
2015-02-06 12:47:17 +00:00
class CfgVehicles {
2015-03-06 21:54:44 +00:00
class Logic;
class Module_F: Logic {
class ArgumentsBaseUnits {
};
};
2015-03-22 16:05:31 +00:00
class ACE_Module;
// TODO localization for all the modules
class ACE_moduleMedicalSettings: ACE_Module {
2015-03-06 21:54:44 +00:00
scope = 2;
displayName = "Medical Settings [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
2015-03-06 21:54:44 +00:00
category = "ACE_medical";
function = QUOTE(DFUNC(moduleMedicalSettings));
functionPriority = 1;
isGlobal = 1;
isTriggerActivated = 0;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
2015-03-08 11:05:52 +00:00
class Arguments {
2015-03-06 21:54:44 +00:00
class level {
displayName = "Medical Level";
description = "What is the medical simulation level?";
typeName = "NUMBER";
class values {
class normal {
name = "Basic";
2015-03-07 12:06:33 +00:00
value = 1;
2015-03-06 21:54:44 +00:00
default = 1;
};
class full {
name = "Advanced";
2015-03-07 12:06:33 +00:00
value = 2;
2015-03-06 21:54:44 +00:00
};
};
};
2015-03-08 11:05:52 +00:00
class enableFor {
displayName = "Enabled for";
description = "Select what units the medical system will be enabled for (Adv only)";
2015-03-08 11:05:52 +00:00
typeName = "NUMBER";
class values {
class playableUnits {
name = "Players only.";
2015-03-08 11:05:52 +00:00
value = 0;
default = 1;
};
class playableUnitsAndAI {
name = "Players and AI";
value = 1;
};
};
};
// TODO Disabled until the features are implemented
/*class enableAirway {
2015-03-08 11:05:52 +00:00
displayName = "Enable Airway";
description = "Enable Advanced medical Airway (Adv only)";
2015-03-08 11:05:52 +00:00
typeName = "BOOL";
defaultValue = 0;
};
class enableFractures {
displayName = "Enable Fractures";
description = "Enable Advanced medical Fractures (Adv only)";
2015-03-08 11:05:52 +00:00
typeName = "BOOL";
defaultValue = 0;
};*/
2015-03-08 11:05:52 +00:00
class enableAdvancedWounds {
displayName = "Enable Advanced wounds";
description = "Allow reopening of bandaged wounds? (Adv only)";
2015-03-08 11:05:52 +00:00
typeName = "BOOL";
defaultValue = 0;
};
class enableVehicleCrashes {
displayName = "Vehicle Crashes";
description = "Do units take damage from a vehicle crash?";
typeName = "BOOL";
defaultValue = 1;
};
class enableScreams {
displayName = "Enable Screams";
description = "Enable screaming by injuried units";
typeName = "BOOL";
defaultValue = 1;
};
class playerDamageThreshold {
displayName = "Player Damage";
description = "What is the damage a player can take before being killed?";
typeName = "NUMBER";
defaultValue = 1;
};
class AIDamageThreshold {
displayName = "AI Damage";
description = "What is the damage an AI can take before being killed?";
typeName = "NUMBER";
defaultValue = 1;
};
class enableUnsconsiousnessAI {
displayName = "AI Unconsciousness";
description = "Allow AI to go unconscious";
2015-03-06 21:54:44 +00:00
typeName = "NUMBER";
class values {
class disable {
2015-03-08 11:05:52 +00:00
name = "Disabled";
2015-03-07 12:06:33 +00:00
value = 0;
2015-03-06 21:54:44 +00:00
};
class normal {
2015-03-08 11:05:52 +00:00
name = "Enabled";
2015-03-07 12:06:33 +00:00
value = 1;
2015-03-06 21:54:44 +00:00
default = 1;
};
class full {
2015-03-08 11:05:52 +00:00
name = "50/50";
2015-03-07 12:06:33 +00:00
value = 2;
2015-03-06 21:54:44 +00:00
};
};
};
class allowLitterCreation {
displayName = "Enable Litter";
description = "Enable litter being created upon treatment";
typeName = "BOOL";
defaultValue = 1;
};
2015-03-08 11:05:52 +00:00
class preventInstaDeath {
displayName = "Prevent instant death";
description = "Have a unit move to unconscious instead of death";
typeName = "BOOL";
defaultValue = 0;
};
};
class ModuleDescription {
description = "Provides a medical system for both players and AI.";
sync[] = {};
};
};
class ACE_moduleTreatmentConfiguration: ACE_Module {
2015-03-08 11:05:52 +00:00
scope = 2;
displayName = "Treatment Settings [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
2015-03-08 11:05:52 +00:00
category = "ACE_medical";
function = QUOTE(FUNC(moduleTreatmentConfiguration));
functionPriority = 10;
isGlobal = 2;
isTriggerActivated = 0;
isDisposable = 0;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
2015-03-08 11:05:52 +00:00
class Arguments {
class medicSetting {
displayName = "Medics setting";
description = "What is the level of detail prefered for medics?";
2015-03-06 21:54:44 +00:00
typeName = "NUMBER";
class values {
2015-03-08 11:05:52 +00:00
class disable {
name = "Disable medics";
2015-03-06 21:54:44 +00:00
value = 0;
};
2015-03-08 11:05:52 +00:00
class normal {
name = "Normal";
2015-03-06 21:54:44 +00:00
value = 1;
2015-03-08 11:05:52 +00:00
default = 1;
};
class full {
name = "Advanced";
value = 2;
2015-03-06 21:54:44 +00:00
};
};
};
class maxReviveTime {
2015-04-03 19:49:46 +00:00
displayName = "Max Revive time";
description = "Max amount of seconds a unit can spend in revive state";
typeName = "NUMBER";
2015-04-03 22:30:59 +00:00
defaultValue = 120;
};
2015-04-03 21:56:32 +00:00
class amountOfReviveLives {
displayName = "Max Revive lives";
description = "Max amount of lives a unit. 0 or -1 is disabled.";
typeName = "NUMBER";
defaultValue = -1;
};
2015-03-08 11:05:52 +00:00
class enableOverdosing {
displayName = "Enable Overdosing";
description = "Enable overdosing of medications";
typeName = "BOOL";
defaultValue = 1;
};
class bleedingCoefficient {
displayName = "Bleeding coefficient";
description = "Coefficient to modify the bleeding speed";
typeName = "NUMBER";
defaultValue = 1;
};
2015-03-06 21:54:44 +00:00
};
class ModuleDescription {
2015-03-08 11:05:52 +00:00
description = "Configure the treatment settings from ACE Medical";
2015-03-06 21:54:44 +00:00
sync[] = {};
};
};
class ACE_moduleAssignMedicRoles: Module_F {
scope = 2;
displayName = "Set Medic Class [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicRoles));
functionPriority = 10;
isGlobal = 2;
isTriggerActivated = 0;
isDisposable = 0;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
2015-03-08 11:05:52 +00:00
class Arguments {
class EnableList {
displayName = "List";
description = "List of unit names that will be classified as medic, separated by commas.";
defaultValue = "";
2015-03-08 11:05:52 +00:00
typeName = "STRING";
};
class role {
displayName = "Is Medic";
description = "Medics allow for more advanced treatment in case of Advanced Medic roles enabled";
typeName = "NUMBER";
class values {
class none {
name = "None";
value = 0;
};
class medic {
name = "Regular medic";
value = 1;
default = 1;
};
class doctor {
name = "Doctor (Only Advanced Medics)";
value = 1;
default = 1;
};
};
};
};
class ModuleDescription {
2015-03-07 12:39:09 +00:00
description = "Assigns the ACE medic class to a unit";
sync[] = {};
};
};
2015-03-06 21:54:44 +00:00
2015-03-08 11:05:52 +00:00
class ACE_moduleAssignMedicVehicle: Module_F {
scope = 2;
2015-03-08 11:05:52 +00:00
displayName = "Set Medical Vehicle [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
2015-03-08 11:05:52 +00:00
function = QUOTE(FUNC(moduleAssignMedicalVehicle));
functionPriority = 10;
isGlobal = 2;
isTriggerActivated = 0;
isDisposable = 0;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
2015-03-08 11:05:52 +00:00
class Arguments {
class EnableList {
displayName = "List";
2015-03-08 11:05:52 +00:00
description = "List of vehicles that will be classified as medical vehicle, separated by commas.";
defaultValue = "";
2015-03-08 11:05:52 +00:00
typeName = "STRING";
};
class enabled {
displayName = "Is Medical Vehicle";
description = "Whatever or not the objects in the list will be a medical vehicle.";
typeName = "BOOL";
2015-03-08 11:05:52 +00:00
defaultValue = 1;
};
};
class ModuleDescription {
2015-03-07 12:39:09 +00:00
description = "Assigns the ACE medic class to a unit";
sync[] = {};
};
};
class ACE_moduleAssignMedicalFacility: Module_F {
scope = 2;
displayName = "Set Medical Facility [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
category = "ACE_medical";
function = QUOTE(FUNC(moduleAssignMedicalFacility));
functionPriority = 10;
isGlobal = 2;
isTriggerActivated = 0;
isDisposable = 0;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
class Arguments {
class enabled {
displayName = "Is Medical Facility";
description = "Registers an object as a medical facility for CMS";
typeName = "BOOL";
};
};
class ModuleDescription {
description = "Defines an object as a medical facility for CMS. This allows for more advanced treatments. Can be used on buildings and vehicles. ";
sync[] = {};
};
};
2015-03-06 21:54:44 +00:00
2015-02-28 14:19:49 +00:00
#define ARM_LEG_ARMOR_DEFAULT 2
#define ARM_LEG_ARMOR_BETTER 3
#define ARM_LEG_ARMOR_CSAT 4
class Man;
class CAManBase: Man {
class HitPoints {
class HitHead;
class HitBody;
// "DEACTIVE" DEFAULT HITPOINTS
class HitHands {
armor = 999; //armor = 2;
explosionShielding = 0; //explosionShielding = 1;
material = -1;
minimalHit = 0;
name = "";
passThrough = 1;
radius = 0; //radius = 0.06;
visual = "injury_hands";
};
class HitLegs {
armor = 999; //armor = 2;
explosionShielding = 0; //explosionShielding = 1;
material = -1;
minimalHit = 0;
name = "";
passThrough = 1;
radius = 0; //radius = 0.08;
visual = "injury_legs";
};
class HitLeftArm {
armor = ARM_LEG_ARMOR_DEFAULT; //2;
explosionShielding = 1;
material = -1;
minimalHit = 0;
name = "hand_l";
passThrough = 1;
radius = 0.06;
visual = "injury_hands";
};
class HitRightArm: HitLeftArm {
name = "hand_r";
};
class HitLeftLeg {
armor = ARM_LEG_ARMOR_DEFAULT; //2;
explosionShielding = 1;
material = -1;
minimalHit = 0;
name = "leg_l";
passThrough = 1;
radius = 0.08;
visual = "injury_legs";
};
class HitRightLeg: HitLeftLeg {
name = "leg_r";
};
};
2015-03-22 16:28:48 +00:00
class ACE_SelfActions {
class Medical {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Medical";
2015-03-22 16:28:48 +00:00
runOnHover = 1;
hotkey = "M";
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
class ACE_Head {
displayName = "$STR_ACE_Interaction_Head";
icon = PATHTOF(UI\icons\medical_cross.paa);
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
runOnHover = 1;
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitHead";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
};
};
class ACE_Torso {
displayName = "$STR_ACE_Interaction_Torso";
distance = 5.0;
condition = "true";
runOnHover = 1;
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
showDisabled = 1;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitBody";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
class TriageCard {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_TriageCard";
2015-03-22 16:28:48 +00:00
distance = 2.0;
condition = "true";
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
showDisabled = 1;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\triageCard.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'body', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
};
class ACE_ArmLeft {
displayName = "$STR_ACE_Interaction_ArmLeft";
runOnHover = 1;
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitLeftArm";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Epinephrine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'CheckBloodPressure')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_ArmRight {
displayName = "$STR_ACE_Interaction_ArmRight";
runOnHover = 1;
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitRightArm";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Atropine')] call DFUNC(treatment));
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Epinephrine')] call DFUNC(treatment));
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckPulse')] call DFUNC(treatment));
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'CheckBloodPressure')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_LegLeft {
displayName = "$STR_ACE_Interaction_LegLeft";
runOnHover = 1;
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitLeftLeg";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Morphine')] call DFUNC(treatment));
2015-03-26 20:16:28 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
2015-03-22 16:28:48 +00:00
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Atropine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Epinephrine')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
class ACE_LegRight {
displayName = "$STR_ACE_Interaction_LegRight";
runOnHover = 1;
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitRightLeg";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
2015-03-22 16:28:48 +00:00
distance = 5.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Tourniquet')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Morphine')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Atropine')] call DFUNC(treatment));
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Epinephrine')] call DFUNC(treatment));
};
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-22 16:28:48 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(canTreatCached));
exceptions[] = {"isNotInside"};
2015-03-22 16:28:48 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'RemoveTourniquet')] call DFUNC(treatment));
};
};
};
};
2015-02-28 19:46:36 +00:00
class ACE_Actions {
class ACE_Head {
runOnHover = 1;
2015-03-10 18:51:51 +00:00
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitHead";
distance = 2.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
distance = 5.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'PackingBandage')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'ElasticBandage')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'head', 'QuikClot')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckPulse')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckBloodPressure')] call DFUNC(treatment));
};
class CheckResponse: CheckPulse {
displayName = "Check Response";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'head', 'CheckResponse')] call DFUNC(treatment));
};
2015-02-28 19:46:36 +00:00
};
class ACE_Torso {
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 1)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitBody";
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));
showDisabled = 1;
priority = 2;
hotkey = "B";
enableInside = 1;
icon = PATHTOF(UI\icons\bandage.paa);
};
class PlaceInBodyBag {
displayName = "$STR_ACE_MEDICAL_PlaceInBodyBag";
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));
showDisabled = 1;
priority = 2;
hotkey = "";
enableInside = 1;
};
class TriageCard {
displayName = "Triage Card";
distance = 2.0;
condition = "true";
statement = QUOTE([ARR_2(_target, true)] call DFUNC(displayTriageCard));
showDisabled = 1;
priority = 2;
hotkey = "";
enableInside = 1;
icon = PATHTOF(UI\icons\triageCard.paa);
};
// Advanced medical
class FieldDressing {
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
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));
showDisabled = 0;
priority = 2;
hotkey = "";
enableInside = 1;
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
condition = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PackingBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
condition = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'ElasticBandage')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
condition = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'QuikClot')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\bandage.paa);
};
class SurgicalKit: fieldDressing {
displayName = "Use Surgical Kit";
condition = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'SurgicalKit')] call DFUNC(treatment));
icon = PATHTOF(UI\icons\surgicalKit.paa);
};
class PersonalAidKit: fieldDressing {
displayName = "Use Personal Aid Kit";
condition = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'PersonalAidKit')] call DFUNC(treatment));
icon = "";
};
class CPR: fieldDressing {
displayName = "CPR";
condition = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'body', 'CPR')] call DFUNC(treatment));
icon = "";
};
2015-02-28 19:46:36 +00:00
};
class ACE_ArmLeft {
runOnHover = 1;
2015-03-10 18:51:51 +00:00
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitLeftArm";
distance = 2.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
distance = 5.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'ElasticBandage')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'QuikClot')] call DFUNC(treatment));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class BloodIV: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_1000";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
2015-03-24 20:08:13 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_500";
2015-03-21 15:47:51 +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));
};
class BloodIV_250: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_250";
2015-03-21 15:47:51 +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));
};
class PlasmaIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_1000";
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'PlasmaIV')] call DFUNC(treatment));
};
class PlasmaIV_500: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_500";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_250: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_250";
2015-03-21 15:47:51 +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));
};
class SalineIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_1000";
2015-03-21 15:47:51 +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));
};
class SalineIV_500: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_500";
2015-03-21 15:47:51 +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));
};
class SalineIV_250: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_250";
2015-03-21 15:47:51 +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));
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-21 15:47:51 +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));
};
2015-03-09 20:14:39 +00:00
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-21 15:47:51 +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));
};
2015-02-28 19:46:36 +00:00
};
class ACE_ArmRight {
runOnHover = 1;
2015-03-10 18:51:51 +00:00
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
2015-03-21 16:05:32 +00:00
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitRightArm";
distance = 2.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
distance = 5.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-21 15:47:51 +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));
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
2015-03-21 15:47:51 +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));
};
class BloodIV: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_1000";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
2015-03-24 20:08:13 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_500";
2015-03-21 15:47:51 +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));
};
class BloodIV_250: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_250";
2015-03-21 15:47:51 +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));
};
class PlasmaIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_1000";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_500: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_500";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_250: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_250";
2015-03-21 15:47:51 +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));
};
class SalineIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_1000";
2015-03-21 15:47:51 +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));
};
class SalineIV_500: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_500";
2015-03-21 15:47:51 +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));
};
class SalineIV_250: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_250";
2015-03-21 15:47:51 +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));
};
class CheckPulse: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckPulse";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = "";
};
class CheckBloodPressure: CheckPulse {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_CheckBloodPressure";
2015-03-21 15:47:51 +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));
};
2015-03-09 20:14:39 +00:00
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-21 15:47:51 +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));
};
2015-02-28 19:46:36 +00:00
};
class ACE_LegLeft {
runOnHover = 1;
2015-03-10 18:51:51 +00:00
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
2015-03-21 16:05:32 +00:00
class Bandage {
displayName = "$STR_ACE_Medical_Bandage_HitLeftLeg";
distance = 2.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
distance = 5.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
2015-03-21 15:47:51 +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));
2015-03-26 20:16:28 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
2015-03-21 15:47:51 +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));
};
class BloodIV: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_1000";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
2015-03-24 20:08:13 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_500";
2015-03-21 15:47:51 +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));
};
class BloodIV_250: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_250";
2015-03-21 15:47:51 +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));
};
class PlasmaIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_1000";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_500: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_500";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_250: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_250";
2015-03-21 15:47:51 +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));
};
class SalineIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_1000";
2015-03-21 15:47:51 +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));
};
class SalineIV_500: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_500";
2015-03-21 15:47:51 +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));
};
class SalineIV_250: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_250";
2015-03-21 15:47:51 +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));
};
2015-03-09 20:14:39 +00:00
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-21 15:47:51 +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));
};
2015-02-28 19:46:36 +00:00
};
class ACE_LegRight {
runOnHover = 1;
2015-03-10 18:51:51 +00:00
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\medical_cross.paa);
distance = MEDICAL_ACTION_DISTANCE;
2015-03-21 16:05:32 +00:00
class Bandage {
2015-03-20 22:53:25 +00:00
displayName = "$STR_ACE_Medical_Bandage_HitRightLeg";
distance = 2.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));
showDisabled = 1;
priority = 2;
hotkey = "B";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
// Advanced medical
class FieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_FieldDressing";
distance = 5.0;
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(canTreatCached));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'FieldDressing')] call DFUNC(treatment));
showDisabled = 0;
priority = 2;
hotkey = "";
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\bandage.paa);
};
class PackingBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_PackingBandage";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\packingBandage.paa);
};
class ElasticBandage: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_ElasticBandage";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'ElasticBandage')] call DFUNC(treatment));
};
class QuikClot: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_QuikClot";
2015-03-21 15:47:51 +00:00
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(canTreatCached));
2015-03-09 20:41:43 +00:00
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'QuikClot')] call DFUNC(treatment));
};
class Tourniquet: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Tourniquet";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\tourniquet.paa);
};
class Morphine: fieldDressing {
displayName = "$STR_ACE_Medical_Inject_Morphine";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\autoInjector.paa);
};
class Atropine: Morphine {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_Medical_Inject_Atropine";
2015-03-21 15:47:51 +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));
};
class Epinephrine: Morphine {
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
2015-03-21 15:47:51 +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));
};
class BloodIV: fieldDressing {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_1000";
2015-03-21 15:47:51 +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));
2015-03-21 16:05:32 +00:00
icon = PATHTOF(UI\icons\iv.paa);
};
class BloodIV_500: BloodIV {
2015-03-24 20:08:13 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_500";
2015-03-21 15:47:51 +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));
};
class BloodIV_250: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Blood4_250";
2015-03-21 15:47:51 +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));
};
class PlasmaIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_1000";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_500: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_500";
2015-03-21 15:47:51 +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));
};
class PlasmaIV_250: PlasmaIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Plasma4_250";
2015-03-21 15:47:51 +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));
};
class SalineIV: BloodIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_1000";
2015-03-21 15:47:51 +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));
};
class SalineIV_500: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_500";
2015-03-21 15:47:51 +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));
};
class SalineIV_250: SalineIV {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_Saline4_250";
2015-03-21 15:47:51 +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));
};
2015-03-09 20:14:39 +00:00
class RemoveTourniquet: Tourniquet {
2015-03-23 18:52:26 +00:00
displayName = "$STR_ACE_MEDICAL_ACTIONS_RemoveTourniquet";
2015-03-21 15:47:51 +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));
};
2015-02-28 19:46:36 +00:00
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class SoldierWB: CAManBase {};
class SoldierEB: CAManBase {};
class SoldierGB: CAManBase {};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class B_Soldier_base_F: SoldierWB {};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class B_Soldier_04_f: B_Soldier_base_F {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class B_Soldier_05_f: B_Soldier_base_F {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class I_Soldier_base_F: SoldierGB {};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class I_Soldier_03_F: I_Soldier_base_F {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
2015-02-06 12:47:17 +00:00
2015-02-28 14:19:49 +00:00
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class I_Soldier_04_F: I_Soldier_base_F {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_BETTER;
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class O_Soldier_base_F: SoldierEB {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
};
2015-02-06 12:47:17 +00:00
};
2015-02-28 14:19:49 +00:00
class O_Soldier_02_F: O_Soldier_base_F {
class HitPoints: HitPoints {
class HitHead: HitHead {};
class HitBody: HitBody {};
class HitHands: HitHands {};
class HitLegs: HitLegs {};
class HitLeftArm: HitLeftArm {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitRightArm: HitRightArm {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitLeftLeg: HitLeftLeg {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
class HitRightLeg: HitRightLeg {
armor = ARM_LEG_ARMOR_CSAT;
passThrough = 0.85;
};
};
2015-02-06 12:47:17 +00:00
};
class MapBoard_altis_F;
class ACE_bodyBag: MapBoard_altis_F {
scope = 1;
side = -1;
model = QUOTE(PATHTOF(data\bodybag.p3d));
icon = "";
displayName = $STR_ACE_MEDICAL_BODYBAG_DISPLAY;
};
2015-04-03 23:42:13 +00:00
// Medical litter classes
class Thing;
class ACE_MedicalLitterBase: Thing {
scope = 1;
displayName = " ";
destrType = "DestructNo";
model = QUOTE(PATHTOF(data\littergeneric.p3d));
};
class ACE_MedicalLitter_bandage1: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages1.p3d));
};
class ACE_MedicalLitter_bandage2: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages2.p3d));
};
class ACE_MedicalLitter_bandage3: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_bandages3.p3d));
};
2015-04-04 10:13:42 +00:00
class ACE_MedicalLitter_packingBandage: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\litter_packingBandage.p3d));
};
2015-04-03 23:42:13 +00:00
class ACE_MedicalLitter_gloves: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\littergeneric_gloves.p3d));
};
2015-04-04 10:13:42 +00:00
class ACE_MedicalLitter_atropine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\litter_atropine.p3d));
};
class ACE_MedicalLitter_epinephrine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\litter_epinephrine.p3d));
};
class ACE_MedicalLitter_morphine: ACE_MedicalLitterBase {
model = QUOTE(PATHTOF(data\litter_morphine.p3d));
};
2015-04-03 23:42:13 +00:00
class Item_Base_F;
2015-03-21 21:22:28 +00:00
class ACE_fieldDressingItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_BANDAGE_BASIC_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_fieldDressing
{
2015-03-21 21:22:28 +00:00
name = "ACE_fieldDressing";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_packingBandageItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_PACKING_BANDAGE_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_packingBandage
{
2015-03-21 21:22:28 +00:00
name = "ACE_packingBandage";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_elasticBandageItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_BANDAGE_ELASTIC_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_elasticBandage
{
2015-03-21 21:22:28 +00:00
name = "ACE_elasticBandage";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_tourniquetItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_TOURNIQUET_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_tourniquet
{
2015-03-21 21:22:28 +00:00
name = "ACE_tourniquet";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_morphineItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_MORPHINE_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_morphine
{
2015-03-21 21:22:28 +00:00
name = "ACE_morphine";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_atropineItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_ATROPINE_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_atropine
{
2015-03-21 21:22:28 +00:00
name = "ACE_atropine";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_epinephrineItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_EPINEPHRINE_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_epinephrine
{
2015-03-21 21:22:28 +00:00
name = "ACE_epinephrine";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_plasmaIVItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_PLASMA_IV;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_plasmaIV
{
2015-03-21 21:22:28 +00:00
name = "ACE_plasmaIV";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_bloodIVItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_BLOOD_IV;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_bloodIV
{
2015-03-21 21:22:28 +00:00
name = "ACE_bloodIV";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_salineIVItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_SALINE_IV;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_salineIV
{
2015-03-21 21:22:28 +00:00
name = "ACE_salineIV";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_quikClotItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_QUIKCLOT_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_quikClot
{
2015-03-21 21:22:28 +00:00
name = "ACE_quikclot";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_personalAidKitItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_AID_KIT_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_personalAidKit
{
2015-03-21 21:22:28 +00:00
name = "ACE_personalAidKit";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_surgicalKitItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_SURGICALKIT_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_surgicalKit
{
2015-03-21 21:22:28 +00:00
name = "ACE_surgicalKit";
count = 1;
};
};
};
2015-03-21 21:22:28 +00:00
class ACE_bodyBagItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = $STR_ACE_MEDICAL_BODYBAG_DISPLAY;
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
2015-03-21 21:22:28 +00:00
class ACE_bodyBag
{
2015-03-21 21:22:28 +00:00
name = "ACE_bodyBag";
count = 1;
};
};
};
class NATO_Box_Base;
2015-03-21 21:22:28 +00:00
class ACE_medicalSupplyCrate: NATO_Box_Base {
scope = 2;
accuracy = 1000;
2015-03-21 21:22:28 +00:00
displayName = "[ACE] Medical Supply Crate";
model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F";
2015-03-24 18:40:48 +00:00
author = "$STR_ACE_Common_ACETeam";
class TransportItems {
2015-03-21 21:22:28 +00:00
class ACE_fieldDressing {
name = "ACE_fieldDressing";
count = 25;
};
2015-03-21 21:22:28 +00:00
class ACE_packingBandage {
name = "ACE_packingBandage";
count = 25;
};
2015-03-21 21:22:28 +00:00
class ACE_elasticBandage {
name = "ACE_elasticBandage";
count = 25;
};
2015-03-21 21:22:28 +00:00
class ACE_tourniquet {
name = "ACE_tourniquet";
count = 15;
};
2015-03-21 21:22:28 +00:00
class ACE_morphine {
name = "ACE_morphine";
count = 15;
};
2015-03-21 21:22:28 +00:00
class ACE_atropine {
name = "ACE_atropine";
count = 15;
};
2015-03-21 21:22:28 +00:00
class ACE_epinephrine {
name = "ACE_epinephrine";
count = 15;
};
2015-03-21 21:22:28 +00:00
class ACE_plasmaIV {
name = "ACE_plasmaIV";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_plasmaIV_500 {
name = "ACE_plasmaIV_500";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_plasmaIV_250 {
name = "ACE_plasmaIV_250";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_salineIV {
name = "ACE_salineIV";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_salineIV_500 {
name = "ACE_salineIV_500";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_salineIV_250 {
name = "ACE_salineIV_250";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_bloodIV {
name = "ACE_bloodIV";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_bloodIV_500 {
name = "ACE_bloodIV_500";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_bloodIV_250 {
name = "ACE_bloodIV_250";
count = 7;
};
2015-03-21 21:22:28 +00:00
class ACE_quikClot {
name = "ACE_quikclot";
count = 20;
};
2015-03-21 21:22:28 +00:00
class ACE_personalAidKit {
name = "ACE_personalAidKit";
count = 3;
};
2015-03-21 21:22:28 +00:00
class ACE_surgicalKit {
name = "ACE_surgicalKit";
count = 2;
};
2015-03-21 21:22:28 +00:00
class ACE_bodyBag {
name = "ACE_bodyBag";
count = 5;
};
};
};
// Patient unload from vehicle actions
class LandVehicle;
class Car: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class Tank: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class Air;
class Helicopter: Air {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class Plane: Air {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class Ship;
class Ship_F: Ship {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class StaticWeapon: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
class StaticMortar;
class Mortar_01_base_F: StaticMortar {
class ACE_Actions {
class ACE_MainActions {
class ACE_UnloadPatients {
displayName = "$STR_ACE_Medical_UnloadPatient";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call FUNC(addUnloadPatientActions));
};
};
};
};
2015-02-06 12:47:17 +00:00
};