// Adds hydrogen rcs blocks when CryoTanks is installed

+PART[rcsblock-mpdt-quint-01]:NEEDS[CryoTanks]:FOR[NearFuturePropulsion]
{
 @MODEL
 {
	@model = NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quint-02
 }
  @name = rcsblock-mpdt-quint-02

  @title = #LOC_NFPropulsion_rcsblock-mpdt-quint-02_title
	@manufacturer = #LOC_NFPropulsion_manufacturer_kedy_title
	@description = #LOC_NFPropulsion_rcsblock-mpdt-quint-02_description

  @EFFECTS
  {
    @running
    {
      -MODEL_MULTI_PARTICLE {}
      MODEL_MULTI_PARTICLE
			{
				modelName = NearFuturePropulsion/FX/rcs-mpdt-h2-plume-01
				transformName = thrustVector
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
    }
  }
  @MODULE[ModuleRCSFX]
  {
    @resourceName = LqdHydrogen
    resourceFlowMode = STAGE_PRIORITY_FLOW
    runningEffectName = running
    @PROPELLANT[Lithium]
    {
      @name = LqdHydrogen
    }
    @PROPELLANT[ElectricCharge]
    {
      @ratio = 8.087303
    }
  }
}

+PART[rcsblock-mpdt-quad-01]:NEEDS[CryoTanks]:FOR[NearFuturePropulsion]
{
  @name = rcsblock-mpdt-quad-02
  @MODEL
 {
	@model = NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quad-02
 }

  @title = #LOC_NFPropulsion_rcsblock-mpdt-quad-02_title
  @manufacturer = #LOC_NFPropulsion_manufacturer_kedy_title
  @description = #LOC_NFPropulsion_rcsblock-mpdt-quad-02_description

  @EFFECTS
  {
    @running
    {
      -MODEL_MULTI_PARTICLE {}
      MODEL_MULTI_PARTICLE
			{
				modelName = NearFuturePropulsion/FX/rcs-mpdt-h2-plume-01
				transformName = thrustVector
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
    }
  }
  @MODULE[ModuleRCSFX]
  {
    @resourceName = LqdHydrogen
    resourceFlowMode = STAGE_PRIORITY_FLOW
    runningEffectName = running
    @PROPELLANT[Lithium]
    {
      @name = LqdHydrogen
    }
    @PROPELLANT[ElectricCharge]
    {
      @ratio = 8.087303
    }
  }
}

+PART[rcsblock-mpdt-triple-01]:NEEDS[CryoTanks]:FOR[NearFuturePropulsion]
{
  @name = rcsblock-mpdt-triple-02
  @MODEL
 {
	@model = NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-triple-02
 }
  @title = #LOC_NFPropulsion_rcsblock-mpdt-triple-02_title
  @manufacturer = #LOC_NFPropulsion_manufacturer_kedy_title
  @description = #LOC_NFPropulsion_rcsblock-mpdt-triple-02_description
  @EFFECTS
  {
    @running
    {
      -MODEL_MULTI_PARTICLE {}
      MODEL_MULTI_PARTICLE
			{
				modelName = NearFuturePropulsion/FX/rcs-mpdt-h2-plume-01
				transformName = thrustVector
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
    }
  }
  @MODULE[ModuleRCSFX]
  {
    @resourceName = LqdHydrogen
    resourceFlowMode = STAGE_PRIORITY_FLOW
    runningEffectName = running
    @PROPELLANT[Lithium]
    {
      @name = LqdHydrogen
    }
    @PROPELLANT[ElectricCharge]
    {
      @ratio = 8.087303
    }
  }
}

+PART[rcsblock-mpdt-single-01]:NEEDS[CryoTanks]:FOR[NearFuturePropulsion]
{
  @name = rcsblock-mpdt-single-02
  @MODEL
 {
	@model = NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-single-02
 }
  @title = #LOC_NFPropulsion_rcsblock-mpdt-single-02_title
  @manufacturer = #LOC_NFPropulsion_manufacturer_kedy_title
  @description = #LOC_NFPropulsion_rcsblock-mpdt-single-02_description
  @EFFECTS
  {
    @running
    {
      -MODEL_MULTI_PARTICLE {}
      MODEL_MULTI_PARTICLE
			{
				modelName = NearFuturePropulsion/FX/rcs-mpdt-h2-plume-01
				transformName = thrustVector
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
    }
  }
  @MODULE[ModuleRCSFX]
  {
    @resourceName = LqdHydrogen
    resourceFlowMode = STAGE_PRIORITY_FLOW
    runningEffectName = running
    @PROPELLANT[Lithium]
    {
      @name = LqdHydrogen
    }
    @PROPELLANT[ElectricCharge]
    {
      @ratio = 8.087303
    }
  }
}
