PART
{
	name = S1APU
	module = Part
	author = blackheart612
	MODEL
	{
		model = AirplanePlus/Parts/Utility/APU/models1
	}
	rescaleFactor = 1
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2
	node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1
	CoMOffset = 0.0, -0.72, 0.0
	TechRequired = aerodynamicSystems
	entryCost = 1000
	cost = 750
	category = Engine
	subcategory = 0
	title = Size 1 100-KE Auxiliary Power Engine
	manufacturer = Kerbal Standard
	description = Defective engines which could not produce enough thrust are now being recycled mostly for environmental concerns and not for product costs in Kerbal Standard. On the bright side, it still produces electricity, and the lower thrust means it will consume less fuel.
	attachRules = 1,0,1,1,0
	mass = 0.35
	// heatConductivity = 0.06 // half default
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8 // engine nozzles are good at radiating.
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size1
	tags = apu aircraft (jet plane propuls
	
	MODULE
	{
		name = ModuleEnginesFX
		engineID = Cruise
		thrustVectorTransformName = thrustTransform
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 10
		heatProduction = 100
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.06
		engineDecelerationSpeed = 0.25
		//fxOffset = 0, 0, 0.74
		flameoutEffectName = flameout
		powerEffectName = running_thrust
		engageEffectName = engage
		disengageEffectName = disengage
		spoolEffectName = running_turbine
		engineSpoolIdle = 0.05
		engineSpoolTime = 2.0
		EngineType = Turbine
		exhaustDamageMultiplier = 2
		clampPropReceived = True
		PROPELLANT
		{
			name = IntakeAir
			ignoreForIsp = True
			ratio = 227
		}
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 1
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 14000 0 0
		}
		// Jet params
		atmChangeFlow = True
		useVelCurve = True
		useAtmCurve = True
		flameoutBar = 0.02
		machLimit = 0.75
		machHeatMult = 40
		velCurve
		{
			key = 0 1 -0.1543096 -0.1543096

			key = 0.1818513 0.8586813 0 0

			key = 0.4 0.964 0 0

			key = 0.6525106 0.6439561 -3.278422 -2.582144

			key = 0.72 0 -17.68372 -8.84913

		}
		atmCurve
		{
			key = 0 0 0 0
			key = 0.072 0.085 1.172947 1.172947
			key = 0.337 0.37 0.98425 0.98425
			key = 1 1 1.179067 1.179067
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 3.4
		maxAmount = 3.4
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = sharedAPUOpen
		startEventGUIName = Open Compartment
		endEventGUIName = Close Compartment
		actionGUIName = Toggle Compartment
		layer = 1
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 4.0
		}
	}
	EFFECTS
	{		
		running_thrust
		{			
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_idle
				volume = 0.0 0.0
				volume = 0.05 0.5
				volume = 1.0 1.0
				pitch = 0.0 0.8
				pitch = 1.0 1.0
				loop = true
			}					
		}
		running_turbine
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_spool
				volume = 0.0 0.0
				volume = 0.05 0.1
				volume = 1.0 0.3
				pitch = 0.0 0.4
				pitch = 0.05 0.5
				pitch = 1.0 1.0
				loop = true
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_start
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_stop
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
		flameout
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_stop
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
	}
}
