19        string item_type = m_ActionData.m_MainItem.GetType();
 
   35        Debug.
Log(
"ActionSawPlanksCB | Item detection error, assigning negative time",
"recipes");
 
 
   67        Object target_O = target.GetObject();
 
   69        if ( item  &&  target_O.IsInherited(PileOfWoodenPlanks))
 
   71            string item_type = item.GetType();
 
   76                    if ( item.HasEnergyManager()  &&  item.GetCompEM().CanWork() )
 
 
  103        PileOfWoodenPlanks item_POWP = PileOfWoodenPlanks.Cast( sawPlanksData.m_Target.GetObject() );
 
  104        item_POWP.RemovePlanks(
YIELD);
 
 
 
static const float TIME_AXES
SawPlanksActionData TIME_SAW_HANDSAW
static const float TIME_SAW_HACKSAW
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void CreateActionComponent()
void ActionContinuousBase()
void SpawnNewPlankPile(SawPlanksActionData data, float quantity)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents()
override ActionData CreateActionData()
static const int DECREASE_HEALTH_OF_TOOL_DEFAULT
override void OnFinishProgressServer(ActionData action_data)
ref InventoryLocation m_PlanksLocation
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
ItemBase m_LastPlanksPile
DayZPlayerConstants
defined in C++