124 Param6<int, GardenBase, int, int, int, int> params;
127 if (isTarget && player && player.GetActionManager())
129 ActionTarget at = player.GetActionManager().FindActionTarget();
136 garden.GetActionComponentNameList(at.GetComponentIndex(), selections);
138 for (
int s = 0; s < selections.Count(); s++)
140 string selection = selections[s];
141 Slot slot = garden.GetSlotBySelection( selection );
142 if (slot && slot.GetPlant())
144 slotID = slot.GetSlotIndex();
150 params =
new Param6<int, GardenBase, int, int, int, int>(slotID, garden, maturity, spoil, spoilRemove, dryRemove);
152 if (!
GetGame().IsMultiplayer())
154 if (slotID != -1 && garden)
156 Slot gSlot = garden.GetSlotByIndex(slotID);
157 if (gSlot && gSlot.GetPlant())
158 gSlot.GetPlant().DebugSetTimes(maturity, spoil, spoilRemove, dryRemove);
161 PlantBase.DebugSetGlobalTimes(params.param3, params.param4, params.param5, params.param6);
164 player.RPCSingleParam(
ERPCs.DEV_RPC_HORTICULTURE_UPDATE, params,
true);