@Kopernicus:FOR[OPX-NeidonPlus]:HAS[@OPX_NeidonPlus_Settings:HAS[#NisseeRevamp[True]]]
{
	!Body[Nissee] {}
	Body
    {
        name = Nissee

		Debug
		{
			exportMesh = true
			update = true
		}
		cacheFile = OPX-NeidonPlus/Cache/NisseeNew.bin	
        Template
        {
            name = Moho
			removeAllPQSMods = true
        }
        Properties
        {
			displayName = #LOC_OPX-NP_Nissee_Name
			radius = 32000
			geeASL = 0.05
			description = #LOC_OPX-NP_Nissee_Desc
			rotationPeriod = 27925
			rotates = true
			tidallyLocked = false
			initialRotation = 0
			isHomeWorld = false
			inverseRotThresholdAltitude = 20000
			timewarpAltitudeLimits = 0 1688 3375 6750 13500 27000 54000 108000
			ScienceValues
			{
				landedDataValue = 14
				splashedDataValue = 1
				flyingLowDataValue = 1
				flyingHighDataValue = 1
				inSpaceLowDataValue = 11
				inSpaceHighDataValue = 10
				recoveryValue = 11
				spaceAltitudeThreshold =  20000			
			}
			biomeMap = OPX-NeidonPlus/Textures/PluginData/Nissee_biome.png
            Biomes
            {
                Biome
                {
					name = Maximus Crater
                    displayName = #LOC_OPX-NP_Nissee_Biome_MC
                    value = 1.0
                    color = #b9ad91
                }
                Biome
                {
				    name = Companion Craters
                    displayName = #LOC_OPX-NP_Nissee_Biome_CC
                    value = 1.0
                    color = #cfaf82
                }
                Biome
                {
				    name = Ancient Craters
                    displayName = #LOC_OPX-NP_Nissee_Biome_AC
                    value = 1.0
                    color = #d5bf9e
                }
                Biome
                {
				    name = Young Craters
                    displayName = #LOC_OPX-NP_Nissee_Biome_YC
                    value = 1.0
                    color = #887a62
                }
                Biome
                {
				    name = Poles
                    displayName = #LOC_OPX-NP_Nissee_Biome_P
                    value = 1.0
                    color = #75644c
                }
                Biome
                {
				    name = Valerian Region
                    displayName = #LOC_OPX-NP_Nissee_Biome_VR
                    value = 1.0
                    color = #e5ded3
                }				
			}					
		}
        Orbit
        {
            referenceBody = Neidon
            color = 0.823529,0.705882,0.54902,1
            inclination = 29.56
            eccentricity = 0.72
			semiMajorAxis = 487743514
            longitudeOfAscendingNode = 66
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 2.04731106758118
            epoch = 1953406.32967385
	    	iconTexture = OPX-NeidonPlus/Textures/PluginData/Large.png
        }
		ScaledVersion
        {
			fadeStart = 42500
			fadeEnd = 85000
            Material
            {	
                shininess = 0
                specular = 0.0,0.0,0.0,1.0	
            }
			OnDemand
			{
				texture = OPX-NeidonPlus/Textures/PluginData/Nissee_color.dds
		        normals = OPX-NeidonPlus/Textures/PluginData/Nissee_normal.dds
			}
        }
		PQS
		{
			fadeStart = 85000
			fadeEnd = 170000
			deactivateAltitude = 170850
			materialType = AtmosphericExtra
			allowFootprints = True
			Material
			{
				saturation = 1
				contrast = 1
				tintColor = 1,1,1,0
				groundTexStart = 0
				groundTexEnd = 9000
				steepTexStart = 0
				steepTexEnd = 9000				
				steepTex = CTTP/Textures/PluginData/sand.dds
				steepBumpMap = CTTP/Textures/PluginData/sand_normal.dds
				steepNearTiling = 2500
				steepTiling = 25
				lowTex = CTTP/Textures/PluginData/gravel.dds
				lowBumpMap = CTTP/Textures/PluginData/gravel_normal.dds
				lowNearTiling = 5000
				lowMultiFactor = 50
				lowBumpNearTiling = 5000
				lowBumpFarTiling = 50
				midTex = CTTP/Textures/PluginData/sand.dds
				midBumpMap = CTTP/Textures/PluginData/sand_normal.dds
				midNearTiling = 5000
				midMultiFactor = 50
				midBumpNearTiling = 5000
				midBumpFarTiling = 50
				highTex = CTTP/Textures/PluginData/gravel.dds
				highBumpMap = CTTP/Textures/PluginData/gravel_normal.dds
				highNearTiling = 5000
				highMultiFactor = 50
				highBumpNearTiling = 5000
				highBumpFarTiling = 50			
				lowStart = 0
				lowEnd = 0.7
				highStart = 0.8
				highEnd = 1
			}
			Mods
			{
				VertexMitchellNetravaliHeightMap
				{
					map = OPX-NeidonPlus/Textures/PluginData/Nissee_height.dds
					offset = 0
					deformity = 10000
					scaleDeformityByRadius = false
					order = 10
					enabled = true
				}
				VertexSimplexHeight
				{
					deformity = 200
					frequency = 8
					octaves = 8
					persistence = 0.5
					seed = 5464552
					order = 20
					enabled = True
				}
				VertexSimplexHeightAbsolute
				{
					deformity = 100
					frequency = 12
					octaves = 8
					persistence = 0.5
					seed = 111231233
					order = 30
					enabled = True
				}				
				VertexHeightNoiseVertHeightCurve2
				{
					deformity = 200
					ridgedAddFrequency = 32
					ridgedAddLacunarity = 1
					ridgedAddOctaves = 8
					ridgedAddSeed = 36445323
					ridgedMode = Low
					ridgedSubFrequency = 24
					ridgedSubLacunarity = 2
					ridgedSubOctaves = 8
					ridgedSubSeed = 234321
					simplexFrequency = 24
					simplexHeightEnd = 6000
					simplexHeightStart = 0
					simplexOctaves = 8
					simplexPersistence = 0.5
					simplexSeed = 956434
					order = 40
					enabled = True
					simplexCurve
					{
						key = 0 0 0 0
						key = 0.6311918 0.4490898 1.432598 1.432598
						key = 1 1 0 0
					}
				}	
				VertexColorMap
				{
					map = OPX-NeidonPlus/Textures/PluginData/Nissee_color.dds
					order = 50
					enabled = true
				}
			}
		}	
    }
}	
