PART
{
	name = nesdKeR7-rk109
	module = Part
	author = NESD
	rescaleFactor = 1
	node_stack_top = 0.0, 0.2, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.8, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = advRocketry
	entryCost = 1900
	cost = 550
	category = Engine
	subcategory = 0
	title = RK-0109 Liquid Fuel Engine
	manufacturer = #autoLOC_501639
	description = This small engine can launch your first probe to Mun or first Kerbal to space.
	attachRules = 1,0,1,1,0
	mass = 0.7 
	heatConductivity = 0.06
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 1
	crashTolerance = 7
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000
	bulkheadProfiles = size1p5
	tags = engine rocket orbit propulsion

	MODEL
	{
		model = KeR-7/Parts/Engines/RK-0109
	}

	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 0.5
				pitch = 0.0 0.6
				pitch = 1.0 1.0
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = FXside
				emission = 0.0 0.0
				emission = 0.4 0.5
				emission = 1.0 1.0
				speed = 0.0 0.5
				speed = 1.0 0.8
				//localOffset = 0, 0, 1
				localPosition = 0, 0, 0.02
				localScale = 0.8, 0.8, 0.8
			}
			PREFAB_PARTICLE
			{
				name = flame
				prefabName = fx_exhaustFlame_blue_small
				transformName = FXmain
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 2.0
				emission = 1.0 3.0
				speed = 0.0 0.5
				speed = 1.0 1.2
				localOffset = 0, -0.2, 0
				localScale = 1.2, 1.0, 1.0
			}
			PREFAB_PARTICLE
			{
				name = smoke
				prefabName = fx_smokeTrail_light
				transformName = FXmain
				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, -1.0, 0
				localScale = 1.5, 1.5, 1.5
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = thrustTransform
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
	
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #ffffff
		secondaryColor = #ffffff
		baseDisplayName = #autoLOC_8007119
		baseThemeName = White
		VARIANT
		{
			name = Gray
			displayName = Gray
			themeName = GrayAndOrange
			primaryColor = #4c4f47
			secondaryColor = #4c4f47
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Engines/RKtexG
			}
		}
		VARIANT
		{
			name = Orange
			displayName = Orange
			themeName = GrayAndOrange
			primaryColor = #f49841
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Engines/RKtexO
			}
		}
		VARIANT
		{
			name = GrayOrange
			displayName = Gray Orange
			themeName = GrayAndOrange
			primaryColor = #4c4f47
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Engines/RKtexGO
			}
		}
		VARIANT
		{
			name = OrangeGray
			displayName = Orange Gray
			themeName = GrayAndOrange
			primaryColor = #f49841
			secondaryColor = #4c4f47
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Engines/RKtexOG
			}
		}
		VARIANT
		{
			name = Dark
			displayName = Dark
			themeName = Dark
			primaryColor = #1a1a1a
			secondaryColor = #1a1a1a
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Engines/RKtexD
			}
		}
	}
	
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 80
		heatProduction = 150
		fxOffset = 0, 0, 0.02
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.2
		runningEffectName = running
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 324
			key = 1 185
			key = 4 0.001
		}
	}
	
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = Gimbal
		gimbalRange = 1.0
	}
	
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = 109eng
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}
	
	MODULE
	{
		name = ModuleJettison
		jettisonName = RK109S
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 1
		jettisonDirection = 0 0 1
		useMultipleDragCubes = false
	}
	
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 1
		fxMax = 0.6
		maxDistance = 30
		falloff = 1.5
		thrustTransformName = thrustTransform
	}	
}
