PART
{
	// --- general parameters ---
	name = OctoSat_Pr_Nuclear
	module = Part
	author = Nookos
	
	// --- Model ---
	
	MODEL
	{
		model = NSS/Parts/OctoSat_Pr_Nuclear
	}
	// --- asset parameters ---
	scale = 1
	rescaleFactor = 1

	// --- node definitions ---
	node_stack_bottom = 0, 0, 0, 0, -1, 0, 0
	node_stack_top = 0, 0.5161, 0, 0, 1, 0, 0
	NODE
	{
		name = side1
		transform = Node1
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side2
		transform = Node2
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side3
		transform = Node3
		size = 0
		method = FIXED_JOINT
	}	
	NODE
	{
		name = side4
		transform = Node4
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side5
		transform = Node5
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side6
		transform = Node6
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side7
		transform = Node7
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side8
		transform = Node8
		size = 0
		method = FIXED_JOINT
	}

	// --- editor parameters ---
	TechRequired = advUnmanned
	entryCost = 8000
	cost = 2500
	category = Engine
	subcategory = 0
	title = OS-Ns "Nervette" Atomic Rocket Engine
	manufacturer = NSS
	description = Most people fear Nervette. It makes Nervette very sad. Don't be scared of Nervette. She is a beautiful and efficient propulsion system. Careful though. Nervette is hot! That's why she comes with her integrated radiators.

	// --- attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision ---
	attachRules = 1,0,1,1,0
	stackSymmetry = 1

	// --- standard part parameters ---
	mass = 0.14
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 2800

	bulkheadProfiles = size0
	tags = octosat active atom efficient engine inter liquid (nerv nuclear nuke orbit propuls radio reactor vacuum

	// --- resources ---

	// --- Modules ---
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.75
				pitch = 1.0 0.95
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustFlame_yellow_tiny_Z
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_medium
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				loop = false
			}
		}
	}
	MODULE
	{
		name = AnimatedEngine
		EngineAnimationName = Deploy //name of animation
		WaitForAnimation = 0.85   //normalizedTime index of when to activate engine on deploy (default is 0 = instant.  1 = wait till animation plays fully)
	}
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 7
		heatProduction = 785
//		fxOffset = 0, 0, 1.6
		EngineType = Nuclear
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 650
			key = 1 85
			key = 2 0.001
		}
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 5.0
		}
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 0
		maxAmount = 0
		isTweakable = false
		hideFlow = true
	}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = NuclearEngineEmissive
		responseSpeed = 0.01
		dependOnEngineState = True
		dependOnThrottle = True
	}
//	MODULE
//	{
//		name = ModuleActiveRadiator
//		maxEnergyTransfer = 800
//		overcoolFactor = 0.25
//		isCoreRadiator = true
//		maxLinksAway = 1
//		RESOURCE
//		{
//			name = ElectricCharge
//			rate = 0.0075
//		}		
//	}	
}
