Class WithdrawnInfernoSrmLaunchers

java.lang.Object
megamek.common.weapons.infantry.support.srm.WithdrawnInfernoSrmLaunchers

public final class WithdrawnInfernoSrmLaunchers extends Object
Names of the conventional infantry Inferno SRM launchers withdrawn by the TechManual pp. 350-352 errata.

The errata deletes the SRM Launcher (Inferno Ammo) rows: an SRM platoon declares Inferno munitions before the battle instead (see ConvInfantry.setInfernoSrmsDeclared(boolean)). Unit files, MULs, campaigns and saved games written before that still name the old launchers, so each name loads as the matching plain launcher, and a unit that names one starts the battle declared as Inferno.

  • Field Details

    • STANDARD_LAUNCHER_CLASS

      public static final String STANDARD_LAUNCHER_CLASS
      Old class of the two-shot Inferno launcher, still named inside saved games written before its removal.
      See Also:
    • LIGHT_LAUNCHER_CLASS

      public static final String LIGHT_LAUNCHER_CLASS
      Old class of the light Inferno launcher, still named inside saved games written before its removal.
      See Also:
    • HEAVY_LAUNCHER_CLASS

      public static final String HEAVY_LAUNCHER_CLASS
      Old class of the heavy Inferno launcher, still named inside saved games written before its removal.
      See Also:
  • Method Details

    • isWithdrawnName

      public static boolean isWithdrawnName(@Nullable String weaponName)
      Parameters:
      weaponName - a weapon name as written in a unit file, MUL or saved game
      Returns:
      true if the name belongs to a withdrawn Inferno SRM launcher, so the unit was built to carry Inferno munitions