41 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
44 Object target_object = target.GetObject();
46 if ( target_object && target_object.IsFireplace() )
50 if ( fireplace_target.
IsBaseFireplace() && fireplace_target.CanBuildOven() )
64 if ( fireplace_target.CanBuildOven() )
66 ItemBase attached_item =
ItemBase.Cast( fireplace_target.GetAttachmentByType( fireplace_target.ATTACHMENT_STONES ) );
73 fireplace_target.SetOvenState(
true );
74 fireplace_target.SetOrientation( action_data.
m_Player.GetOrientation() -
"180 0 0" );
77 fireplace_target.SetLifetimeMax(
FireplaceBase.LIFETIME_FIREPLACE_STONE_OVEN );
void CreateConditionComponents()
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
bool HasProgress()
For UI: hiding of progress bar.
protected bool m_FullBody
protected int m_StanceMask
ActionBuildOvenCB ActionContinuousBaseCB ActionBuildOven()
class ActionTargets ActionTarget
protected ActionData m_ActionData
override void CreateActionComponent()
protected void OnFinishProgressServer(ActionData action_data)
ref CABase m_ActionComponent
ref ActionTarget m_Target
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool IsBaseFireplace()
const float DEFAULT_CONSTRUCT
DayZPlayerConstants
defined in C++