32 if (item.IsEmpty() && (!item.GetCompEM() || !item.GetCompEM().IsWorking()))
52 action_data.
m_Player.ServerReplaceItemInHandsWithNew(lambda);
56 EntityAI longStick = action_data.
m_Player.SpawnEntityOnGroundPos(
"LongWoodenStick", action_data.
m_Player.GetPosition());
61 MiscGameplayFunctions.TransferItemProperties(action_data.
m_MainItem, item_result);
77 super.CopyOldPropertiesToNew(old_item, new_item);
85 MiscGameplayFunctions.TransferItemProperties(ingredient, sticks);
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
class ActionTargets ActionTarget
protected ActionData m_ActionData
private const float TIME_TO_BREAK_STICKS
override void CreateActionComponent()
override void OnFinishProgressServer(ActionData action_data)
override void CreateConditionComponents()
void ActionBreakLongWoodenStick()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool HasTarget()
ref CABase m_ActionComponent
protected int m_CommandUID
protected m_CallbackClass
override void CopyOldPropertiesToNew(notnull EntityAI old_item, EntityAI new_item)
void BreakLongWoodenStick(EntityAI old_item, string new_item_type, PlayerBase player, int count)
Super root of all classes in Enforce script.
base class for transformation operations (creating one item from another)
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.