PART
{
//Basic
	name = O_cargo_fuel_large
	module = Part
	author = ClimberFX
	//mesh = O_cargo_fuel_large.mu
	MODEL
	{
		model = Omicron/Parts/O_cargo_fuel_large
	}
	rescaleFactor = 1.25
	tags = egg climberfx car omicron cargo bay payload transport utility contain

//Node
	//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,0,1,1,0
	node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.75, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_top2 = 0.0, 0.75, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_bottom2 = 0.0, -0.75, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_left = -0.80, -0.165, -0.04, 1, 0, 0, 0
	node_stack_left = -0.80, 0.165, -0.04, 1, 0, 0, 0
	node_stack_left = -0.80, 0.495, -0.04, 1, 0, 0, 0
	node_stack_left = -0.80, -0.495, -0.04, 1, 0, 0, 0
	node_stack_right = 0.80, 0.165, -0.04, -1, 0, 0, 0
	node_stack_right = 0.80, -0.165, -0.04, -1, 0, 0, 0
	node_stack_right = 0.80, -0.495, -0.04, -1, 0, 0, 0	
	node_stack_right = 0.80, 0.495, -0.04, -1, 0, 0, 0

//Cost & RD
	TechRequired = composites
	entryCost = 0
	cost = 750

//Description
	category = Payload
	subcategory = 0
	title = Omicron Cargo Fuel Large
	manufacturer = ClimberFX
	description = This is the cargo bay large, with space for fuel too. But don't explode your Kerbin's cargo.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = 1

//Physical
	mass = 1.25
	//buoyancy = 0.375
	crashTolerance = 25
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 3200
	fuelCrossFeed = True
	bulkheadProfiles = egg

	emissiveConstant = 0.7
	heatConductivity = 0.25

//Resources (Total Volume = 690 - 40% Struture = 414)
	RESOURCE
	{
		name = LiquidFuel
		amount = 186.3
		maxAmount = 186.3
	}
	
	RESOURCE
	{
		name = Oxidizer
		amount = 227.7
		maxAmount = 227.7
	}

//Modules

	MODULE
	{
//		name = ModuleAnimateGeneric
//		animationName = cargo_bay_doors
//		startEventGUIName = Open Cargo Bay
//		endEventGUIName = Close Cargo Bay
//		actionGUIName = Toggle Cargo Bay
//		actionAvailable = True
		
		name = FSanimateGeneric
		animationName = cargo_bay_doors
		animSpeed = 1
		startEventGUIName = Open Cargo Bay
		endEventGUIName = Close Cargo Bay
		toggleActionName = Toggle Cargo Bay
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False

		fullyRetractedEffect = closed_bay
		fullyDeployedEffect = 
		startDeployEffect = open_bay
		startRetractEffect = close_bay
		layer = 0
		moduleID = 0
	}

	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.7
		dragAtMaxAoA = 0.4
		dragAtMinAoA = 0.1
	}

    MODULE
    {
        name = ModuleConnectedLivingSpace
        passable = true
        surfaceAttachmentsPassable = true
    }
	
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 0
		lookupRadius = 1.00
		
		nodeOuterForeID = top
		nodeOuterAftID = bottom
		nodeInnerForeID = top2
		nodeInnerAftID = bottom2
	}

//Effects
	EFFECTS
	{
		open_bay
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_open
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		close_bay
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_close
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		closed_bay
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_closed
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
	}
}
