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 coolant for radiators.
	mass = 3
	requiredResource = Equipment
	requiredAmount = 1200
	reconfigureSkill = ConverterSkill
	logoPanel = WildBlueIndustries/000WildBlueTools/Decals/Factory_Fusion
	glowPanel = WildBlueIndustries/000WildBlueTools/Decals/Factory_FusionGlow
	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 = Minerals
			Ratio = 0.02
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 30
		}

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

	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = FusionPellets H2O
		StartActionName = Start Fusion Pellets H2O
		StopActionName = Stop Fusion Pellets H2O
		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 = Water
			Ratio = 1.08
			FlowMode = STAGE_PRIORITY_FLOW
  		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 75
		}
		OUTPUT_RESOURCE
		{
			ResourceName = FusionPellets
			Ratio = 0.5
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		}
	}

	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = FusionPellets D-He3
		StartActionName = Start Fusion Pellets D-He3
		StopActionName = Stop Fusion Pellets D-He3
		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 = LqdDeuterium
			Ratio = 0.5
			FlowMode = STAGE_PRIORITY_FLOW
		}
		INPUT_RESOURCE
		{
			ResourceName = LqdHe3
			Ratio = 0.75
			FlowMode = STAGE_PRIORITY_FLOW
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 75
		}
		OUTPUT_RESOURCE
		{
			ResourceName = FusionPellets
			Ratio = 0.525
			DumpExcess = false
			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 = Hydrates
			Ratio = 0.3
			FlowMode = STAGE_PRIORITY_FLOW
		}

		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 13.5
		}

		OUTPUT_RESOURCE
		{
			ResourceName = Glykerol
			Ratio = 0.0375
			FlowMode = STAGE_PRIORITY_FLOW
		}
	}

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