Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharma - Change KAM Painkillers to CWMP #548

2 changes: 1 addition & 1 deletion addons/pharma/ACE_Medical_Treatment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ACE_ADDON(Medical_Treatment) {
onOverDose = "";
opioidRelief = 1.2;
};
class Painkillers {
class KAT_Painkillers {
painReduce = 0.2;
hrIncreaseLow[] = {0, 5};
hrIncreaseNormal[] = {5, 10};
Expand Down
4 changes: 2 additions & 2 deletions addons/pharma/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class ACE_Medical_Treatment_Actions {
class Epinephrine: Morphine {
callbackSuccess = QFUNC(medication);
};
class Painkillers: Morphine {
class KAT_Painkillers: Morphine {
displayName = CSTRING(Inject_Box_Painkillers);
displayNameProgress = CSTRING(Using);
allowedSelections[] = {"Head"};
items[] = {"kat_Painkiller"};
condition = QUOTE(!(_patient getVariable [ARR_2(QQEGVAR(airway,recovery),false)]));
callbackSuccess = QFUNC(treatmentAdvanced_Painkillers);
callbackSuccess = QFUNC(treatmentAdvanced_KAT_Painkillers);
icon = QPATHTOF(ui\icon_painkillers_action.paa);
animationPatient = "";
animationPatientUnconscious = "AinjPpneMstpSnonWrflDnon_rolltoback";
Expand Down
2 changes: 1 addition & 1 deletion addons/pharma/XEH_PREP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PREP(treatmentAdvanced_MorphineLocal);
PREP(treatmentAdvanced_NalbuphineLocal);
PREP(treatmentAdvanced_Naloxone);
PREP(treatmentAdvanced_NaloxoneLocal);
PREP(treatmentAdvanced_Painkillers);
PREP(treatmentAdvanced_KAT_Painkillers);
Apricot-ale marked this conversation as resolved.
Show resolved Hide resolved
PREP(treatmentAdvanced_Penthrox);
PREP(treatmentAdvanced_Pervitin);
PREP(treatmentAdvanced_PervitinLocal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* None
*
* Example:
* [player, cursorObject, "RightArm", "Painkillers", objNull, "kat_Carbonate"] call kat_pharma_fnc_treatmentAdvanced_Carbonate;
* [player, cursorObject, "RightArm", "Carbonate", objNull, "kat_Carbonate"] call kat_pharma_fnc_treatmentAdvanced_Carbonate;
*
* Public: No
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* None
*
* Example:
* [player, cursorObject, "RightArm", classname, objNull, "kat_Painkiller"] call kat_pharma_fnc_treatmentAdvanced_Painkillers;
* [player, cursorObject, "RightArm", "KAT_Painkillers", objNull, "kat_Painkiller"] call kat_pharma_fnc_treatmentAdvanced_KAT_Painkillers;
*
* Public: No
*/
Expand Down
Loading