411 {
413 {
415 seed.UnlockFromParent();
417
418 PlantBase plant =
PlantBase.Cast( GetInventory().CreateAttachmentEx( slot.m_PlantType, slot.GetSlotId()) );
419
420 int slot_index = slot.GetSlotIndex();
421 slot.SetPlant(plant);
422 plant.Init( this, slot.GetFertility(), slot.m_HarvestingEfficiency, slot.GetWater() );
423
424
425 plant.LockToParent();
426 }
427 }
class GP5GasMask extends MaskBase ItemBase
proto native void ObjectDelete(Object obj)
proto native CGame GetGame()