3 private const float QUANTITY_USED_PER_SEC = 10;
5 override void CreateActionComponent()
21 m_Text =
"#fertilize_slot";
24 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 ( garden_base.NeedsFertilization( selection ) )
52 if ( item.GetQuantity() > 0 )
61 override void OnFinishProgressServer(
ActionData action_data )