// Bi-prop
@PART[B9_Structure_HX_S_RCS_F1|B9_Structure_HX_S_RCS_L1]
{
	@description ^= :$: <br><color="green">This part can change its RCS fuel mix.</color>
	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = HXRCSSwitch
		switcherDescription = RCS Fuel Mix
		switcherDescriptionPlural = RCS Fuel Mixes
		switchInFlight = True
		SUBTYPE
		{
			name = LFO
			title = Kerolox
			primaryColor = ResourceColorLiquidFuel
			secondaryColor = ResourceColorOxidizer
			defaultSubtypePriority = 2 // Highest is default
			descriptionSummary = 
			descriptionDetail = Uses the stock LiquidFuel & Oxidizer mix, and uses it very well.<br><b>Isp:</b> 250 s ASL / <color="yellow">290 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running
					PROPELLANT
					{
						name = LiquidFuel
						ratio = 0.45
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					PROPELLANT
					{
						name = Oxidizer
						ratio = 0.55
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 290
						key = 1 250
						key = 7 0.001
					}
				}
			}
		}
		SUBTYPE
		{
			name = LH2O
			title = PropLox
			primaryColor = ResourceColorLqdHydrogen
			secondaryColor = ResourceColorOxidizer
			defaultSubtypePriority = 1
			descriptionSummary = 
			descriptionDetail = Uses the Propellium & Oxidizer mix.<br><b>Isp:</b> 240 s ASL / <color="yellow">310 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running
					PROPELLANT
					{
						name = Propellium
						ratio = 1.5
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					PROPELLANT
					{
						name = Oxidizer
						ratio = 0.1
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 310
						key = 1 240
						key = 7 0.001
					}
				}
			}
		}
	}
}

// Single-prop
@PART[B9_Structure_HX_S_RCS_F|B9_Structure_HX_S_RCS_L]
{
	@description ^= :$: <br><color="green">This part can change its RCS fuel mix.</color>
	@MODULE[ModuleRCSFX]
	{
		@atmosphereCurve
		{
			!key,* = nope
			key = 0 260
			key = 1 100
			key = 5 0.001
		}
	}
	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = HXRCSSwitch
		switcherDescription = RCS Fuel Mix
		switcherDescriptionPlural = RCS Fuel Mixes
		switchInFlight = True
		SUBTYPE
		{
			name = MonoPropellant
			title = MonoPropellant
			primaryColor = ResourceColorMonoPropellant
			secondaryColor = ResourceColorMonoPropellant
			defaultSubtypePriority = 3 // Highest is default
			descriptionSummary = 
			descriptionDetail = Uses MonoPropellant ith standard catalyzer to deliver moderate thrust and efficiency over cold gas (Air mode).<br><b>Isp:</b> 100 s ASL / <color="yellow">260 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running
					PROPELLANT
					{
						name = MonoPropellant
						ratio = 1
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 260
						key = 1 100
						key = 5 0.001
					}
				}
			}
		}
		SUBTYPE
		{
			name = Nitronite
			title = Nitronite
			primaryColor = ResourceColorMonoPropellant
			secondaryColor = ResourceColorMonoPropellant
			defaultSubtypePriority = 1
			descriptionSummary = 
			descriptionDetail = Uses Nitronite with standard catalyzer to deliver moderate thrust and efficiency over cold gas (Air mode).<br><b>Isp:</b> 120 s ASL / <color="yellow">160 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running
					PROPELLANT
					{
						name = Nitronite
						ratio = 1
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 160
						key = 1 120
						key = 5 0.001
					}
				}
			}
		}
		SUBTYPE
		{
			name = Air
			title = CompressedAtmosphere
			primaryColor = LightGrey
			secondaryColor = LightGrey
			defaultSubtypePriority = 2
			descriptionSummary = 
			descriptionDetail = Uses pressurized air produced by WBI gas turbines. The kinetic force of this released air may smash and shatter vital and fragile things with great ease. Keep 50m away.<br><b>Isp:</b> 92 s ASL / <color="yellow">100 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running
					PROPELLANT
					{
						name = CompressedAtmosphere
						ratio = 1
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 100
						key = 1 92
						key = 9 0.001
					}
				}
			}
		}
		SUBTYPE
		{
			name = ArcJet
			title = Heavy ArcJet
			primaryColor = ResourceColorLqdHydrogen
			secondaryColor = ResourceColorElectricChargePrimary
			defaultSubtypePriority = 2
			descriptionSummary = 
			descriptionDetail = Uses LqdHydrogen and a sizeable serving of ElectricCharge to produce a blazing, super-efficient thrust. <br><b>Isp:</b> 200 s ASL / <color="yellow">1200 s</color> Vac.
			MODULE
			{
				IDENTIFIER
				{
					name = ModuleRCSFX
				}
				DATA
				{
					// runningEffectName = running_arcjet
					PROPELLANT
					{
						name = LqdHydrogen
						ratio = 1
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					PROPELLANT
					{
						name = ElectricCharge
						ratio = 5
						resourceFlowMode = STAGE_PRIORITY_FLOW
					}
					atmosphereCurve
					{
						key = 0 1200
						key = 1 200
						key = 4 0.001
					}
				}
			}
		}
	}
}