PART
{

// --- general parameters ---
name = SWOrionLASJettMotor
module = Part
author = TheShadow1138

// --- asset parameters ---


MODEL
{
	model=ShadowWorks/Parts/Orion/LASJettMotor
}
rescaleFactor = 1.0

// --- node definitions ---
node_stack_middle = 0.0, -1.584, 0.0, 0.0, -1.0, 0.0, 1
node_stack_bottom = 0.0, -5.645, 0.0, 0.0, -1.0, 0.0, 1

// --- FX definitions ---

fx_exhaustFlame_yellow_tiny = 0.0, 0.0, -0.10, 0.0, 1.0, 0.0, running
fx_exhaustFlame_white_tiny = 0.0, 0.0, -0.10, 0.0, 1.0, 0.0, running
fx_smokeTrail_light = 0.0, -1.51, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustSparks_flameout = 0.0, -0.51, 0.0, 0.0, 0.0, 1.0, flameout

// --- Sound FX definition ---

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

// --- editor parameters ---
TechRequired = specializedControl
entryCost = 1000
cost = 1150
category = Utility
subcategory = 0
title = Osiris LAS Jettison Motor SW-LAS-01-J
manufacturer = ShadowWorks
description = Attach this to the top of your capsule, just in case. Staging the jettison motor will jettison the launch abort system.

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

// --- standard part parameters ---
mass = 0.85
dragModelType = default
maximum_drag = 0.08
minimum_drag = 0.05
angularDrag = 2
crashTolerance = 7
maxTemp = 4000 

// --- solid booster parameters --- 

stagingIcon = SOLID_BOOSTER
ActivatesEvenIfDisconnected = true

//CoMOffset = 0, 1.5, 0

PhysicsSignificance = 1
bodyLiftMultiplier = 0
tags = solid bpc abort safety orion osiris shadowworks

// --- rcs module parameters ---

	EFFECTS
	{
		running
		{
			AUDIO_MULTI_POOL
			{
				channel = Ship
				transformName = rcsThruster
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 0.1 0.0
				volume = 0.5 0.025
				volume = 1.0 0.1
				pitch = 0.0 0.75
				pitch = 1.0 1.5
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = rcsThruster
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
		}		
	}
MODULE
{
	name = ModuleRCSFX
	rcsEnabled = False
	stagingEnabled = True
	thrusterTransformName = rcsThruster 
	thrusterPower = 5
	resourceName = MonoPropellant
	resourceFlowMode = STAGE_PRIORITY_FLOW
	runningEffectName = running
	atmosphereCurve
 	{
   	 key = 0 260
  	 key = 1 100
 	}
}

RESOURCE
{
	name = MonoPropellant
	amount = 250
	maxAmount = 250
}

RESOURCE
{
	name = SolidFuel
	amount = 100
	maxAmount = 200
}

MODULE
{
	name = ModuleDragModifier
	dragCubeName = Default
	dragModifier = 0.5
}

	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 1
		lookupRadius = 1.8
		
//		nodeOuterForeID = top
//		nodeOuterAftID = bottom
	}	

MODULE
{
	name = ModuleEngines
	thrustVectorTransformName = thrustTransform
	throttleLocked = True
	exhaustDamage = False
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 300
	heatProduction = 128
	useEngineResponseTime = True
	engineAccelerationSpeed = 10.0
	allowShutdown = False
	fxOffset = 0, 0, 0.0
	PROPELLANT
	{
		name = SolidFuel
        ratio = 1.0
		DrawGauge = False
	}
	atmosphereCurve
 	{
   	 key = 0 256
  	 key = 1 256
 	}
}

MODULE
{
    name = ModuleDecouple
    ejectionForce = 250
	explosiveNodeID = bottom
}
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 0
		lookupRadius = 1.625
		
		// nodeOuterAftID = bottom
		// nodeInnerAftID = top
	}

}