mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - Add Painkillers (#9720)
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
This commit is contained in:
parent
b440cf9cb2
commit
4bb9d6c42c
@ -191,3 +191,4 @@ YetheSamartaka
|
||||
xrufix
|
||||
Zakant <Zakant@gmx.de>
|
||||
zGuba
|
||||
Zman6258
|
||||
|
BIN
addons/medical_gui/ui/painkillers.paa
Normal file
BIN
addons/medical_gui/ui/painkillers.paa
Normal file
Binary file not shown.
@ -605,10 +605,13 @@ class ADDON {
|
||||
incompatibleMedication[] = {};
|
||||
};
|
||||
class PainKillers {
|
||||
painReduce = 0.1;
|
||||
timeInSystem = 600;
|
||||
painReduce = 0.35;
|
||||
hrIncreaseLow[] = {-5, -10};
|
||||
hrIncreaseNormal[] = {-5, -15};
|
||||
hrIncreaseHigh[] = {-5, -17};
|
||||
timeInSystem = 420;
|
||||
timeTillMaxEffect = 60;
|
||||
maxDose = 10;
|
||||
maxDose = 6;
|
||||
incompatibleMedication[] = {};
|
||||
viscosityChange = 5;
|
||||
};
|
||||
|
@ -141,6 +141,19 @@ class GVAR(actions) {
|
||||
litter[] = {{"ACE_MedicalLitter_epinephrine"}};
|
||||
};
|
||||
|
||||
// - Generic Medication ---------------------------------------------------
|
||||
class Painkillers: Morphine {
|
||||
displayName = CSTRING(Administer_Painkillers);
|
||||
displayNameProgress = CSTRING(Administering_Painkillers);
|
||||
icon = QPATHTOEF(medical_gui,ui\painkillers.paa);
|
||||
allowedSelections[] = {"Head"};
|
||||
medicRequired = 0;
|
||||
items[] = {"ACE_painkillers"};
|
||||
treatmentTime = 4;
|
||||
sounds[] = {{QPATHTO_R(sounds\Pills.ogg),1,1,50}};
|
||||
litter[] = {{"Land_PainKillers_F"}}; // just use BI's model as litter
|
||||
};
|
||||
|
||||
// - IV Bags --------------------------------------------------------------
|
||||
class BloodIV: BasicBandage {
|
||||
displayName = CSTRING(Actions_Blood4_1000);
|
||||
|
@ -284,6 +284,16 @@ class CfgVehicles {
|
||||
MACRO_ADDITEM(ACE_bodyBag,1);
|
||||
};
|
||||
};
|
||||
class ACE_painkillersItem: Item_Base_F {
|
||||
scope = 2;
|
||||
scopeCurator = 2;
|
||||
displayName = CSTRING(painkillers_Display);
|
||||
author = "Alganthe";
|
||||
vehicleClass = "Items";
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_painkillers,1);
|
||||
};
|
||||
};
|
||||
|
||||
// Medical supply crates
|
||||
class ThingX;
|
||||
@ -305,6 +315,7 @@ class CfgVehicles {
|
||||
author = ECSTRING(common,ACETeam);
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_fieldDressing,50);
|
||||
MACRO_ADDITEM(ACE_painkillers,25);
|
||||
MACRO_ADDITEM(ACE_morphine,25);
|
||||
MACRO_ADDITEM(ACE_epinephrine,25);
|
||||
MACRO_ADDITEM(ACE_bloodIV,15);
|
||||
@ -352,6 +363,7 @@ class CfgVehicles {
|
||||
MACRO_ADDITEM(ACE_elasticBandage,25);
|
||||
MACRO_ADDITEM(ACE_tourniquet,15);
|
||||
MACRO_ADDITEM(ACE_splint,15);
|
||||
MACRO_ADDITEM(ACE_painkillers,15);
|
||||
MACRO_ADDITEM(ACE_morphine,15);
|
||||
MACRO_ADDITEM(ACE_adenosine,15);
|
||||
MACRO_ADDITEM(ACE_epinephrine,15);
|
||||
|
@ -310,4 +310,17 @@ class CfgWeapons {
|
||||
hiddenSelectionsTextures[] = {QPATHTOF(data\bodybagItem_white_co.paa)};
|
||||
GVAR(bodyBagObject) = "ACE_bodyBagObject_white";
|
||||
};
|
||||
class ACE_painkillers: ACE_ItemCore {
|
||||
scope = 2;
|
||||
author = "Alganthe";
|
||||
displayName = CSTRING(painkillers_Display);
|
||||
model = "\A3\Structures_F_EPA\Items\Medical\PainKillers_F.p3d";
|
||||
picture = QPATHTOF(ui\painkillers_ca.paa);
|
||||
descriptionShort = CSTRING(painkillers_Desc_Short);
|
||||
descriptionUse = CSTRING(painkillers_Desc_Use);
|
||||
ACE_isMedicalItem = 1;
|
||||
class ItemInfo: CBA_MiscItem_ItemInfo {
|
||||
mass = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -11,8 +11,8 @@ ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {"ACE_fieldDressingItem","ACE_packingBandageItem","ACE_elasticBandageItem","ACE_tourniquetItem","ACE_splintItem","ACE_morphineItem","ACE_adenosineItem","ACE_epinephrineItem","ACE_plasmaIVItem","ACE_bloodIVItem","ACE_salineIVItem","ACE_quikClotItem","ACE_personalAidKitItem","ACE_surgicalKitItem","ACE_sutureItem","ACE_bodyBagItem","ACE_medicalSupplyCrate","ACE_medicalSupplyCrate_advanced"};
|
||||
weapons[] = {"ACE_fieldDressing","ACE_packingBandage","ACE_elasticBandage","ACE_tourniquet","ACE_splint","ACE_morphine","ACE_adenosine","ACE_epinephrine","ACE_plasmaIV","ACE_plasmaIV_500","ACE_plasmaIV_250","ACE_bloodIV","ACE_bloodIV_500","ACE_bloodIV_250","ACE_salineIV","ACE_salineIV_500","ACE_salineIV_250","ACE_quikclot","ACE_personalAidKit","ACE_surgicalKit","ACE_suture","ACE_bodyBag","ACE_bodyBag_blue","ACE_bodyBag_white"};
|
||||
units[] = {"ACE_fieldDressingItem","ACE_packingBandageItem","ACE_elasticBandageItem","ACE_tourniquetItem","ACE_splintItem","ACE_painkillersItem","ACE_morphineItem","ACE_adenosineItem","ACE_epinephrineItem","ACE_plasmaIVItem","ACE_bloodIVItem","ACE_salineIVItem","ACE_quikClotItem","ACE_personalAidKitItem","ACE_surgicalKitItem","ACE_sutureItem","ACE_bodyBagItem","ACE_medicalSupplyCrate","ACE_medicalSupplyCrate_advanced"};
|
||||
weapons[] = {"ACE_fieldDressing","ACE_packingBandage","ACE_elasticBandage","ACE_tourniquet","ACE_splint","ACE_painkillers","ACE_morphine","ACE_adenosine","ACE_epinephrine","ACE_plasmaIV","ACE_plasmaIV_500","ACE_plasmaIV_250","ACE_bloodIV","ACE_bloodIV_500","ACE_bloodIV_250","ACE_salineIV","ACE_salineIV_500","ACE_salineIV_250","ACE_quikclot","ACE_personalAidKit","ACE_surgicalKit","ACE_suture","ACE_bodyBag","ACE_bodyBag_blue","ACE_bodyBag_white"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_medical_status", "ace_medical_damage", "ace_apl"};
|
||||
author = ECSTRING(common,ACETeam);
|
||||
|
BIN
addons/medical_treatment/sounds/Pills.ogg
Normal file
BIN
addons/medical_treatment/sounds/Pills.ogg
Normal file
Binary file not shown.
@ -4933,5 +4933,33 @@
|
||||
<Japanese>Zeus操作中は、すべての治療時間にこの係数を掛けます。</Japanese>
|
||||
<Korean>제우스일 때 모든 치료 시간에 이 계수를 곱합니다.</Korean>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_painkillers_Display">
|
||||
<English>Painkillers</English>
|
||||
<Czech>Léky proti bolesti</Czech>
|
||||
<German>Schmerztabellen</German>
|
||||
<Russian>Болеутоляющее</Russian>
|
||||
<Polish>Środki przeciwbólowe</Polish>
|
||||
<Italian>Antidolorifici</Italian>
|
||||
<Spanish>Analgésicos</Spanish>
|
||||
<French>Analgésiques</French>
|
||||
<Chinese>止痛藥</Chinese>
|
||||
<Japanese>鎮痛剤</Japanese>
|
||||
<Korean>진통제</Korean>
|
||||
<Portuguese>Analgésicos</Portuguese>
|
||||
<Chinesesimp>止痛药</Chinesesimp>
|
||||
<Turkish>Ağrı kesici</Turkish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_Administer_Painkillers">
|
||||
<English>Administer Painkillers</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_Administering_Painkillers">
|
||||
<English>Administering Painkillers...</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_painkillers_Desc_Short">
|
||||
<English>Over-the-counter analgesic used to combat light to moderate pain experiences.</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_painkillers_Desc_Use">
|
||||
<English>Over-the-counter analgesic used to combat light to moderate pain experiences.</English>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
|
BIN
addons/medical_treatment/ui/painkillers_ca.paa
Normal file
BIN
addons/medical_treatment/ui/painkillers_ca.paa
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user