ACE3/addons/medical/XEH_preInit.sqf

124 lines
3.3 KiB
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-02-03 19:09:25 +00:00
ADDON = false;
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);
PREP(addUnloadPatientActions);
PREP(adjustPainLevel);
2015-02-28 19:46:36 +00:00
PREP(canAccessMedicalEquipment);
PREP(canTreat);
2015-03-21 15:33:14 +00:00
PREP(canTreatCached);
PREP(determineIfFatal);
2015-02-28 19:46:36 +00:00
PREP(getBloodLoss);
PREP(getBloodPressure);
PREP(getBloodVolumeChange);
PREP(getCardiacOutput);
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);
PREP(handleDamage);
2015-02-03 19:09:25 +00:00
PREP(handleDamage_advanced);
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);
PREP(handleDamage_woundsOld);
2015-02-07 23:08:36 +00:00
PREP(handleUnitVitals);
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-03-21 20:59:08 +00:00
PREP(itemCheck);
PREP(modifyMedicalAction);
2015-02-28 19:46:36 +00:00
PREP(onMedicationUsage);
PREP(onWoundUpdateRequest);
PREP(onPropagateWound);
2015-02-21 20:26:39 +00:00
PREP(parseConfigForInjuries);
PREP(playInjuredSound);
2015-02-28 19:46:36 +00:00
PREP(selectionNameToNumber);
PREP(setCardiacArrest);
PREP(setDead);
PREP(setHitPointDamage);
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);
PREP(treatmentAdvanced_bandage);
PREP(treatmentAdvanced_bandageLocal);
PREP(treatmentAdvanced_CPR);
PREP(treatmentAdvanced_CPRLocal);
PREP(treatmentAdvanced_fullHeal);
PREP(treatmentAdvanced_fullHealLocal);
PREP(treatmentAdvanced_fullHealTreatmentTime);
2015-02-28 19:46:36 +00:00
PREP(treatmentAdvanced_medication);
PREP(treatmentAdvanced_medicationLocal);
PREP(treatmentAdvanced_surgicalKit_onProgress);
2015-02-24 21:09:31 +00:00
PREP(treatmentBasic_bandage);
PREP(treatmentBasic_bloodbag);
PREP(treatmentBasic_bloodbagLocal);
2015-02-28 19:46:36 +00:00
PREP(treatmentBasic_epipen);
PREP(treatmentBasic_morphine);
PREP(treatmentBasic_morphineLocal);
2015-02-28 17:59:37 +00:00
PREP(treatmentIV);
PREP(treatmentIVLocal);
2015-02-21 20:26:39 +00:00
PREP(treatmentTourniquet);
PREP(treatmentTourniquetLocal);
PREP(useItem);
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);
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);
// 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) = [];
DFUNC(handleDamage_assignWounds) = if ("ace_medical" callExtension "version" == "") then { DFUNC(handleDamage_woundsOld) } else { DFUNC(handleDamage_wounds)};
call FUNC(parseConfigForInjuries);
GVAR(HITPOINTS) = ["HitHead", "HitBody", "HitLeftArm", "HitRightArm", "HitLeftLeg", "HitRightLeg"];
GVAR(SELECTIONS) = ["head", "body", "hand_l", "hand_r", "leg_l", "leg_r"];
ADDON = true;