475 {
477 {
479 if (seed)
480 {
481 seed.UnlockFromParent();
483
484 PlantBase plant =
PlantBase.Cast( GetInventory().CreateAttachmentEx(slot.m_PlantType, slot.GetSlotId()));
485 int slot_index = slot.GetSlotIndex();
486 slot.SetPlant(plant);
487 slot.SetState(eGardenSlotState.STATE_PLANTED);
488 plant.Init(this, slot.GetFertility(), slot.m_HarvestingEfficiency, slot.GetWater());
489 plant.LockToParent();
490 }
491 }
492 }
class GP5GasMask extends MaskBase ItemBase
proto native void ObjectDelete(Object obj)
proto native CGame GetGame()