35 if (
plant.IsGrowing() &&
plant.NeedsSpraying())
37 if (
item.GetQuantity() > 0)
void SendMessageToClient(Object reciever, string message)
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
ref CABase m_ActionComponent
override void CreateActionComponent()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
void ActionDisinfectPlantBit()
const float GARDEN_DISINFECT_PLANT