PART

{


	// --- general parameters ---


	name = CJAirDockTube
	module = Part

	author = Lack


	// --- asset parameters ---


	MODEL

	{

		model = H.A.D.D/Assets/CJDocking3
		scale = 1, 1, 1

	}


	scale = 1

	rescaleFactor = 0.5
	// --- node definitions ---

	// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z


	node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

	node_stack_top = 0.0, 1.2170, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_bottom = 0.0, -0.6, 0.0, 0, -1, 0, 1


	// --- editor parameters ---


	TechRequired = highAltitudeFlight

	entryCost = 7800

	cost = 1275

	category = Utility

	subcategory = 0

	title = AirDock Tube
	manufacturer = CJ Aerospace
	description  = The airlock was designed shortly after the term 'Explosive Decompression' was coined. It allows Kerbals to move from the interior of the vessel to the exterior without a great change in internal pressure.

	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision


	attachRules = 1,1,1,1,0 // 1,1,1,1,1


	// --- standard part parameters ---


	mass = 0.15

	dragModelType = default

	maximum_drag = 0.2

	minimum_drag = 0.2

	angularDrag = 1

	crashTolerance = 12 // 20

	breakingForce = 50

	breakingTorque = 50

	maxTemp = 1000 // 2000 // 3200

	skinMaxTemp = 2000

	fuelCrossFeed = True

	bulkheadProfiles = size1, srf

	vesselType = Station

	CrewCapacity = 1

	bulkheadProfiles = size1, srf


	tags = airlock cj door hatch
	INTERNAL

	{

		name = sxtairlockintCJ
	}


	//MODULE

	{

		name = ModuleAnimateGeneric

		animationName = airlockouterdoor

		layer = 0

		startEventGUIName = Open Outer Door

		endEventGUIName = Close Outer Door

		actionGUIName = Toggle Outer Door

	}


	MODULE

	{

		name = ModuleAnimateGeneric

		animationName = airlockinnerdoor

		layer = 1

		startEventGUIName = Open Inner Door

		endEventGUIName = Close Inner Door

		actionGUIName = Toggle Inner Door

	}


	MODULE

	{

		name = ModuleAnimateGeneric

		animationName = airlockshade

		layer = 2

		startEventGUIName = Remove Shading

		endEventGUIName = Add Shading

		actionGUIName = Toggle Shading

	}


	MODULE

	{

		name = ModuleScienceExperiment

		experimentID = crewReport

		experimentActionName = Crew Report

		resetActionName = Discard Crew Report

		reviewActionName = Review Report

		useStaging = False

		useActionGroups = True

		hideUIwhenUnavailable = True

		rerunnable = True

		xmitDataScalar = 1.0

		usageReqMaskInternal = 5

		usageReqMaskExternal = -1

	}


	MODULE

	{

		name = ModuleScienceContainer

		reviewActionName = Review Stored Data

		storeActionName = Store Experiments

		collectActionName = Take Data

		evaOnlyStorage = True

		storageRange = 2.0

	}

	MODULE
	{
		name = ModuleDockingNode
		referenceAttachNode = top
		nodeType = size0
		stagingEnabled = False
		aquireForce = 20.5
		aquireRange = 15
		captureRange = 10
		stagingEnabled = False
		ejectionForce = 10
		stagingToggleEnabledEditor = true
		stagingToggleEnabledFlight = true
	}
	MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
		eventOnName = #autoLOC_6001409 	//#autoLOC_6001409 = Lights On
		eventOffName = #autoLOC_6001408 	//#autoLOC_6001408 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}
}
