3 override void CreateActionComponent()
39 if (item && item.IsHeavyBehaviour())
42 if (!player.CanEatAndDrink())
45 return target.GetObject() && (target.GetObject().GetWaterSourceObjectType() ==
EWaterSourceObjectType.WELL || target.GetObject().IsWell());
50 super.OnStart(action_data);
52 action_data.m_Player.TryHideItemInHands(
true);
57 action_data.m_Player.TryHideItemInHands(
false);
62 Param1<float> nacdata = Param1<float>.Cast(action_data.m_ActionComponent.GetACData());
66 action_data.m_Player.Consume(
null,amount,
EConsumeType.ENVIRO_WELL);
69 if (action_data.m_Player.HasBloodyHands() && !action_data.m_Player.GetInventory().FindAttachment(
InventorySlots.GLOVES))
71 action_data.m_Player.SetBloodyHandsPenalty();
77 if (action_data.m_Player.HasBloodyHands())
79 action_data.m_Player.InsertAgent(
eAgents.CHOLERA, 1);