34 if (item && item.IsHeavyBehaviour())
37 return (player.HasBloodyHands() && !player.GetItemOnSlot(
"Gloves"));
42 super.OnStart(action_data);
44 action_data.
m_Player.TryHideItemInHands(
true);
49 action_data.
m_Player.TryHideItemInHands(
false);
55 moduleLifespan.UpdateBloodyHandsVisibility(action_data.
m_Player,
false);
56 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="")
ActionWashHandsWaterCB ActionContinuousBaseCB ActionWashHandsWater()
PluginBase GetPlugin(typename plugin_type)
void OnFinishProgressServer(ActionData action_data)
override void CreateActionComponent()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
DayZPlayerConstants
defined in C++
const int LIQUID_HOTWATER
const int LIQUID_GROUP_WATER