ActionMineBushByHand.c
class ActionMineBushByHand: ActionMineBush
{
void ActionMineBushByHand()
{
m_CallbackClass = ActionMineBushCB;
m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_INTERACT;
m_FullBody = true;
m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
m_SpecialtyWeight = UASoftSkillsWeight.ROUGH_HIGH;
}
override void CreateConditionComponents()
{
m_ConditionTarget = new CCTCursor(UAMaxDistances.DEFAULT);
m_ConditionItem = new CCINone;
}
override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
{
if ( g_Game.IsMultiplayer() && g_Game.IsServer() )
return true;
return (super.ActionCondition(player, target, item) && !item);
}
};