30 Object targetObject = target.GetObject();
32 if (item.GetQuantity() == 0)
36 int liquid_type = item.GetLiquidType();
50 targetObject.GetActionComponentNameList(target.GetComponentIndex(), selections);
52 for (
int s = 0; s < selections.Count(); s++)
54 string selection = selections[s];
55 slot = garden_base.GetSlotBySelection( selection );
60 if ( slot && !slot.GetPlant() && slot.CanBeWatered() && slot.GetWateredState() == 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
private const float QUANTITY_USED_PER_SEC
override void CreateActionComponent()
void ActionWaterGardenSlot()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
protected int m_CommandUID
protected m_CallbackClass
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++