PART
{
	name = RoverLand
	module = Part
	author = TD
	rescaleFactor = 1.28
	node_stack_roof = 0.0, -0.34687, -0.49331, 0, 0, -1, 1 // roof attachment point
	
	node_stack_fl = -0.07126, 0.71752, 0.18 ,-1, 0, 0, 1
	node_stack_fr = 0.07126, 0.71752, 0.18 ,1, 0, 0, 1
	node_stack_rl = -0.10391, -0.70193, 0.18 ,-1, 0, 0, 1
	node_stack_rr = 0.10391, -0.70193, 0.18 ,1, 0, 0, 1
	
	node_stack_top = 0.0, 1.01699, 0.21244, 0.0, 1.0, 0.0 //front bumper
	node_stack_bottom = 0.0, -1.19814, 0.1779, 0.0, -1.0, 0.0 //tow attach

	//node_attach = 0.0, 0.0, 5.12, 0.0, 0.0, -1.0, 1
	
    CoMOffset = 0.0, 0.07, 0.32	
	TechRequired = start
	entryCost = 5800
	cost = 1600
	category = Pods
	subcategory = 0
	title = Defender
	manufacturer = Kerbin Rover
	description = The latest long wheelbase Defender from KR
	attachRules = 1,0,1,1,0
	mass = 0.8
	dragModelType = default
	maximum_drag = 0.08
	minimum_drag = 0.08
	angularDrag = 1
	crashTolerance = 40
	maxTemp = 570
	skinMaxTemp = 800
	vesselType = Ship
	CrewCapacity = 7

	tags = command control ?iva pilot steer 
	MODEL
	{
		model = KerbinRover/Parts/Rover/NewModel
	}
	INTERNAL
	{
		name =  RoverInternal
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		maxAmount = 100
	}

	RESOURCE
	{
		name = LiquidFuel
		amount = 3.93
		maxAmount = 3.93
	}		
	RESOURCE
	{
		name = Oxidizer
		amount = 0
		maxAmount = 2
	}	

	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = Engine
		StartActionName = Start Your Engines Gentlemen
		StopActionName = Stop Your Engines Gentlemen
		FillAmount = 0.99
		AutoShutdown = false
		GeneratesHeat = true
		TemperatureModifier
		{
			key = 0 350
			key = 750 250
			key = 1000 30
		}
		UseSpecialistBonus = false

		 
		 INPUT_RESOURCE
		 {
			ResourceName = LiquidFuel
			Ratio = 0.000729
			FlowMode = STAGE_PRIORITY_FLOW
		 }
		 INPUT_RESOURCE
		 {
			ResourceName = IntakeAir
			Ratio = 0.1093
			FlowMode = STAGE_PRIORITY_FLOW
		 }			
			
		 OUTPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 23.59
			DumpExcess = false
		 }
	}

	MODULE
	{
		 name = ModuleResourceConverter
		 ConverterName = Fuel Cell
		 StartActionName = Start Fuel Cell
		 StopActionName = Stop Fuel Cell
		 FillAmount = 0.99
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = false
 
		 
		 INPUT_RESOURCE
		 {
			ResourceName = LiquidFuel
			Ratio = 0.000729
			FlowMode = STAGE_PRIORITY_FLOW
		 }
		 INPUT_RESOURCE
		 {
			ResourceName = Oxidizer
			Ratio = 0.00734
			FlowMode = STAGE_PRIORITY_FLOW
		 }			
			
		 OUTPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 25.59
			DumpExcess = false
		 }
	}
//	MODULE
//	{
//		name = ModuleCoreHeat
//		CoreTempGoal = 300					//Internal temp goal - we don't transfer till we hit this point
//		CoreToPartRatio = 0.2				//Scale back cooling if the part is this % of core temp
//		CoreTempGoalAdjustment = 0			//Dynamic goal adjustment
//		CoreEnergyMultiplier = 0.1			//What percentage of our core energy do we transfer to the part
//		HeatRadiantMultiplier = 0.25		//If the core is hotter, how much heat radiates?
//		CoolingRadiantMultiplier = 0		//If the core is colder, how much radiates?
//		HeatTransferMultiplier = 0			//If the part is hotter, how much heat transfers in?
//		CoolantTransferMultiplier = 0.01	//If the part is colder, how much of our energy can we transfer?
//		radiatorCoolingFactor = 1			//How much energy we pull from core with an active radiator?  >= 1
//		radiatorHeatingFactor = 0.05		//How much energy we push to the active radiator
//		MaxCalculationWarp = 1000			//Based on how dramatic the changes are, this is the max rate of change
//		CoreShutdownTemp = 1000				//At what core temperature do we shut down all generators on this part?
//		MaxCoolant = 100					//Maximum amount of radiator capacity we can consume - 50 = 1 small
//	}
	MODULE
	{
		name = ModuleActiveRadiator
		maxEnergyTransfer = 200
		overcoolFactor = 0.25
		isCoreRadiator = true
		parentCoolingOnly = true
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.0025
		}		
	}	
	
	MODULE
	{
		name = FlagDecal
		textureQuadName = Flag
	}
	MODULE
	{
		name = ModuleScienceExperiment
		experimentID = crewReport
		experimentActionName = Crew Report
		resetActionName = Discard Crew Report
		reviewActionName = Review Report
		useStaging = False
		useActionGroups = True
		hideUIwhenUnavailable = True
		rerunnable = True
		xmitDataScalar = 1.0
		usageReqMaskInternal = 5
		usageReqMaskExternal = -1
	}
	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = Review Stored Data
		storeActionName = Store Experiments
		evaOnlyStorage = True
		storageRange = 1.3
	}
	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.0026
		intakeSpeed = 5
		intakeTransformName = Intake
		machCurve
		{
			key = 1 1 0 0
			key = 1.5 0.9 -0.4312553 -0.4312553
			key = 2.5 0.45 -0.5275364 -0.5275364
			key = 3.5 0.1 0 0
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 0.00
		maxAmount = 0.02
	}
	MODULE
	{
		name = ModuleLight
		lightName = Spotlight
		useAnimationDim = false
		lightBrightenSpeed = 2.5
		lightDimSpeed = 2.5
		resourceAmount = 0.3
		animationName = CompiledAnimation
		useResources = true
	}

}


@PART[RoverLand]:NEEDS[Firespitter]
{
    %MODULE[FStextureSwitch2]
	{
		%objectNames = LR
		%textureRootFolder = KerbinRover/Parts/Rover/
		%textureNames = Rover;RoverSantoriniBlack;RoverHavana;RoverMontalcinoRed;RoverCorrisGrey;RoverIndusSilver;RoverKeswickGreen;RoverPinkP;RoverFujiWhite;RoverFujiWhite2;RoverScotiaGrey;RoverOzCamo;RoverDPMWoodland2Fine
		%textureDisplayNames = Explorer Special;Santorini Black;Havana;Montalcino Red;Corris Grey;Indus Silver;Keswick Green;Pink Panther;Fuji White (Contrast Roof);Fuji White;Scotia Grey;Australia MultiCam;British DPM Woodland 2
		%nextButtonText = Next Paint Job
		%prevButtonText = Previous Paint Job
		%statusText = Chosen Paint Colours
		%switchableInFlight = false
		%repaintableEVA = true
		
	}
}