DayZ
1.24
Loading...
Searching...
No Matches
DisinfectantAlcohol.c
Go to the documentation of this file.
1
class
DisinfectantAlcohol
:
Edible_Base
2
{
3
4
override
void
InitItemVariables
()
5
{
6
super
.InitItemVariables();
7
can_this_be_combined
=
true
;
8
}
9
10
override
float
GetDisinfectQuantity
(
int
system
= 0,
Param
param1 =
null
)
11
{
12
return
(
GetQuantityMax
() * 0.1);
13
}
14
15
16
override
void
SetActions
()
17
{
18
super
.SetActions();
19
20
AddAction
(
ActionDisinfectTarget
);
21
AddAction
(
ActionDisinfectSelf
);
22
AddAction
(
ActionFillGeneratorTank
);
23
AddAction
(
ActionWashHandsItemContinuous
);
24
}
25
};
ActionDisinfectSelf
void ActionDisinfectSelf()
Definition
ActionDisinfectSelf.c:24
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
can_this_be_combined
bool can_this_be_combined
Definition
ItemBase.c:4741
GetQuantityMax
override int GetQuantityMax()
Definition
ItemBase.c:7941
ActionDisinfectTarget
Definition
ActionDisinfectTarget.c:11
ActionFillGeneratorTank
Definition
ActionFillGeneratorTank.c:12
ActionWashHandsItemContinuous
Definition
ActionWashHandsItemContinuous.c:10
DisinfectantAlcohol
Definition
DisinfectantAlcohol.c:2
DisinfectantAlcohol::GetDisinfectQuantity
override float GetDisinfectQuantity(int system=0, Param param1=null)
Definition
DisinfectantAlcohol.c:10
DisinfectantAlcohol::InitItemVariables
override void InitItemVariables()
Definition
DisinfectantAlcohol.c:4
DisinfectantAlcohol::SetActions
override void SetActions()
Definition
DisinfectantAlcohol.c:16
Edible_Base
Definition
Edible_Base.c:2
Param3
Definition
EntityAI.c:95
Param
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition
param.c:12
scripts
4_World
Entities
ItemBase
Gear
Medical
DisinfectantAlcohol.c
Generated by
1.10.0