// llp-fairing-falcon-expanded.cfg v0.9.99.0
// Launch Pack (LLP)
// created: 07 Dec 2014
// updated: 13 Mar 2023

// this file: CC BY-ND 4.0 by Lazarus Luan and zer0Kerbal
PART
{
	name = llp-fairing-falcon-expanded
	oldName = LazTekFalconHeavyExpandedFairing
	module = Part
	author = Lazarus Luan and zer0Kerbal

	MODEL { model = LazTek/LaunchPack/Assets/llp-fairing-falcon-expanded}
	scale = 1.0
	rescaleFactor = 0.85
	bulkheadProfiles = size2

	attachRules = 1,0,0,1,
	node_stack_attach = -2.51, 0.0, 0.0, 0.0, 1.0, 0.0, 1, 1
	node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0, 1

	sound_vent_large = deploy
	fx_gasBurst_white = 0.0, 0.217, 0.0, 0.0, 1.0, 0.0, deploy

	TechRequired = heavyAerodynamics
	entryCost = 1200
	Cost = 120
	category = Payload
	subcategory = 0

	title = #LLP-fairing-falcon-expanded-titl
	manufacturer = #LTD-Agency-titl
	description = #LLP-fairing-falcon-expanded-desc
	tags = #autoLOC_500174 // aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport

	mass = 0.05
	fuelCrossFeed = True
	explosionPotential = 0
	thermalMassModifier = 2.0
	skinMassPerArea = 4.0
	skinInternalConductionMult = 0.25
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.8

	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2

	crashTolerance = 10

	maxTemp = 2600

	stageOffset = 1
	childStageOffset = 1
	stagingIcon = DECOUPLER_HOR

	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
		techRequired = fuelSystems
	}

	MODULE
	{
		name = ModuleAnchoredDecoupler
		anchorName = anchor
		ejectionForce = 50
		ejectionForcePercent = 100
		explosiveNodeID = attach
		fxGroupName = decouple
		staged = True
		stagingEnabled = True
		menuName = #autoLOC_6001443 // Decouple
		stagingEnableText = #autoLOC_240328 // Decoupler: Enable Staging
		stagingDisableText = #autoLOC_240329 // Decoupler: Disable Staging
		stagingToggleEnabledEditor = True
		stagingToggleEnabledFlight = True
	}

	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 127
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2000
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
	}

}