mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
add medical items
Morphine was the goal. adrenaline, atropine, caffeine pills and orlistat added as well to pricing, itemsort and iteminteractions
This commit is contained in:
parent
5c6cc9bac7
commit
a1e43911dc
@ -1,6 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
Legend:
|
Legend:
|
||||||
interactAction: 0 = examine, 1 = eat, 2 = drink, 3 = build
|
interactAction: 0 = examine,
|
||||||
|
1 = eat,
|
||||||
|
2 = drink,
|
||||||
|
3 = build,
|
||||||
|
4 = refuel,
|
||||||
|
5 = siphon,
|
||||||
|
6 = Soiled-25,
|
||||||
|
7 = Warm+1,
|
||||||
|
8 = Cold-1,
|
||||||
|
9 = Energy 100,
|
||||||
|
10 = Repair Light,
|
||||||
|
11 = Repair Heavy,
|
||||||
|
12 = base painting,
|
||||||
|
13 = Heal Player,
|
||||||
|
14 = Unpack Backpack,
|
||||||
|
15 = Read
|
||||||
interactAttributes[] = {
|
interactAttributes[] = {
|
||||||
{"Temp",0},
|
{"Temp",0},
|
||||||
{"Hunger",0},
|
{"Hunger",0},
|
||||||
@ -846,5 +861,34 @@ class CfgItemInteractions
|
|||||||
interactAttributes[] = {{"Thirst",1000},{"Toxicity",5,1},{"Stamina",50},{"Radiation",2,1}};
|
interactAttributes[] = {{"Thirst",1000},{"Toxicity",5,1},{"Stamina",50},{"Radiation",2,1}};
|
||||||
interactReturnOnUse = "ItemCanteen_Empty";
|
interactReturnOnUse = "ItemCanteen_Empty";
|
||||||
};
|
};
|
||||||
|
class adrenaline_epoch : FAK
|
||||||
|
{
|
||||||
|
interactAction = 13; // Radiation consume item action needed
|
||||||
|
interactText = "USE";
|
||||||
|
};
|
||||||
|
class atropine_epoch : FAK
|
||||||
|
{
|
||||||
|
interactAction = 13; // Radiation consume item action needed
|
||||||
|
interactText = "USE";
|
||||||
|
};
|
||||||
|
class morphine_epoch : FAK
|
||||||
|
{
|
||||||
|
interactAction = 13; // part specific healing action needed
|
||||||
|
interactText = "USE";
|
||||||
|
interactAttributes[] = {{"Thirst",-50},{"Stamina",-20}};
|
||||||
|
};
|
||||||
|
class caffeinepills_epoch : FAK
|
||||||
|
{
|
||||||
|
interactAction = 1; // some type of boost system is needed as well as new action to feed it
|
||||||
|
interactText = "EAT";
|
||||||
|
interactAttributes[] = {{"Thirst",-20},{"Stamina",50}};
|
||||||
|
|
||||||
|
};
|
||||||
|
class orlistat_epoch : FAK
|
||||||
|
{
|
||||||
|
interactAction = 1; // some type of boost system is needed as well as new action to feed it
|
||||||
|
interactText = "EAT";
|
||||||
|
interactAttributes[] = {{"Thirst",-20},{"Stamina",50}};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
/*[[[end]]]*/
|
/*[[[end]]]*/
|
||||||
|
@ -903,7 +903,11 @@ class CfgItemSort
|
|||||||
"HeatPack",
|
"HeatPack",
|
||||||
"ColdPack",
|
"ColdPack",
|
||||||
"ItemVitamins",
|
"ItemVitamins",
|
||||||
"atropine_epoch"
|
"adrenaline_epoch",
|
||||||
|
"atropine_epoch",
|
||||||
|
"morphine_epoch",
|
||||||
|
"caffeinepills_epoch",
|
||||||
|
"orlistat_epoch"
|
||||||
};
|
};
|
||||||
|
|
||||||
Food[] = {
|
Food[] = {
|
||||||
|
@ -2039,6 +2039,26 @@ class CfgPricing
|
|||||||
class ColdPack
|
class ColdPack
|
||||||
{
|
{
|
||||||
price = 2;
|
price = 2;
|
||||||
|
};
|
||||||
|
class adrenaline_epoch
|
||||||
|
{
|
||||||
|
price = 10;
|
||||||
|
};
|
||||||
|
class atropine_epoch
|
||||||
|
{
|
||||||
|
price = 10;
|
||||||
|
};
|
||||||
|
class morphine_epoch
|
||||||
|
{
|
||||||
|
price = 10;
|
||||||
|
};
|
||||||
|
class caffeinepills_epoch
|
||||||
|
{
|
||||||
|
price = 10;
|
||||||
|
};
|
||||||
|
class orlistat_epoch
|
||||||
|
{
|
||||||
|
price = 10;
|
||||||
};
|
};
|
||||||
class sr25_epoch
|
class sr25_epoch
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user