PART
{
	name = RIAC Refinery
	module = Part
	author = Caithloki
	mesh = Refinery.mu
	scale = 1
	rescaleFactor = 1
	PhysicsSignificance = 1
	node_stack_back = 0, 0, 0, 0, 0, 1, 0
	node_stack_front = 0, 0, 0, 0, 0, -1, 0
	TechRequired = miniaturization
	entryCost = 15000
	cost = 1000
	category = Structural
	subcategory = 0
	title = RIAC Refinery Pod
	manufacturer = RIAC Industries
	description = With the advent of far reaching probes and the need to refuel this small contained package for refining fuel was designed. They can be planted on any moon or planet (warrenty voided if landed on planets) to resupply any far reaching probes.
	attachRules = 1,0,1,1,0
	mass = 0.75
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	maxTemp = 2000 // = 3000
	bulkheadProfiles = size0, srf
	tags = connect cube frame girder scaffold structur truss
	MODULE
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Doors
		startEventGUIName = Open	
		endEventGUIName = Close		
	}
	RESOURCE
	{
		name = LiquidFuel
		amount = 18
		maxAmount = 18
	}
	RESOURCE
	{
		name = Oxidizer
		amount = 22
		maxAmount = 22
	}
	MODULE
	{
		 name = ModuleResourceConverter
		 ConverterName = Lf+Ox
		 StartActionName = Start ISRU [Lf+Ox]
		 StopActionName = Stop ISRU [Lf+Ox]	 
		AutoShutdown = true
		TemperatureModifier
		{
			key = 0 50000
			key = 750 25000
			key = 1000 5000
			key = 1250 2500	
			key = 2000 2500	
			key = 4000 0
		}				
		GeneratesHeat = true
		DefaultShutoffTemp = .8
		ThermalEfficiency 
		{
			key = 0 0 0 0
			key = 500 0.9 0 0
			key = 1000 1.0 0 0
			key = 1250 0.9 0 0
			key = 1500 0.5 0 0
			key = 3000 0.0 0 0 
		}



		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = ConverterSkill
		EfficiencyBonus = 1

		 
		 INPUT_RESOURCE
		 {
			ResourceName = Ore
			Ratio = 2.5
			FlowMode = STAGE_PRIORITY_FLOW
  		 }
		 INPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 30
		 }
		 OUTPUT_RESOURCE
		 {
			ResourceName = LiquidFuel
			Ratio = 0.225
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		 }
		 OUTPUT_RESOURCE
		 {
			ResourceName = Oxidizer
			Ratio = 0.275
			DumpExcess = false
			FlowMode = STAGE_PRIORITY_FLOW
		 }
	}
}
