aboutsummaryrefslogtreecommitdiff
path: root/communities/uag/mods/ACE3_Ketamine/addons/uag_ketamine/config.cpp
blob: e291285c28fc72b4b43ad5a80d500e0a3aa86204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
class CfgPatches {
    class uag_ketamine {
        authors[] = {"zuedev", "fluffy"};
        authorUrl = "https://uagpmc.com";
        name = "uag_ketamine";
        requiredAddons[] = {"ace_medical_treatment"};
        requiredVersion = 2.16;
        units[] = {};
        weapons[] = {
					"UAG_Ketamine"
				};
    };
};

class CfgFunctions {
		class uag {
				class ketamine {
						file = "\z\ACE3_Ketamine\addons\uag_ketamine\functions";
						class injectKetamine {};
				};
		};
};

class CfgWeapons {
	class CBA_MiscItem_ItemInfo;
	class ACE_morphine;
	
	class UAG_Ketamine: ACE_morphine 
	{
	    displayName = "Vitamin K";
	    author = "Fluffy";
	    
			descriptionShort = "A nice Vitamin.";
			descriptionUse = "A Delicious Stick of Vitamin K";
	    class ItemInfo: CBA_MiscItem_ItemInfo 
	    {
	        mass = 0.875;
	    };
	};
};

class ace_medical_treatment 
{
    class Medication
    {
        class Morphine;

				class UAG_Ketamine: Morphine
        {
            painReduce = 2.0;
            hrIncreaseLow[] = {0, 0};
            hrIncreaseNormal[] = {0, 0};
            hrIncreaseHigh[] = {0, 0};
            timeInSystem = 600;
            timeTillMaxEffect = 20;
            maxDose = 1;
            incompatibleMedication[] = {};
            viscosityChange = 0;
        };
    };
};

class ace_medical_treatment_actions 
{
    class Morphine;

    class UAG_Ketamine: Morphine 
    {
        displayName = "Inject Ketamine";
        displayNameProgress = "Injecting Vitamin K";
        callbackSuccess = "call ace_medical_treatment_fnc_medication; call UAG_fnc_injectKetamine";
				items[] = {"UAG_Ketamine"};
    };
};