2015-01-18 21:16:35 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-02-03 19:09:25 +00:00
|
|
|
ADDON = false;
|
2015-01-18 21:16:35 +00:00
|
|
|
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(actionCheckBloodPressure);
|
|
|
|
PREP(actionCheckBloodPressureLocal);
|
|
|
|
PREP(actionCheckPulse);
|
|
|
|
PREP(actionCheckPulseLocal);
|
|
|
|
PREP(actionCheckResponse);
|
2015-04-17 22:38:03 +00:00
|
|
|
PREP(actionDiagnose);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(actionPlaceInBodyBag);
|
|
|
|
PREP(actionRemoveTourniquet);
|
2015-03-01 09:44:08 +00:00
|
|
|
PREP(actionLoadUnit);
|
|
|
|
PREP(actionUnloadUnit);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(addHeartRateAdjustment);
|
|
|
|
PREP(addToInjuredCollection);
|
|
|
|
PREP(addToLog);
|
|
|
|
PREP(addToTriageCard);
|
|
|
|
PREP(addUnconsciousCondition);
|
2015-03-21 18:32:32 +00:00
|
|
|
PREP(addUnloadPatientActions);
|
2015-04-12 02:21:33 +00:00
|
|
|
PREP(adjustPainLevel);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(canAccessMedicalEquipment);
|
|
|
|
PREP(canTreat);
|
2015-03-21 15:33:14 +00:00
|
|
|
PREP(canTreatCached);
|
2015-02-28 19:50:59 +00:00
|
|
|
PREP(determineIfFatal);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(getBloodLoss);
|
|
|
|
PREP(getBloodPressure);
|
|
|
|
PREP(getBloodVolumeChange);
|
|
|
|
PREP(getCardiacOutput);
|
2015-02-06 12:48:28 +00:00
|
|
|
PREP(getTypeOfDamage);
|
2015-03-22 22:24:24 +00:00
|
|
|
PREP(getHeartRateChange);
|
2015-03-05 19:55:38 +00:00
|
|
|
PREP(getTriageStatus);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(getUnconsciousCondition);
|
2015-01-18 21:16:35 +00:00
|
|
|
PREP(handleDamage);
|
2015-02-03 19:09:25 +00:00
|
|
|
PREP(handleDamage_advanced);
|
2015-02-28 19:50:59 +00:00
|
|
|
PREP(handleDamage_advancedSetDamage);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(handleDamage_airway);
|
2015-02-03 19:09:25 +00:00
|
|
|
PREP(handleDamage_basic);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(handleDamage_caching);
|
2015-02-08 09:25:03 +00:00
|
|
|
PREP(handleDamage_fractures);
|
|
|
|
PREP(handleDamage_internalInjuries);
|
2015-02-07 23:08:36 +00:00
|
|
|
PREP(handleDamage_wounds);
|
2015-06-13 21:20:01 +00:00
|
|
|
PREP(handleDamage_woundsOld);
|
2015-10-02 21:19:14 +00:00
|
|
|
PREP(handleDamageNew);
|
|
|
|
PREP(handleSelectionDamage);
|
|
|
|
PREP(handleFallDamage);
|
|
|
|
PREP(handleCollisionDamage);
|
|
|
|
PREP(handleDrowningDamage);
|
2015-02-07 23:08:36 +00:00
|
|
|
PREP(handleUnitVitals);
|
2015-03-08 16:50:06 +00:00
|
|
|
PREP(handleKilled);
|
|
|
|
PREP(handleLocal);
|
2015-04-05 17:27:40 +00:00
|
|
|
PREP(handleBandageOpening);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(hasItem);
|
|
|
|
PREP(hasItems);
|
|
|
|
PREP(hasMedicalEnabled);
|
|
|
|
PREP(hasTourniquetAppliedTo);
|
|
|
|
PREP(init);
|
2015-04-03 19:37:04 +00:00
|
|
|
PREP(isBeingCarried);
|
2015-04-03 18:16:48 +00:00
|
|
|
PREP(isBeingDragged);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(isInMedicalFacility);
|
2015-04-06 12:32:37 +00:00
|
|
|
PREP(isInMedicalVehicle);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(isMedic);
|
|
|
|
PREP(isMedicalVehicle);
|
2015-07-03 20:16:18 +00:00
|
|
|
PREP(isInStableCondition);
|
2015-03-21 20:59:08 +00:00
|
|
|
PREP(itemCheck);
|
2015-04-17 03:04:27 +00:00
|
|
|
PREP(modifyMedicalAction);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(onMedicationUsage);
|
2015-03-01 11:33:05 +00:00
|
|
|
PREP(onWoundUpdateRequest);
|
2015-02-28 19:58:19 +00:00
|
|
|
PREP(onPropagateWound);
|
2015-02-21 20:26:39 +00:00
|
|
|
PREP(parseConfigForInjuries);
|
2015-02-08 12:18:08 +00:00
|
|
|
PREP(playInjuredSound);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(selectionNameToNumber);
|
|
|
|
PREP(setCardiacArrest);
|
|
|
|
PREP(setDead);
|
|
|
|
PREP(setHitPointDamage);
|
2015-08-31 18:05:38 +00:00
|
|
|
PREP(setStructuralDamage);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(setUnconscious);
|
2015-02-20 21:04:01 +00:00
|
|
|
PREP(treatment);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(treatment_failure);
|
|
|
|
PREP(treatment_success);
|
2015-02-21 20:10:57 +00:00
|
|
|
PREP(treatmentAdvanced_bandage);
|
|
|
|
PREP(treatmentAdvanced_bandageLocal);
|
2015-02-28 10:41:27 +00:00
|
|
|
PREP(treatmentAdvanced_CPR);
|
|
|
|
PREP(treatmentAdvanced_CPRLocal);
|
|
|
|
PREP(treatmentAdvanced_fullHeal);
|
|
|
|
PREP(treatmentAdvanced_fullHealLocal);
|
2015-06-12 09:42:49 +00:00
|
|
|
PREP(treatmentAdvanced_fullHealTreatmentTime);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(treatmentAdvanced_medication);
|
|
|
|
PREP(treatmentAdvanced_medicationLocal);
|
2015-05-26 22:45:50 +00:00
|
|
|
PREP(treatmentAdvanced_surgicalKit_onProgress);
|
2015-02-24 21:09:31 +00:00
|
|
|
PREP(treatmentBasic_bandage);
|
2015-09-05 09:51:46 +00:00
|
|
|
PREP(treatmentBasic_bandageLocal);
|
2015-02-24 21:09:31 +00:00
|
|
|
PREP(treatmentBasic_bloodbag);
|
2015-04-28 18:32:02 +00:00
|
|
|
PREP(treatmentBasic_bloodbagLocal);
|
2015-02-28 19:46:36 +00:00
|
|
|
PREP(treatmentBasic_epipen);
|
|
|
|
PREP(treatmentBasic_morphine);
|
2015-04-28 18:32:02 +00:00
|
|
|
PREP(treatmentBasic_morphineLocal);
|
2015-02-28 17:59:37 +00:00
|
|
|
PREP(treatmentIV);
|
2015-02-21 20:10:57 +00:00
|
|
|
PREP(treatmentIVLocal);
|
2015-02-21 20:26:39 +00:00
|
|
|
PREP(treatmentTourniquet);
|
|
|
|
PREP(treatmentTourniquetLocal);
|
2015-02-21 23:34:16 +00:00
|
|
|
PREP(useItem);
|
2015-02-22 18:50:14 +00:00
|
|
|
PREP(useItems);
|
2015-03-01 15:04:53 +00:00
|
|
|
PREP(displayPatientInformation);
|
2015-03-10 20:12:35 +00:00
|
|
|
PREP(displayTriageCard);
|
|
|
|
PREP(dropDownTriageCard);
|
2015-03-07 12:06:33 +00:00
|
|
|
PREP(moduleMedicalSettings);
|
2015-04-25 20:20:28 +00:00
|
|
|
PREP(moduleAdvancedMedicalSettings);
|
|
|
|
PREP(moduleReviveSettings);
|
2015-03-07 12:25:28 +00:00
|
|
|
PREP(moduleAssignMedicRoles);
|
|
|
|
PREP(moduleAssignMedicalVehicle);
|
|
|
|
PREP(moduleAssignMedicalFacility);
|
2015-03-14 08:48:16 +00:00
|
|
|
PREP(copyDeadBody);
|
2015-03-22 16:04:42 +00:00
|
|
|
PREP(requestWoundSync);
|
2015-04-17 19:27:57 +00:00
|
|
|
PREP(unconsciousPFH);
|
2015-02-08 12:06:44 +00:00
|
|
|
|
2015-04-18 15:31:03 +00:00
|
|
|
// Networked litter
|
|
|
|
PREP(createLitter);
|
|
|
|
PREP(handleCreateLitter);
|
|
|
|
|
2015-02-08 09:25:03 +00:00
|
|
|
GVAR(injuredUnitCollection) = [];
|
2015-03-22 22:24:24 +00:00
|
|
|
GVAR(IVBags) = [];
|
|
|
|
|
2015-06-13 21:20:01 +00:00
|
|
|
DFUNC(handleDamage_assignWounds) = if ("ace_medical" callExtension "version" == "") then { DFUNC(handleDamage_woundsOld) } else { DFUNC(handleDamage_wounds)};
|
|
|
|
|
2015-02-21 20:10:57 +00:00
|
|
|
call FUNC(parseConfigForInjuries);
|
2015-01-18 21:16:35 +00:00
|
|
|
|
2015-04-11 20:30:52 +00:00
|
|
|
GVAR(HITPOINTS) = ["HitHead", "HitBody", "HitLeftArm", "HitRightArm", "HitLeftLeg", "HitRightLeg"];
|
|
|
|
GVAR(SELECTIONS) = ["head", "body", "hand_l", "hand_r", "leg_l", "leg_r"];
|
|
|
|
|
2015-01-18 21:16:35 +00:00
|
|
|
ADDON = true;
|