PART
{

    name = eridani_crew_s2_s1p5_2
    module = Part
    author = tantares

    MODEL
    {
    model = vRAGTW/Parts/core_mir/eridani_crew_s2_s1p5_2
    }
    MODEL
	{
		model = Tantares/parts/misc_endcaps/end_crew_s1p5_s0p5
		scale = 1.0, 1.0, 1.0
		position = 0.0, 0.375, 0.0
	}
    MODEL
	{
		model = Tantares/parts/misc_endcaps/end_crew_s2_s0p5
		scale = 1.0, -1.0, 1.0
		position = 0.0, -0.375, 0.0
	}
    scale = 1.0
    rescaleFactor = 1.0

    node_stack_bottom = 0.0, -0.375, 0.0, 0.0, -1.0, 0.0, 2
    node_stack_top    = 0.0,  0.375, 0.0, 0.0, 1.0, 0.0, 1

    bulkheadProfiles = size2, size1p5

    attachRules = 1,0,1,1,0

    TechRequired = composites
    entryCost = 2500
    cost = 500

    category     = Utility
    subcategory  = 0
    title        = #LOC_tantares_eridani_crew_s2_s1p5_2
    manufacturer = #LOC_tantares_manufacturer_alnair
    description  = #LOC_tantares_eridani_crew_s2_s1p5_2_description

    tags = #LOC_tantares_eridani_crew_s2_s1p5_1_tags

    mass = 0.25

    dragModelType  = default
    maximum_drag   = 0.20
    minimum_drag   = 0.15
    angularDrag    = 2
    crashTolerance = 10
    breakingTorque = 500
	breakingForce = 500
	maxTemp        = 1200

    vesselType = Station
	CrewCapacity = 1

    INTERNAL
	{
		name = eridani_crew_s2_s1p5_1_interior
	}

    MODULE
    {
        name = ModuleProceduralFairing
        BaseModelTransformName = mesh1_mesh1_auv
            
        nSides = 30
        nArcs = 2
        nCollidersPerXSection = 9
        TextureURL = Tantares/parts/misc_fairings/texture_fairing_white
        CapTextureURL = Tantares/parts/misc_fairings/texture_fairing_black
            
        panelGrouping = 3
        pivot = 0,-0.3375,0
        axis = 0,1,0
            
        baseRadius = 1.25
        maxRadius = 2.5
        capRadius = 0.375
        snapThreshold = 0.1
            
        xSectionHeightMin = 0.3
        xSectionHeightMax = 3
            
        edgeSlide = 0.075
        edgeWarp = 0.01
        noseTip = 0.5
            
        UnitAreaMass = 0.012
        UnitAreaCost = 12
            
        stagingToggleEnabledEditor = True
        stagingToggleEnabledFlight = True
        stagingEnableText = Fairing Not Staged
        stagingDisableText = Fairing Staged

        useClamshell = True
    }

    MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = Toggle Lights
		eventOnName = Lights On
		eventOffName = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}

    MODULE
	{
		name = ModulePartVariants
		baseVariant = variant1
		VARIANT
		{
			name = variant1
			displayName = #LOC_tantares_variant_tantares_cream
			primaryColor = #a69f95
			secondaryColor = #a69f95
			sizeGroup = GroupA

			TEXTURE
			{
				materialName = mesh1_mesh1_auv
				mainTextureURL = Tantares/parts/core_mir/texture_eridani_general_1
				_BumpMap = Tantares/parts/core_mir/texture_eridani_general_1_NRM
			}
			EXTRA_INFO
			{
				FairingsTextureURL = Tantares/parts/misc_fairings/texture_fairing_white
                BaseTextureName = Tantares/parts/core_mir/texture_eridani_general_1
				BaseNormalsName = Tantares/parts/core_mir/texture_eridani_general_1_NRM
			}
		}
		VARIANT
		{
			name = variant2
			displayName = #LOC_tantares_variant_tantares_yellow
			primaryColor = #b38b36
			secondaryColor = #b38b36
			sizeGroup = GroupA

			TEXTURE
			{
				materialName = mesh1_mesh1_auv
				mainTextureURL = Tantares/parts/core_mir/texture_eridani_general_1_alternate
				_BumpMap = Tantares/parts/core_mir/texture_eridani_general_1_NRM
			}
			EXTRA_INFO
			{
				FairingsTextureURL = Tantares/parts/misc_fairings/texture_fairing_white
                BaseTextureName = Tantares/parts/core_mir/texture_eridani_general_1_alternate
				BaseNormalsName = Tantares/parts/core_mir/texture_eridani_general_1_NRM
			}
		}
	}
}