34 Object targetObject = target.GetObject();
39 if (componentIndices.Count() > 0 && componentIndices.Find(target.GetComponentIndex()) == -1)
43 return player.HasBloodyHands() && !player.GetItemInHands() && targetObject && (targetObject.GetWaterSourceObjectType() !=
EWaterSourceObjectType.NONE || targetObject.IsWell()) && !player.GetItemOnSlot(
"Gloves");
49 moduleLifespan.UpdateBloodyHandsVisibility(action_data.
m_Player,
false);
50 action_data.
m_Player.ClearBloodyHandsPenaltyChancePerAgent(
eAgents.SALMONELLA);
void CreateConditionComponents()
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
ActionWashHandsWellCB ActionContinuousBaseCB ActionWashHandsWell()
PluginBase GetPlugin(typename plugin_type)
void OnFinishProgressServer(ActionData action_data)
override void CreateActionComponent()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
const string LIQUID_SOURCE_SELECTION
DayZPlayerConstants
defined in C++