25 override void CreateConditionComponents()
34 if (
Class.CastTo(garden_base, target.GetObject()))
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());
53 if (m_Plant.IsSprayable())
55 if ( m_Plant.GetPlantStateIndex() < 1 )
58 if ( item.GetQuantity() > 0 )