// llp-eng-draco.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-draco
	oldName = LazTekSuperDracos
	module = Part
	author = Lazarus Luan and zer0Kerbal

	MODEL { model = LazTek/LaunchPack/Assets/llp-eng-draco }
	scale = 1.0
	rescaleFactor = 0.85
	bulkheadProfiles = srf

	specPower = 0.5
	 
	attachRules = 1,1,0,0,1
	node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 1, 1

	TechRequired = veryHeavyRocketry
	entryCost = 36000
	cost = 1200
	category = Propulsion
	subcategory = 0

	title = #LLP-eng-draco-titl
	manufacturer = #LTD-Agency-titl
	description = #LLP-eng-draco-desc
	tags = engine draco

	mass = .25

	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2

	crashTolerance = 12

	maxTemp = 3400

	stagingIcon = LIQUID_ENGINE

	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_spurts
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.2
				pitch = 1.0 1.0
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_aeroSpike
				transformName = smokePoint
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.25
				speed = 1.0 1.0
				localOffset = 0, 0, 1
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/shockExhaust_red_small
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 1.0 1.2
			}
		}
	}

	MODULE
	{
		name = ModuleEnginesFX
		runningEffectName = running
		thrustVectorTransformName = thrustTransform
		exhaustDamage = false
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 90
		heatProduction = 400
		fxOffset = 0, 0, 0
		PROPELLANT
		{
			name = MonoPropellant
			ratio = 1
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 320
			key = 1 290
		}
	}

	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = thrustTransform
		gimbalRange = 0.25
		gimbalResponseSpeed = 40
		useGimbalResponseSpeed = True
		enablePitch = True
		enableRoll = True
		enableYaw = True
		flipYZ = False
		gimbalActive = False
		gimbalLimiter = 100
		gimbalLock = False
	}

	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = SuperDracoGlow
	}

}