@Kopernicus:FOR[OPX-NeidonPlus]
{
    !Body[Neidon]  {}
	Body
    {
        name = Neidon

		Debug
		{
			exportMesh = false
			update = false
		}
		Template
        {
            name = Jool
        }	
        Properties
        {
			displayName = #LOC_OPX-NP_Neidon_Name
            description = #LOC_OPX-NP_Neidon_Desc
            radius = 2450000
			geeASL = 1.15
			rotationPeriod = 17000
			rotates = true
            tidallyLocked = false
            initialRotation = 0
            isHomeWorld = false
			timewarpAltitudeLimits = 0 20109 40219 80438 160875 321750 643500 1287000
			ScienceValues
			{
				landedDataValue = 30
				splashedDataValue = 1
				flyingLowDataValue = 15
				flyingHighDataValue = 12
				inSpaceLowDataValue = 10
				inSpaceHighDataValue = 9
				recoveryValue = 10
				flyingAltitudeThreshold = 100000
				spaceAltitudeThreshold =  1500000
			}
			biomeMap = OPX-NeidonPlus/Textures/PluginData/Neidon_biome.png
			Biomes
			{
				Biome
				{
					name = Equatorial Zone
					displayName = #LOC_OPX-NP_Neidon_Biome_EZ
					value = 0.8
					color = #ffffff
				}
				Biome
				{
					name = South Tropical Zone
					displayName = #LOC_OPX-NP_Neidon_Biome_STrZ
					value = 1
					color = #c5a7fb
				}
				Biome
				{
					name = Equatorial Turbulence
					displayName = #LOC_OPX-NP_Neidon_Biome_ET
					value = 0.8
					color = #0000ff
				}
				Biome
				{
					name = North Tropical Zone // Changed name from South TZ
					displayName = #LOC_OPX-NP_Neidon_Biome_NTrZ
					value = 1
					color = #9d7ada
				}
				//Biome - Doesnt seem to be present on the biome map, commenting out for now
				//{
				//	name = South Temperate Belt
				//	displayName = #LOC_OPX-NP_Neidon_Biome_STB
				//	value = 1
				//	color = #cabfe1
				//}
				Biome
				{
					name = South Temperate Zone
					displayName = #LOC_OPX-NP_Neidon_Biome_STeZ
					value = 1
					color = #9f9ac9
				}
				Biome
				{
					name = South Polar Belt
					displayName = #LOC_OPX-NP_Neidon_Biome_SPB
					value = 1
					color = #39235e
				}
				Biome
				{
					name = South Pole
					displayName = #LOC_OPX-NP_Neidon_Biome_SP
					value = 1.2
					color = #b700ff
				}
				Biome
				{
					name = Great Dark Spot
					displayName = #LOC_OPX-NP_Neidon_Biome_GDS
					value = 1.5
					color = #42005c
				}
				Biome
				{
					name = North Polar Belt
					displayName = #LOC_OPX-NP_Neidon_Biome_NPB
					value = 1
					color = #241656
				}
				Biome
				{
					name = North Temperate Zone
					displayName = #LOC_OPX-NP_Neidon_Biome_NTeZ
					value = 1
					color = #7860c1
				}
				Biome
				{
					name = North Pole
					displayName = #LOC_OPX-NP_Neidon_Biome_NP
					value = 1.2
					color = #99e9b7
				}
				Biome
				{
					name = Polar Pentagon
					displayName = #LOC_OPX-NP_Neidon_Biome_PP
					value = 1.2
					color = #97fffb
				}
			}				
        }
        Orbit
        {
            referenceBody = Sun
            color = 0.415686,0.352941,0.803922,1
            inclination = 1.27
            eccentricity = 0.0127567
            semiMajorAxis = 409355191706
            longitudeOfAscendingNode = 259
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 2.27167344093323
            epoch = 99.6799999999973
        }
		Atmosphere
		{
			ambientColor = 0.781,0.882,0.697,1
			lightColor = 0.781,0.882,0.697,1
			enabled = true
			oxygen = false            
			albedo = 0.41
			altitude = 260000.0
			staticPressureASL = 607.95
			pressureCurve
			{
				key = 0 607.95 0 -0.0175180
				key = 20000 312.958 -0.0120652 -0.0120652
				key = 40000 133.036 -0.00614003 -0.00614003
				key = 60000 51.5595 -0.00246703 -0.00246703
				key = 80000 19.8192 -0.000953029 -0.000953029
				key = 100000 7.40557 -0.000371008 -0.000371008
				key = 120000 2.71404 -0.000135342 -0.000135342
				key = 140000 1.02383 -4.83295E-05 -4.83295E-05
				key = 160000 0.416679 -1.77566E-05 -1.77566E-05
				key = 180000 0.184984 -7.20029E-06 -7.20029E-06
				key = 205000 0.0716413 -2.67217E-06 -2.67217E-06
				key = 235000 0.0237546 -8.64690E-07 -8.64690E-07
				key = 260000 0 0 0
			}

			pressureCurveIsNormalized = false            
            temperatureSeaLevel = 90

			temperatureCurve
			{
				key = 0 90 0 -0.00114286
				key = 15750 72 -0.00114286 -0.00114286
				key = 83250 53 -0.0001614 -0.0001614
				key = 133750 53 0.0001614 0.0001614
				key = 189750 67 8.82E-05 8.82E-05
				key = 260000 70 0 0
			}

			temperatureCurveIsNormalized = false
			temperatureLapseRate = 0.0024
			temperatureSunMultCurve = true

			temperatureSunMultCurve
			{

				key = 0 0 0 0
				key = 83250 0 0 0
				key = 133750 0.5 1.132E-05 1.132E-05
				key = 260000 1 0 0
			}
			temperatureLatitudeSunBiasCurve
			{
				key = 0 0 0 0
				key = 90 -4 0 0
			}

			temperatureLatitudeSunMultCurve
			{
				key = 0 4 0 0
				key = 90 0 0 0
			}

			temperatureEccentricityBiasCurve
			{
				key = 0 0 0 0
				key = 1 0 0 0
			}

			adiabaticIndex = 1.426
			gasMassLapseRate = 2.06477390407027
			atmosphereMolarMass = 0.0028
		}
        ScaledVersion
        {
            Material
            {	
				Gradient
                {
                    0.0 = 0.62353,0.43922,0.99608,1
                    0.6 = 0.0549,0.0784,0.141,1
                    1.0 = 0.0196,0.0196,0.0196,1
                }
            }
			OnDemand
			{
				texture = OPX-NeidonPlus/Textures/PluginData/Neidon_Color.dds
                normals = OPX-NeidonPlus/Textures/PluginData/Neidon_Normal.dds
			}			
        }
        Rings
		{
			Ring
			{
				innerRadius = 2160
				outerRadius = 2695
				texture = OPX-NeidonPlus/Textures/PluginData/Neidon_rings_main.dds
				useNewShader = true
				color = 1,1,1,1
				lockRotation = false
				penumbraMultiplier = 10
				steps = 2048
				name = rings
			}
			Ring
			{
				innerRadius = 3080
				outerRadius = 3150
				angle = 0
				longitudeOfAscendingNode = 0
				texture = OPX-NeidonPlus/Textures/PluginData/Neidon_rings_arc.dds
				useNewShader = true
				color = 1,1,1,1
				lockRotation = false
				rotationPeriod = 16384
				penumbraMultiplier = 10
				steps = 1024
				tiles = 1
				name = arc
			}
		}
    }
}
@Kopernicus:FOR[OPX-NeidonPlus]:HAS[@OPX_NeidonPlus_Settings:HAS[#NeidonTextureChange[False]]]
{
	@Body[Neidon]
	{
		@ScaledVersion
		{
			@OnDemand
			{
				%texture = OPM/OPM_Textures/PluginData/Neidon_color.dds
				%normals = OPX-NeidonPlus/Textures/PluginData/Flat_NRM.dds
			}
		}
	}
}
