26 if (gardenBase && (!gardenBase.IsHologram() || !gardenBase.IsBeingPlaced()))
29 gardenBase.GetActionComponentNameList(target.GetComponentIndex(), selections);
31 foreach (
string selection : selections)
33 Slot slot = gardenBase.GetSlotBySelection(selection);
36 if (item != null && item.GetQuantity() > 0 && gardenBase.CanPlantSeed(selection))
60 gardenBase.GetActionComponentNameList(action_data.m_Target.GetComponentIndex(), selections);
62 foreach (
string selection : selections)
64 Slot slot = gardenBase.GetSlotBySelection(selection);
67 slotID = slot.GetSlotId();
73 if (seed.GetQuantity() > 1)
74 seed.SplitIntoStackMax(gardenBase, slotID, action_data.m_Player);
76 gardenBase.ServerTakeEntityToTargetAttachmentEx(gardenBase, seed, slotID);