3 private const float QUANTITY_USED_PER_SEC = 150;
5 override void CreateActionComponent()
22 override void CreateConditionComponents()
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 )