14 override void Setup( ActionData action_data )
17 ActionTarget target = action_data.m_Target;
18 if (
Class.CastTo(garden_base, target.GetObject()))
23 garden_base.GetActionComponentNameList(target.GetComponentIndex(), selections);
26 for (
int s = 0; s < selections.Count(); s++)
28 selection = selections[s];
29 slot = garden_base.GetSlotBySelection( selection );
34 if ( slot && slot.GetPlant() )
36 m_Plant = PlantBase.Cast(slot.GetPlant());
49 if ( action_data.m_MainItem )