PATH_SCIENCE
{
	author = Angel-125
	name = Sunburn
	title = Sunburn Fusion Lab
	shortName = Sunburn Lab
	description = The Sunburn lab is configured to produce fusion pellets for fusion reactors and engines as well as coolan for radiators.
	mass = 3
	requiredResource = Equipment
	requiredAmount = 1200
	reconfigureSkill = ConverterSkill
	logoPanel = WildBlueIndustries/Pathfinder/Decals/Sunburn
	glowPanel = WildBlueIndustries/Pathfinder/Decals/SunburnGlow
	toolTip = Be sure to bring your sunscreen, the Sunburn lab is hot stuff! Create fusion pellets in the lab, and/or coolant for your radiators.
	toolTipTitle = Your First Sunburn Lab!
	templateTags = orbitalWorkshop;moleLab;dsevLab;airshipLab

	MODULE:NEEDS[DSEV]
	{
		name = ModuleResourceConverter
		ConverterName = Coolant
		StartActionName = Start Coolant
		StopActionName = Stop Coolant
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1

		 
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 1
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio = 5
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = Minerals
			Ratio = 3
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 30
		}

		OUTPUT_RESOURCE
		{
			ResourceName = Coolant
			Ratio = 0.21
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		}
	}

	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = FusionPellets
		StartActionName = Start Fusion Pellets
		StopActionName = Stop Fusion Pellets
		AutoShutdown = true
		GeneratesHeat = false
		DefaultShutoffTemp = .8
		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1

		TemperatureModifier
		{
			key = 0 100000
			key = 750 50000
			key = 1000 10000
			key = 1250 500	
			key = 2000 50	
			key = 4000 0
		}				
		ThermalEfficiency 
		{
			key = 0 0 0 0
			key = 500 0.1 0 0
			key = 1000 1.0 0 0
			key = 1250 0.1 0 0
			key = 3000 0 0 0 
		}
	 
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio = 15
			FlowMode = STAGE_PRIORITY_FLOW
  		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 1.5
			FlowMode = STAGE_PRIORITY_FLOW
  		}
		INPUT_RESOURCE
		{
			ResourceName = Minerals
			Ratio = 0.01
			FlowMode = STAGE_PRIORITY_FLOW
  		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 30
		}
		OUTPUT_RESOURCE
		{
			ResourceName = FusionPellets
			Ratio = 0.00045
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Oxygen
			Ratio = 27.78
			DumpExcess = true
			FlowMode = STAGE_PRIORITY_FLOW
		}
		OUTPUT_RESOURCE
		{
			ResourceName = LqdHydrogen
			Ratio = 0.78455
			DumpExcess = true
			FlowMode = STAGE_PRIORITY_FLOW
		}
	}

	MODULE
	{
		name = WBIEfficiencyMonitor
		efficiencyType = science
		harvestType = 0
	}

	RESOURCE
	{
		name = ElectricCharge
		amount = 200
		maxAmount = 200
		isTweakable = false
	}

	RESOURCE
	{
		name = Water
		amount = 600
		maxAmount = 600
		isTweakable = true
	}

	RESOURCE
	{
		name = Minerals
		amount = 600
		maxAmount = 600
		isTweakable = true
	}

	RESOURCE
	{
		name = Ore
		amount = 600
		maxAmount = 600
		isTweakable = true
	}

	RESOURCE
	{
		name = FusionPellets
		amount = 600
		maxAmount = 600
		isTweakable = true
	}

	RESOURCE
	{
		name = Coolant
		amount = 600
		maxAmount = 600
		isTweakable = true
	}

}

@PATH_SCIENCE[Sunburn]:FOR[Pathfinder]:NEEDS[DeepFreeze]
{
	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = Glykerol
		StartActionName = Start Glykerol
		StopActionName = Stop Glykerol
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1

		 
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 13.2
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = XenonGas
			Ratio = 6
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 24.4
		}

		OUTPUT_RESOURCE
		{
			ResourceName = Glykerol
			Ratio = .006
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		}
	}

	RESOURCE
	{
		name = Glykerol
		amount = 600
		maxAmount = 600
		isTweakable = true
	}
}