Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actiondrink.c
Go to the documentation of this file.
2{
3 override void CreateActionComponent()
4 {
5 m_ActionData.m_ActionComponent = new CAContinuousQuantityEdible(UAQuantityConsumed.DRINK,UATimeSpent.DEFAULT);
6 }
7};
8
10{
11 void ActionDrink()
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_DRINK;
15 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONFB_DRINK;
16 m_Text = "#drink";
17 }
18
19 override void CreateConditionComponents()
20 {
23 }
24
25 override bool IsDrink()
26 {
27 return true;
28 }
29
30 override bool HasTarget()
31 {
32 return false;
33 }
34}
ActionData m_ActionData
string m_Text
Definition actionbase.c:58
ref CCIBase m_ConditionItem
Definition actionbase.c:64
ref CCTBase m_ConditionTarget
Definition actionbase.c:65
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602