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

◆ ActionCondition()

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

Other conditions are handled in CCTLiquid

Don't allow washing hands with heavy items in hands

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

32 {
34 if (item && item.IsHeavyBehaviour())
35 return false;
36
37 return (player.HasBloodyHands() && !player.GetItemOnSlot("Gloves"));
38 }

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