32 if (
player.GetItemOnSlot(
"Gloves"))
35 return player.HasBloodyHands() && (
item.GetQuantity() >=
item.GetDisinfectQuantity());
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
PluginBase GetPlugin(typename plugin_type)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnEndServer(ActionData action_data)
override void CreateConditionComponents()
override bool HasTarget()
void ActionWashHandsItem()
const float WASH_HANDS_AMOUNT
override bool HasProneException()
DayZPlayerConstants
defined in C++