50 if (slot && slot.GetPlant())
52 m_Plant = PlantBase.Cast(slot.GetPlant());
55 if (
m_Plant.GetPlantStateIndex() < 1)
58 if (
item.GetQuantity() > 0)
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
ref CABase m_ActionComponent
override void CreateActionComponent()
override void OnFinishProgressClient(ActionData action_data)
override void CreateConditionComponents()
override void OnFinishProgressServer(ActionData action_data)
void ActionDisinfectPlant()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Super root of all classes in Enforce script.
const float GARDEN_DISINFECT_PLANT
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.