3 protected const float WASH_HANDS_AMOUNT = 250;
13 override void CreateConditionComponents()
19 override bool HasTarget()
24 override bool HasProneException()
32 if ( player.GetItemOnSlot(
"Gloves") )
35 return player.HasBloodyHands() && ( item.GetQuantity() >= item.GetDisinfectQuantity() );
38 override void OnEndServer(
ActionData action_data )
43 module_lifespan.UpdateBloodyHandsVisibility( action_data.m_Player,
false );
44 action_data.m_MainItem.AddQuantity( -action_data.m_MainItem.GetDisinfectQuantity(),
false );