// llp-eng-merlin-1D-vac.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-eng-merlin-1D-vac
	oldName = LazTekMerlin1dVacuumEngine
	module = Part
	author = Lazarus Luan and zer0Kerbal

	MODEL { model = LazTek/LaunchPack/Assets/llp-eng-merlin-1D-vac }
	scale = 1.0
	rescaleFactor = 0.85
	bulkheadProfiles = size1, srf

	attachRules = 1,0,1,1,0
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2, 1
	node_stack_bottom = 0.0, -4.0, 0, 0.0, -1.0, 0.0, 2, 1
	node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0, 1

	fx_exhaustFlame_yellow = 0.0, -1.0, 0.0, 0.0, 1.0, 0.0, running
	fx_exhaustLight_yellow = 0.0, -1.0, 0.0, 0.0, 1.0, 0.0, running
	fx_exhaustSparks_flameout = 0.0, -1.0, 0.0, 0.0, 1.0, 0.0, flameout
	fx_smokeTrail_light = 0,0, -1.0, 0.0, 0.0, 1.0, 0.0, running

	sound_vent_medium = engage
	sound_rocket_hard = running
	sound_vent_soft = disengage
	sound_explosion_low = flameout

	TechRequired = veryHeavyRocketry
	entryCost = 18000
	cost = 900
	category = Engine
	subcategory = 0

	title = #LLP-eng-merlin-1D-vac-titl
	manufacturer = #LTD-Agency-titl
	description = #LLP-eng-merlin-1D-vac-desc
	tags = #autoLOC_500456 // propuls rocket (skipper sustain

	mass = 1.15

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

	crashTolerance = 12
	breakingForce = 200
	breakingTorque = 200

	maxTemp = 2000
	heatConductivity = 0.06 // half default
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8 // engine nozzles are good at radiating.

	stagingIcon = LIQUID_ENGINE

	MODULE
	{
		name = ModuleEngines
		thrustVectorTransformName = thrustTransform
		ehxaustDamage = true
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 420
		heatProduction = 460
		fxOffset = 0, 0, 3.00
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
		key = 0 390
		key = 1 300
		}
	}

	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = thrustTransform
		gimbalRange = 0.5
		gimbalResponseSpeed = 50
		useGimbalResponseSpeed = True
		gimbalLimiter = 100
	}

	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = Merlin1DVacGlow
	}

	MODULE
	{
		name = ModuleAlternator	
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.0
		}
	}

	RESOURCE
	{
		name = ElectricCharge
		amount = 0
		maxAmount = 0
		isTweakable = False
		hideFlow = True
	}

	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = True
		useEvent = True
	}

}