39 if (
player.GetItemOnSlot(
"Gloves"))
41 bool result =
player.HasBloodyHands() && (
item.GetQuantity() >=
item.GetDisinfectQuantity() && !
player.GetItemOnSlot(
"Gloves"));
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
PluginBase GetPlugin(typename plugin_type)
ref CABase m_ActionComponent
override void CreateActionComponent()
override bool HasTarget()
override bool HasProneException()
override void CreateConditionComponents()
override void OnFinishProgressServer(ActionData action_data)
void ActionWashHandsItemContinuous()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
DayZPlayerConstants
defined in C++