PART
{

name = kethane_generator
module = Part
author = Keptin

rescaleFactor = 1

node_stack_top = 0.0, 0.40, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.40, 0.0, 0.0, -1.0, 0.0, 1

cost = 1900
category = Utility
subcategory = 0
title = KE-G35 Kethoelectric Reactor Unit
manufacturer = Organization of Kethane Equipment Producers
description = Constructed from fragments of destroyed solar panels, the KE-G35 is a remarkably efficient Kethane-powered electrical generator. The exhaust manifold captures and stores some of the Xenon gas dissolved in the fuel, making this a versatile unit for exploration and drilling. The generator automatically regulates its output in order to save fuel.

TechRequired = experimentalElectrics
entryCost = 50

attachRules = 1,0,1,0,0

mass = 0.3
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
breakingForce = 50
breakingTorque = 50
maxTemp = 2900
fuelCrossFeed = True

MODEL
{
   model = Kethane/Parts/kethane_generator/model
   position = 0, -0.40, 0
   scale = 0.61, 0.61, 0.61
   rotation = 0, 0, 0
}

MODULE
{
    name = KethaneGenerator
    KethaneRate = 0.5
    PowerRate = 75
    XenonMassRatio = 0.04
    MaxEmission = 300
    MinEmission = 100
}

MODULE
{
    name = KethaneParticleEmitter
    Label = exhaust

    ColorAnimation1 = 0.02,  0.021,  0.024
    ColorAnimation2 = 0.015, 0.016,  0.017
    ColorAnimation3 = 0.004, 0.004, 0.005
    ColorAnimation4 = 0.001, 0.001, 0.0014
    ColorAnimation5 = 0, 0, 0

    ShaderName = Particles/Additive
    TextureName = Kethane/smoke

    MaxParticleSize = 10
    UseWorldSpace = True

    EmitterPosition = 0, 0.25, 0.5
    EmitterScale = 0.1, 0.1, 0.1
    LocalVelocity = 0, -0.5, 3
    RandomVelocity = 2.5, 2.5, 2.5

    MinEnergy = 0.25
    MaxSize = 0.75
    MinSize = 0.25

    AngularVelocity = 0
    RandomAngularVelocity = 25
    RandomRotation = True
}

MODULE
{
    name = KethaneParticleDynamics
    Emitter = exhaust
    DampingPressureExponent = -2.3
    GravityConstant = 1
    GravityPressure = -1.5
    MaxEnergyConstant = 2
    MaxEnergyPressure = 1.5
    RandomForcePressure = 16, 16, 16
    SizeGrowConstant = 0.25
    SizeGrowPressureExponent = -2.7
}

}
