27 if ( targetObject && ( !targetObject.IsHologram() || !targetObject.IsBeingPlaced() ) )
30 targetObject.GetActionComponentNameList(target.GetComponentIndex(), selections);
32 for (
int s = 0; s < selections.Count(); s++)
34 string selection = selections[s];
35 Slot slot = targetObject.GetSlotBySelection( selection );
38 if ( item != NULL && item.GetQuantity() > 0 && targetObject.CanPlantSeed( selection ) )
64 if ( targetObject != NULL && targetObject.IsInherited(
GardenBase) )
68 targetObject.GetActionComponentNameList(action_data.
m_Target.GetComponentIndex(), selections);
70 for (
int s = 0; s < selections.Count(); s++)
72 string selection = selections[s];
73 Slot slot = garden_base.GetSlotBySelection( selection );
76 slot_ID = slot.GetSlotId();
85 seed_IB.SplitIntoStackMax( garden_base, slot_ID, action_data.
m_Player );
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
class ActionTargets ActionTarget
ref ActionTarget m_Target
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
override void OnExecuteClient(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool HasTarget()
void Process(ActionData action_data)
protected int m_CommandUID
const float PRECISE_MEDIUM
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++