PART
{
	name = B10_APASv2
	module = Part
	author = Benjee10

	node_stack_top = 0.0, 0.159423, 0.0, 0.0, 1.0, 0.0, 1

	rescaleFactor = 1
	TechRequired = specializedConstruction
	entryCost = 6400
	cost = 280
	category = Coupling
	subcategory = 0
	title = C-100 Androgynous Docking Mechanism
	manufacturer = HabTech Consortium
	description = This intermediate-sized docking mechanism is great for bringing people together. 
	attachRules = 1,0,1,0,0
	mass = 0.06
	dragModelType = default
	maximum_drag = 0.25
	minimum_drag = 0.25
	angularDrag = 0.5
	crashTolerance = 10
	maxTemp = 2000 // = 3400
	bulkheadProfiles = size1, srf
	tags = HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle
	stagingIcon = DECOUPLER_VERT

	MODEL
	{
		model = Benjee10_sharedAssets/Parts/APAS/B10_APASv2
	}
	scale = 1
	rescaleFactor = 1

	NODE
	{
		name = nodeBottom
		transform = nodeBottom
		size = 1
	}

	MODULE
	{
		name = ModuleDockingNode
		referenceAttachNode = top
		nodeType = B10_APAS
		stagingEnabled = False
	}

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = APAS_deploy
		actionGUIName = Toggle Soft Capture Ring
		startEventGUIName = Extend Soft Capture Ring
		endEventGUIName = Retract Soft Capture Ring
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = thermalCover
		switcherDescription = Outer Variant
		affectDragCubes = false
		SUBTYPE
		{
			name = White
			title = White
			primaryColor = white
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diff
				currentTexture = APAS_01_diff
				transform = APAS_main_A
				transform = APAS_main_B
			}
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffB
				currentTexture = APAS_01_diff
				transform = pistonCovers
			}
		}
		SUBTYPE
		{
			name = Black
			title = Black
			primaryColor = black
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffB
				currentTexture = APAS_01_diff
				transform = APAS_main_A
				transform = APAS_main_B
			}
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffB
				currentTexture = APAS_01_diff
				transform = pistonCovers
			}
		}
		SUBTYPE
		{
			name = Grey
			title = Grey
			primaryColor = grey
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffC
				currentTexture = APAS_01_diff
				transform = APAS_main_A
				transform = APAS_main_B
			}
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffB
				currentTexture = APAS_01_diff
				transform = pistonCovers
			}
		}
		SUBTYPE
		{
			name = Cream
			title = Cream
			primaryColor = #a69f95
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffD
				currentTexture = APAS_01_diff
				transform = APAS_main_A
				transform = APAS_main_B
			}
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_nrmB
				currentTexture = APAS_01_nrm
				isNormalMap = true
				transform = APAS_main_A
				transform = APAS_main_B
			}
		}
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = variant2
		switcherDescription = Inner Variant
		affectDragCubes = false
		SUBTYPE
		{
			name = White
			title = White
			primaryColor = white
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diff
				currentTexture = APAS_01_diff
				transform = APAS_internal
			}
		}
		SUBTYPE
		{
			name = Orange
			title = Orange
			primaryColor = BloodOrange
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffB
				currentTexture = APAS_01_diff
				transform = APAS_internal
			}
		}
		SUBTYPE
		{
			name = Blue
			title = Blue
			primaryColor = Azure
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffC
				currentTexture = APAS_01_diff
				transform = APAS_internal
			}
		}
		SUBTYPE
		{
			name = Cream
			title = Cream
			primaryColor = #a69f95
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_diffD
				currentTexture = APAS_01_diff
				transform = APAS_internal
			}
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_01_nrmB
				currentTexture = APAS_01_nrm
				isNormalMap = true
				transform = APAS_internal
			}
		}
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = greebles
		switcherDescription = Sensors
		affectDragCubes = false
		SUBTYPE
		{
			name = On
			title = On
			primaryColor = white
			secondaryColor = grey
			transform = APAS_main_A
		}
		SUBTYPE
		{
			name = Off
			title = Off
			primaryColor = black
			secondaryColor = grey
			transform = APAS_main_B
		}
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = hatch
		switcherDescription = Hatch
		affectDragCubes = false
		SUBTYPE
		{
			name = white
			title = White
			primaryColor = white
			transform = APAS_hatch
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_hatch_diff
				currentTexture = APAS_hatch_diff
				transform = APAS_hatch
			}
		}
		SUBTYPE
		{
			name = orange
			title = Orange
			primaryColor = BloodOrange
			transform = APAS_hatch
			TEXTURE
			{
				texture = Benjee10_sharedAssets/Parts/APAS/APAS_hatch_diffB
				currentTexture = APAS_hatch_diff
				transform = APAS_hatch
			}
		}
		SUBTYPE
		{
			name = Off
			title = Off
			primaryColor = black
			secondaryColor = grey
		}
	}

	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 250
	}


}
