DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ActionCondition()

override bool ActionWashHandsItemContinuous::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

См. определение в файле ActionWashHandsItemContinuous.c строка 37

38 {
39 if ( player.GetItemOnSlot("Gloves") )
40 return false;
41 bool result = player.HasBloodyHands() && ( item.GetQuantity() >= item.GetDisinfectQuantity() && !item.GetIsFrozen());
42 return result;
43 }

Перекрестные ссылки ActionTarget.