//Kethane Pack Asset

PART
{

// --- general parameters ---
name = kethane_heavyDrill
module = Part
author = Keptin


// --- asset parameters ---
rescaleFactor = 0.01

// --- node definitions ---
node_stack_top = 0.0, 126, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -155, 0.0, 0.0, -1.0, 0.0, 1
node_attach = 60, 0.0, 0.0, 1.0, 0.0, 0.0


// --- editor parameters ---
cost = 6450
category = Utility
subcategory = 0
title = KE-X270 Heavy Drilling Unit
manufacturer = Organization of Kethane Equipment Producers
description = This hydraulic drilling pod solves the long-standing problem of having too much electrical power available on a spacecraft. While it does extract more Kethane per unit of energy expended, "energy efficient" isn't what this behemoth drill brings to mind.

TechRequired = advMetalworks
entryCost = 50

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

mass = 4
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_heavyDrill/model
   position = 0, -14.15, 0
   scale = 0.625, 0.625, 0.625
   rotation = 0, 0, 0
}

MODULE
{
    name = KethaneExtractor
    PowerConsumption = 24
    Resource
    {
        Name = Kethane
        Rate = 5
    }
    HeadTransform = heavyDrillHead
    TailTransform = heavyDrillShaft4
}

MODULE
{
    name = KethaneDrillAnimator
    DeployAnimation = idle
    DrillAnimation = idle0
}

MODULE
{
    name = KethaneParticleEmitter
    Label = gas

    ColorAnimation1 = 0.02,  0.025,  0.02
    ColorAnimation2 = 0.02,  0.025,  0.02
    ColorAnimation3 = 0.015, 0.018,  0.015
    ColorAnimation4 = 0.015, 0.018,  0.015
    ColorAnimation5 = 0, 0, 0

    ShaderName = Particles/Additive
    TextureName = Kethane/smoke

    Emit = False
    MaxParticleSize = 10
    UseWorldSpace = True

    EmitterScale = 0.5, 0.5, 0.5
    LocalVelocity = 0, 6, 0
    RandomVelocity = 5, 5, 5

    MaxEmission = 90
    MinEmission = 0
    MinEnergy = 1
    MaxSize = 2.5
    MinSize = 1.5

    AngularVelocity = 5
    RandomAngularVelocity = 15
    RandomRotation = True
}

MODULE
{
    name = KethaneParticleDynamics
    Emitter = gas
    DampingPressureExponent = -2.3
    GravityConstant = 1
    GravityPressure = -1.4
    MaxEnergyConstant = 5
    MaxEnergyPressure = 5
    RandomForcePressure = 8, 8, 8
    SizeGrowConstant = 0.25
    SizeGrowPressureExponent = -2.7
}

MODULE
{
    name = KethaneParticleEmitter
    Label = sparks

    ColorAnimation1 = 0.8, 0.8, 0.8
    ColorAnimation2 = 0.8, 0.8, 0.8
    ColorAnimation3 = 0.8, 0.8, 0.8
    ColorAnimation4 = 0.6517648, 0.3835294, 0.2023529
    ColorAnimation5 = 0, 0, 0

    ShaderName = Particles/Additive
    TextureName = Kethane/mote

    Emit = False
    MaxParticleSize = 1
    UseWorldSpace = True

    EmitterScale = 0.325, 0, 0.325
    LocalVelocity = 0, 7, 0
    RandomVelocity = 2, 3.5, 2

    MaxEmission = 10000
    MinEmission = 5000
    MinEnergy = 0.1
    MaxSize = 0.02
    MinSize = 0.01

    RenderMode = Stretch
    VelocityScale = 0.08
}

MODULE
{
    name = KethaneParticleDynamics
    Emitter = sparks
    GravityConstant = 1
    MaxEnergyConstant = 0.2
    SizeGrowConstant = -1
}

}
