DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ActionEatCan.c
См. документацию.
8
9
11{
16
17 override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
18 {
19 return super.ActionCondition(player, target, item);
20 /*
21 //if staging for cans is introduced
22 if ( item && item.IsOpen() )
23 {
24 return true;
25 }
26 return false;
27 */
28 }
29};
30
31//-----------------SMALL BITES VARIANT-------------------
32
40
41
43{
48
49 override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
50 {
51 if (!super.ActionCondition(player, target, item))
52 return false;
53 return true;
54 /*
55 //if staging for cans is introduced
56 if ( item && item.IsOpen() )
57 {
58 return true;
59 }
60 return false;
61 */
62 }
63};
class ActionTargets ActionTarget
ActionData m_ActionData
Определения AnimatedActionBase.c:3
void ActionEatBig()
Определения ActionEat.c:11
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения ActionEatCan.c:17
void ActionEatCan()
Определения ActionEatCan.c:12
override void CreateActionComponent()
Определения ActionEatCan.c:3
Определения ActionEatCan.c:2
void ActionEatSmallCan()
Определения ActionEatCan.c:44
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения ActionEatCan.c:49
override void CreateActionComponent()
Определения ActionEatCan.c:35
Определения InventoryItem.c:731
Определения PlayerBaseClient.c:2
const float EAT_SMALL
Определения ActionConstants.c:7
const float EAT_BIG
Определения ActionConstants.c:9
const float DEFAULT
Определения ActionConstants.c:29
Определения ActionConstants.c:28