1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #include "../../RD501_main/config_macros.hpp"
- class cfgPatches
- {
- class RD501_ACE_Medical
- {
- requiredAddons[] = {};
- units[]={};
- weapons[]={"RD501_Painkiller"};
- };
- };
- class CfgWeapons
- {
- class ACE_ItemCore;
- class CBA_MiscItem_ItemInfo;
- class RD501_Painkiller: ACE_ItemCore
- {
- scope = 2;
- displayName = "Painkiller Autoinjector";
- picture = "\z\ace\addons\medical_treatment\ui\morphine_ca.paa";
- model = "\z\ace\addons\medical_treatment\data\morphine.p3d";
- descriptionShort = "Painkillers";
- descriptionUse = "Inbuilt Clone Armor injector for easy pain relief";
- class ItemInfo: CBA_MiscItem_ItemInfo
- {
- mass = 0.1;
- };
- };
-
- class MCC_bacon;
- class macro_new_weapon(fortify,nanobots): MCC_bacon
- {
- displayName = "Nanobot Charge";
- descriptionShort = "No, you can't eat that!";
- picture = "\RD501_Weapons\Consumables\data\nanobot_charge_ico.paa";
- author = "RD501";
- class ItemInfo: CBA_MiscItem_ItemInfo
- {
- mass = 1;
- };
- };
- };
- class ACE_Medical_Treatment
- {
- class Morphine;
-
- class Medication
- {
- class RD501_Painkiller: Morphine
- {
- painReduce = 0.3;
- hrIncreaseLow[] = {-2,-4};
- hrIncreaseNormal[] = {-2,-6};
- hrIncreaseHigh[] = {-2,-7};
- timeInSystem = 600;
- timeTillMaxEffect = 30;
- maxDose = 10;
- incompatibleMedication[] = {};
- viscosityChange = -2;
- };
- };
- };
- class ACE_Medical_Treatment_Actions
- {
- class Morphine;
- class RD501_Painkiller:Morphine
- {
- displayName = "Painkiller Autoinjector";
- displayNameProgress = "Injecting Painkillers";
- allowedSelections[] = {"LeftArm", "RightArm", "LeftLeg", "RightLeg"};
- items[] = {"RD501_Painkiller"};
- treatmentTime = 1;
- };
- };
|