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

◆ ActionCondition()

override bool ActionWashHandsItem::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprotected

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

30 {
31 //Print(item.GetQuantity());
32 if ( player.GetItemOnSlot("Gloves") )
33 return false;
34
35 return player.HasBloodyHands() && ( item.GetQuantity() >= item.GetDisinfectQuantity() );
36 }

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