3 override void CreateActionComponent()
35 if (!super.ActionCondition(player, target, item))
38 if (item.GetQuantity() <= item.GetQuantityMin())
42 return targetPlayer && targetPlayer.CanEatAndDrink();
47 if (action_data.m_MainItem && action_data.m_MainItem.GetQuantity() <= 0)
49 action_data.m_MainItem.SetQuantity(0);
52 if (action_data.m_Player.HasBloodyHands() && !action_data.m_Player.GetInventory().FindAttachment(
InventorySlots.GLOVES))
57 target.SetBloodyHandsPenalty();
66 if (target && action_data.m_MainItem)