PART
{
	name = ATGreenhouse1875M
	module = Part
	author = panarchist, Atomikku
	
	MODEL
	{
		model = AtomicTech/radioactiveGreenhouse/Assets/Greenhouse
	}
	rescaleFactor = 0.9375
	node_stack_top = 0.0,2.2,0.0,0.0,1.0,0.0,3
	node_stack_bottom = 0.0,-2.2,0.0,0.0,-1.0,0.0,3	
	node_attach = 1.875,0.0,0.0,1.0,0.0,0.0,1
	
	TechRequired = advConstruction
	entryCost = 8100
	cost = 6500
	category = Utility
	subcategory = 0
	title = Orbital "Potato Pod" Greenhouse Module
	manufacturer = AtomicTech Inc.
	description = The 1.875m Orbital Greenhouse Module is a rigid greenhouse for growning fresh food. Opening the shutters allows the greenhouse to use sunlight to power an advanced bioelectric generator.
	
	tags = PSA panarchist lifesupport eclss usi-ls snacks tac-ls cck-lifesupport

	attachRules = 1,1,1,1,0
	mass = 2.5
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 8
	breakingForce = 500
	breakingTorque= 500
	maxTemp = 2000
	bulkheadProfiles = size2
	CrewCapacity = 1

	INTERNAL
	{
		name = mk1CabinInternal
	}	
	
	MODULE
	{
		name = ModuleDeployableSolarPanel
		animationName = door
		startEventGUIName = Open Shutters
		endEventGUIName = Close Shutters		
		animSwitch = True
		sunTracking = true
		raycastTransformName = glass
		pivotName = glass
		isBreakable = false
		resourceName = ElectricCharge
		chargeRate = 2.2
		powerCurve
		{
			key = 206000000000 0 0 0
			key = 13599840256 1 0 0
			key = 68773560320 0.5 0 0
			key = 0 0 0 0
		}
	}

	RESOURCE
	{
		name = ElectricCharge
		amount = 1125
		maxAmount = 1125
	}
	vesselType = Station
}

@PART[ATGreenhouse1875M]:NEEDS[Snacks]
{
  RESOURCE
  {
    name = Snacks
    amount = 3750
    maxAmount = 3750
  }
  RESOURCE
  {
    name = Soil
    amount = 375
    maxAmount = 375
  }
  MODULE
  {
    name = SoilRecycler
  	ConverterName = Snack Orbital Greenhouse [Soil]
		StartActionName = Start Orbital Greenhouse [Soil]
		StopActionName = Stop Orbital Greenhouse [Soil]
     AutoShutdown = false
  	GeneratesHeat = false
  	UseSpecialistBonus = true
		ExperienceEffect = ConverterSkill
  	EfficiencyBonus = 1.0
  	RecyclerCapacity = 4
  	INPUT_RESOURCE
  	{
      ResourceName = Soil
      Ratio = 0.00375
      FlowMode = ALL_VESSEL
    }
    INPUT_RESOURCE
    {
      ResourceName = ElectricCharge
      Ratio = 2.8125
      FlowMode = STAGE_PRIORITY_FLOW
    }
    OUTPUT_RESOURCE
    {
      ResourceName = Snacks
      Ratio = 0.009375
      DumpExcess = false
      FlowMode = ALL_VESSEL
    }
  }
}