// RealismOverhaul.cfg v1.4.0.0
// Sea Dragon (SEA)
// created: 25 Mar 2016
// updated: 21 Jan 2023

// this file: CC BY-SA 4.0 by zer0Kerbal and MacLuky

// [MacLuky](https://forum.kerbalspaceprogram.com/index.php?/profile/138597-macluky/)
// https://kerbal-forum-uploads.s3.us-west-2.amazonaws.com/monthly_2017_02/images.jpeg.827a2a27ac64dfb30eb89f360074c2b9.thumb.jpeg.a8b337244a05ae09756c6eac3830bd4a.jpeg
// https://forum.kerbalspaceprogram.com/index.php?/topic/134934-1213-real-scale-sea-dragon-034-2016-07-12/&do=findComment&comment=3938154

// tanks
@PART[sea-tankStage1|sea-tankStage2|sea-tankStage3]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        %RSSROConfig = True
        %rescaleFactor = 1

        // similar to Titan 4
        @maxTemp = 900
        %skinMaxTemp = 2000
        %emissiveConstant = 0.6
        %thermalMassModifier = 1.0
        %skinMassPerArea = 4

        !RESOURCE, * {}

        MODULE
        {
                name = ModuleFuelTanks
                basemass = -1
        }
}

@PART[sea-tankStage1]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        // Capacity: 25,613,380 lbs, or 11,618,033 kg: in 5kg units: 2,323,606
        // Should be RP-1 (kerosene) and LOX)
        @MODULE[ModuleFuelTanks]
        {
                volume = 10600000
                type = Tank-Sep-Steel-HP
        }
        @description ^=:$: <color=blue>fill with RP-1 and LOX</color>
}

@PART[sea-tankStage2]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        // Capacity: 9,676,554 lbs, or 4,389,211 kg: in 5kg units: 877,842
        // Should be LH2 and LOX
        @MODULE[ModuleFuelTanks]
        {
                volume = 12500000
                type = Tank-Sep-Steel-HP
        }
        @description ^=:$: <color=blue>fill with LH2 and LOX</color>
}

@PART[sea-tankStage3]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        // 292614 units
        // Should be LH2 and LOX
        @MODULE[ModuleFuelTanks]
        {
                volume = 292614*5
                type = Tank-Sep-Steel-HP
        }
        @description ^=:$: <color=blue>fill with LH2 and LOX</color>
}

// engines
@PART[sea-engineStage1|sea-engineStage2|sea-engineTVC]:FOR[RealismOverhaul]
{
    @maxTemp = 900
    %skinMaxTemp = 2000
    %emissiveConstant = 0.6
    %thermalMassModifier = 1.0
    %skinMassPerArea = 4

    %RSSROConfig = True
    %rescaleFactor = 1

    !MODULE[ModuleAlternator] {}
    !RESOURCE[ElectricCharge] {}
}


@PART[sea-engineStage1|sea-engineTVC]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        @MODULE[ModuleEnginesFX],0
        {
                @heatProduction = 100
                %ullage = True
                %pressureFed = False
                %ignitions = 1

                @PROPELLANT[LiquidFuel]
                {
                        @name = Kerosene
                        @ratio = 0.38264
                }

                @PROPELLANT[Oxidizer]
                {
                        @name = LqdOxygen
                        @ratio = 0.61736
                }

                IGNITOR_RESOURCE
                {
                    name = ElectricCharge
                    amount = 0.8
                }
        }
}

@PART[sea-engineStage2]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
        @MODULE[ModuleEnginesFX],0
        {
                @heatProduction = 100
                %ullage = True
                %pressureFed = True
                %ignitions = 2

                @PROPELLANT[LiquidFuel]
                {
                    @name = LqdHydrogen
                    @ratio = 0.745
                }
                @PROPELLANT[Oxidizer]
                {
                    @name = LqdOxygen
                    @ratio = 0.255
                }

                IGNITOR_RESOURCE
                {
                    name = ElectricCharge
                    amount = 0.8
                }
        }
}

// other
@PART[sea-tankBallast]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
    %RSSROConfig = True
  %rescaleFactor = 1
}

@PART[sea-fairing23m]:NEEDS[RealismOverhaul]:FOR[SeaDragon]
{
    %RSSROConfig = True
  %rescaleFactor = 1
}
 