PART
{
//Basic
	name = O_dock_resource
	module = Part
	author = ClimberFX
	//mesh = O_dock_resource.mu
	MODEL
	{
		model = Omicron/Parts/O_dock_resource
	}
	rescaleFactor = 1.25
	tags = climberfx omicron docking resources

//Node
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 0,1,0,0,1

	//nodes definition: Pos X, Pos Y, Pos Z, Up X, Up Y, Up Z, node size, crossfeed = 1 (true), rigid attach = 0 (false)
	node_attach = 0, 0, 0, 0, -1.0, 0, 0
	
//Cost & RD
	TechRequired = advMetalworks
	entryCost = 0
	cost = 175

//Description
	category = Utility
	subcategory = 0
	title = Omicron Stair Side
	manufacturer = ClimberFX
	description = Docking port for resources transfer between ships. Only resources. 

//Drag
	dragModelType = default
	maximum_drag = 0.01
	minimum_drag = 0.01
	angularDrag = 1

//Physical
	mass = 0.005
	crashTolerance = 25
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2500
	fuelCrossFeed = True
	bulkheadProfiles = srf, size1
//	PhysicsSignificance = 1

	emissiveConstant = 0.8
	heatConductivity = 0.45

	MODULE
    {
//      name = ModuleAnimateGeneric
//      animationName = dock_resource_anim
//      startEventGUIName = Extend docking port
//      endEventGUIName = Retract docking port
//      actionGUIName = Toggle docking port
//      evaDistance = 10
//      actionAvailable = True

		name = FSanimateGeneric
		animationName = dock_resource_anim
		animSpeed = 1
		startEventGUIName = Extend docking port
		endEventGUIName = Retract docking port
		toggleActionName = Toggle docking port
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 10
		playAnimationOnEditorSpawn = False

		fullyRetractedEffect = no_sound
		fullyDeployedEffect = no_sound
		startDeployEffect = extend_dock
		startRetractEffect = retract_dock
		layer = 1
		moduleID = 1
	}

    MODULE
	{
		name = ModuleDockingNode
		deployAnimationController = 1
		nodeType = micro
		controlTransformName = control_from_here
		nodeTransformName = docking_port
//		staged = False
//		stagingEnabled = False
	}

	MODULE:NEEDS[TextureReplacer]
	{
	    name = TRReflection
//	    shader = Reflective/Bumped Diffuse
	    colour = 0.5 0.5 0.5
	    interval = 1
	    meshes = tube_01 tube_02 tube_03 tube_04 tube_05 tube_lock
	}

	MODULE
    {
        name = ModuleConnectedLivingSpace
        passable = false
        surfaceAttachmentsPassable = false
    }

//Effects
	EFFECTS
	{
		extend_dock
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/dock_extend
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		retract_dock
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/dock_retract
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		no_sound
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/empty
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}
		}
	}
}