39 garden_base.GetActionComponentNameList(target.GetComponentIndex(), selections);
42 for (
int s = 0; s < selections.Count(); s++)
44 selection = selections[s];
45 slot = garden_base.GetSlotBySelection( selection );
50 if ( slot && slot.GetPlant() )
52 m_Plant = PlantBase.Cast(slot.GetPlant());
55 if (
m_Plant.GetPlantStateIndex() < 1 )
58 if ( item.GetQuantity() > 0 )
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
class ActionTargets ActionTarget
protected ActionData m_ActionData
ref CABase m_ActionComponent
ref ActionTarget m_Target
override void CreateActionComponent()
override void OnFinishProgressServer(ActionData action_data)
void ActionDisinfectPlant()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnFinishProgressClient(ActionData action_data)
protected int m_CommandUID
protected m_CallbackClass
Super root of all classes in Enforce script.
const float GARDEN_DISINFECT_PLANT
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.