Difference between revisions of "Parts/Resources/FuelCell/FuelCell.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Update part config)
m (Update config)
 
Line 18: Line 18:
 
category = Electrical
 
category = Electrical
 
subcategory = 0
 
subcategory = 0
title = Fuel Cell
+
title = #autoLOC_500646 //#autoLOC_500646 = Fuel Cell
manufacturer = Zaltonic Electronics
+
manufacturer = #autoLOC_501636 //#autoLOC_501636 = Zaltonic Electronics
description = A small fuel cell that allows fuel and oxidizer to be converted into energy.  Handy for those places where a solar panel will not do.  Also handy for re-heating snacks.
+
description = #autoLOC_500647 //#autoLOC_500647 = A small fuel cell that allows fuel and oxidizer to be converted into energy.  Handy for those places where a solar panel will not do.  Also handy for re-heating snacks.
 
attachRules = 0,1,0,0,0
 
attachRules = 0,1,0,0,0
  
Line 32: Line 32:
 
maxTemp = 2000 // = 3000
 
maxTemp = 2000 // = 3000
 
bulkheadProfiles = srf
 
bulkheadProfiles = srf
tags = array bank charge convert e/c elect energ pack power volt watt
+
tags = #autoLOC_500648 //#autoLOC_500648 = array bank charge convert e/c elect energ pack power volt watt
  
 
MODULE
 
MODULE
 
{
 
{
 
name = ModuleResourceConverter
 
name = ModuleResourceConverter
ConverterName = Fuel Cell
+
ConverterName = #autoLOC_502022 //#autoLOC_502022 = Fuel Cell
StartActionName = Start Fuel Cell
+
StartActionName = #autoLOC_502023 //#autoLOC_502023 = Start Fuel Cell
StopActionName = Stop Fuel Cell
+
StopActionName = #autoLOC_502024 //#autoLOC_502024 = Stop Fuel Cell
ToggleActionName = Toggle Fuel Cell
+
ToggleActionName = #autoLOC_502025 //#autoLOC_502025 = Toggle Fuel Cell
 
FillAmount = 0.95
 
FillAmount = 0.95
 
AutoShutdown = false
 
AutoShutdown = false
Line 74: Line 74:
 
amount = 50
 
amount = 50
 
maxAmount = 50
 
maxAmount = 50
 +
}
 +
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 50
 
}
 
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 07:28, 15 October 2024

This is the configuration file for Fuel Cell.
PART
{
name = FuelCell
module = Part
author = RoverDude

MODEL
{
	model = Squad/Parts/Resources/FuelCell/FuelCell
}
rescaleFactor = 1

node_attach = 0, 0, 0, 1, 0, 0, 0

TechRequired = largeElectrics
entryCost = 2250
cost = 750
category = Electrical
subcategory = 0
title = #autoLOC_500646 //#autoLOC_500646 = Fuel Cell
manufacturer = #autoLOC_501636 //#autoLOC_501636 = Zaltonic Electronics
description = #autoLOC_500647 //#autoLOC_500647 = A small fuel cell that allows fuel and oxidizer to be converted into energy.  Handy for those places where a solar panel will not do.  Also handy for re-heating snacks.
attachRules = 0,1,0,0,0

// --- standard part parameters ---
mass = 0.05
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000 // = 3000
bulkheadProfiles = srf
tags = #autoLOC_500648 //#autoLOC_500648 = array bank charge convert e/c elect energ pack power volt watt

	MODULE
	{
		 name = ModuleResourceConverter
		 ConverterName = #autoLOC_502022 //#autoLOC_502022 = Fuel Cell
		 StartActionName = #autoLOC_502023 //#autoLOC_502023 = Start Fuel Cell
		 StopActionName = #autoLOC_502024 //#autoLOC_502024 = Stop Fuel Cell
		 ToggleActionName = #autoLOC_502025 //#autoLOC_502025 = Toggle Fuel Cell
		 FillAmount = 0.95
		AutoShutdown = false
		GeneratesHeat = false
		UseSpecialistBonus = false
 
		 
		 INPUT_RESOURCE
		 {
			ResourceName = LiquidFuel
			Ratio = 0.0016875
			FlowMode = STAGE_PRIORITY_FLOW
		 }
		 INPUT_RESOURCE
		 {
			ResourceName = Oxidizer
			Ratio = 0.0020625
			FlowMode = STAGE_PRIORITY_FLOW
		 }
		 OUTPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 1.5
			DumpExcess = false
		 }
	}


	
	RESOURCE
	{
		name = ElectricCharge
		amount = 50
		maxAmount = 50
	}

	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 50
	}
}