102 {
105
106 for ( int i = 0; i < slots_count; i++ )
107 {
109 slot.SetSlotIndex(i);
110 int i1 = i + 1;
111 string name =
"SeedBase_" + i1;
112 int slot_id = InventorySlots.GetSlotIdFromString(
name);
113 slot.SetSlotId(slot_id);
114 slot.SetGarden(this);
115 slot.m_State = Slot.STATE_DIGGED;
116 slot.SetWateredState(eWateredState.DRY);
117 slot.SetWater(0.0);
119 }
120 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
ref array< ref Slot > m_Slots
int GetGardenSlotsCount()