Skip to content

Commit

Permalink
Merge pull request #232 from MissHeda/dev-Tomcat
Browse files Browse the repository at this point in the history
Sound fix
  • Loading branch information
Tomcat-SG authored Jan 8, 2023
2 parents 0cc3bb0 + 3615c18 commit d29ed22
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions addons/pharma/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class ACE_Medical_Treatment_Actions {
items[] = {"kat_naloxone"};
condition = "true";
callbackSuccess = QFUNC(treatmentAdvanced_Naloxone);
sounds[] = {};
};
class EACA: Carbonate {
displayName = CSTRING(Take_EACA);
Expand All @@ -115,6 +116,7 @@ class ACE_Medical_Treatment_Actions {
items[] = {"kat_EACA"};
condition = QUOTE(!(GVAR(MedicationsRequireInsIV)) || FUNC(removeIV));
callbackSuccess = QFUNC(treatmentAdvanced_EACA);
sounds[] = {};
};
class TXA: EACA {
displayName = CSTRING(Take_TXA);
Expand All @@ -124,6 +126,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_TXA);
items[] = {"kat_TXA"};
callbackSuccess = QFUNC(treatmentAdvanced_TXA);
sounds[] = {};
};
class SalineFlush: Carbonate {
displayName = CSTRING(Saline_Flush);
Expand All @@ -134,6 +137,7 @@ class ACE_Medical_Treatment_Actions {
items[] = {};
condition = QUOTE((_patient getVariable [ARR_2(QQGVAR(IVplaced), true)]) && FUNC(salineCheck));
callbackSuccess = QFUNC(treatmentAdvanced_Flush);
sounds[] = {};
};
class Inspect: Carbonate {
displayName = CSTRING(Inspect_Catheter);
Expand All @@ -147,6 +151,7 @@ class ACE_Medical_Treatment_Actions {
callbackSuccess = QFUNC(inspectCatheter);
animationMedic = "";
animationMedicProne = "";
sounds[] = {};
};
class BreathCheck: Carbonate {
displayName = CSTRING(Check_Breath);
Expand All @@ -160,6 +165,7 @@ class ACE_Medical_Treatment_Actions {
callbackSuccess = QFUNC(inspectBreath);
animationMedic = "";
animationMedicProne = "";
sounds[] = {};
};
class Norepinephrine: EACA {
displayName = CSTRING(Take_Norep);
Expand All @@ -169,6 +175,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Norepinephrine);
items[] = {"kat_norepinephrine"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Phenylephrine: EACA {
displayName = CSTRING(Take_Phenyl);
Expand All @@ -178,6 +185,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Phenylephrine);
items[] = {"kat_phenylephrine"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Nitroglycerin: EACA {
displayName = CSTRING(Take_Nitro);
Expand All @@ -187,6 +195,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Nitroglycerin);
items[] = {"kat_nitroglycerin"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Amiodarone: EACA {
displayName = CSTRING(Take_Amiodarone);
Expand All @@ -196,6 +205,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Amiodarone);
items[] = {"kat_amiodarone"};
callbackSuccess = QFUNC(treatmentAdvanced_Amiodarone);
sounds[] = {};
};
class Lidocaine: EACA {
displayName = CSTRING(Take_Lidocaine);
Expand All @@ -205,6 +215,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Lidocaine);
items[] = {"kat_lidocaine"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Atropine: EACA {
displayName = CSTRING(Take_Atropine);
Expand All @@ -214,6 +225,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Atropine);
items[] = {"kat_atropine"};
callbackSuccess = QFUNC(treatmentAdvanced_Atropine);
sounds[] = {};
};
class Ketamine: EACA {
displayName = CSTRING(Take_Ketamine);
Expand All @@ -223,6 +235,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Ketamine);
items[] = {"kat_ketamine"};
callbackSuccess = QFUNC(treatmentAdvanced_Ketamine);
sounds[] = {};
};
class Fentanyl: EACA {
displayName = CSTRING(Take_Fentanyl);
Expand All @@ -232,6 +245,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Fentanyl);
items[] = {"kat_fentanyl"};
callbackSuccess = QFUNC(treatmentAdvanced_Fentanyl);
sounds[] = {};
};
class Nalbuphine: EACA {
displayName = CSTRING(Take_Nalbuphine);
Expand All @@ -241,6 +255,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Nalbuphine);
items[] = {"kat_nalbuphine"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Reorientation: Carbonate {
displayName = CSTRING(Take_Reorient);
Expand All @@ -255,6 +270,7 @@ class ACE_Medical_Treatment_Actions {
callbackSuccess = QFUNC(treatmentAdvanced_Reorientation);
animationMedic = "AinvPknlMstpSnonWnonDnon_medicUp4";
animationMedicProne = "AinvPknlMstpSnonWnonDnon_medicUp4";
sounds[] = {};
};
class ApplyIV: ApplyTourniquet {
displayName = CSTRING(Apply_IV_16);
Expand All @@ -267,6 +283,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_ApplyIV);
callbackSuccess = QUOTE([ARR_4(_player, _patient, _bodyPart, 'kat_IV_16')] call FUNC(applyIV));
litter[] = {};
sounds[] = {};
};
class ApplyIO: ApplyIV {
displayName = CSTRING(Apply_IO_45);
Expand All @@ -279,6 +296,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_ApplyIO);
callbackSuccess = QUOTE([ARR_4(_player, _patient, _bodyPart, 'kat_IO_FAST')] call FUNC(applyIV));
litter[] = {};
sounds[] = {};
};
class RemoveIV: ApplyTourniquet {
displayName = CSTRING(Remove_IV);
Expand All @@ -288,6 +306,7 @@ class ACE_Medical_Treatment_Actions {
items[] = {};
condition = QFUNC(removeIV);
callbackSuccess = QFUNC(retrieveIV);
sounds[] = {};
};
class Etomidate: EACA {
displayName = CSTRING(Etomidate_Use);
Expand All @@ -299,6 +318,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Etomidate);
items[] = {"kat_etomidate"};
callbackSuccess = QFUNC(treatmentAdvanced_medication);
sounds[] = {};
};
class Lorazepam: EACA {
displayName = CSTRING(Lorazepam_Use);
Expand All @@ -310,6 +330,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Lorazepam);
items[] = {"kat_lorazepam"};
callbackSuccess = QFUNC(treatmentAdvanced_Lorazepam);
sounds[] = {};
};
class Flumazenil: EACA {
displayName = CSTRING(Flumazenil_Use);
Expand All @@ -321,6 +342,7 @@ class ACE_Medical_Treatment_Actions {
treatmentTime = QGVAR(treatmentTime_Flumazenil);
items[] = {"kat_flumazenil"};
callbackSuccess = QFUNC(treatmentAdvanced_Flumazenil);
sounds[] = {};
};
class Dialysis: Defibrillator_AED_X_vehicle {
displayName = CSTRING(Dialysis_DisplayName);
Expand All @@ -335,5 +357,6 @@ class ACE_Medical_Treatment_Actions {
callbackFailure = "";
callbackSuccess = QUOTE([ARR_2(_medic, _patient)] call FUNC(treatmentAdvanced_Dialysis));
icon = QPATHTOF(ui\X_Series-Device_W.paa);
sounds[] = {};
};
};

0 comments on commit d29ed22

Please sign in to comment.