PART
{
	// --- general parameters ---
	name = OctoSat_Ut_FuelCell
	module = Part
	author = Nookos
	
	// --- Model ---
	
	MODEL
	{
		model = NSS/Parts/OctoSat_Ut_FuelCell
	}
	// --- asset parameters ---
	scale = 1
	rescaleFactor = 1

	// --- node definitions ---
	node_stack_side = 0, 0, 0, 1, 0, 0, 0

	// --- editor parameters ---
	TechRequired = advUnmanned
	entryCost = 3500
	cost = 950
	category = Electrical
	subcategory = 0
	title = OctoSat Fuel Cell
	manufacturer = NSS
	description = Did you know you can convert your fuel into electric charge? Turns out it is possible thanks to this module. Monopropellant or Liquid fuel + Oxidizer.
	// --- attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision ---
	attachRules = 1,0,0,1,0


	// --- standard part parameters ---
	mass = 0.06
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 2000

	bulkheadProfiles = srf
	tags = octosat array bank charge convert e/c elect energ pack power volt watt

	// --- resources ---
	RESOURCE
	{
		name = ElectricCharge
		amount = 75
		maxAmount = 75
	}
	// --- Modules ---
	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = Fuel Cell Lf+Ox
		StartActionName = Start Fuel Cell [Lf+Ox]
		StopActionName = Stop Fuel Cell [Lf+Ox]
		FillAmount = 0.95
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = false
 		 
		INPUT_RESOURCE
		{
			ResourceName = LiquidFuel
			Ratio = 0.001575
			FlowMode = STAGE_PRIORITY_FLOW
		}
		INPUT_RESOURCE
		{
			ResourceName = Oxidizer
			Ratio = 0.001925
			FlowMode = STAGE_PRIORITY_FLOW
		}
		OUTPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.5
			DumpExcess = false
		}
	}
	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = Fuel Cell Mp
		StartActionName = Start Fuel Cell [Mp]
		StopActionName = Stop Fuel Cell [Mp]
		FillAmount = 0.95
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = false
 
		 
		INPUT_RESOURCE
		{
			ResourceName = MonoPropellant
			Ratio = 0.0045
			FlowMode = STAGE_PRIORITY_FLOW
		}
		OUTPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.5
			DumpExcess = false
		}
	}
}
