35 if (!super.ActionCondition(player, target, item))
38 if (item.GetQuantity() <= item.GetQuantityMin())
42 return targetPlayer && targetPlayer.CanEatAndDrink();
57 target.SetBloodyHandsPenalty();
void OnEndServer(ActionData action_data)
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
void ActionForceConsumeSingle()
int GetConsumedQuantity()
ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY
class ActionTargets ActionTarget
protected ActionData m_ActionData
ref CABase m_ActionComponent
ref ActionTarget m_Target
override void CreateActionComponent()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
protected void OnExecuteServer(ActionData action_data)
provides access to slot configuration
DayZPlayerConstants
defined in C++