Class PersonnelMarketCamOpsRevised

java.lang.Object
mekhq.campaign.market.personnelMarket.markets.NewPersonnelMarket
mekhq.campaign.market.personnelMarket.markets.PersonnelMarketCamOpsRevised
Direct Known Subclasses:
PersonnelMarketCamOpsStrict

public class PersonnelMarketCamOpsRevised extends NewPersonnelMarket
Implements the personnel market logic using the Campaign Operations Revised ruleset.

Specializes the new personnel market by defining applicant pool sources, recruitment roll calculations, and market data initialization based on revised campaign operations standards.

  • Initializes market entry data using Campaign Operations Revised logic.
  • Determines applicant origin factions, taking into account alliances, wars, and mercenary access.
  • Calculates the number of recruitment rolls based on the calendar month length.
  • Generates new applicants using the configured market entries for clan or Inner Sphere campaigns.

Extends: NewPersonnelMarket

Associated Market Style: PersonnelMarketStyle.CAMPAIGN_OPERATIONS_REVISED

Since:
0.50.06
  • Constructor Details

    • PersonnelMarketCamOpsRevised

      public PersonnelMarketCamOpsRevised()
      Constructs a personnel market using the Campaign Operations Revised rules.

      Initializes market styles and loads relevant personnel market libraries.

      Since:
      0.50.06
  • Method Details

    • getApplicantOriginFactions

      public ArrayList<Faction> getApplicantOriginFactions()
      Determines the list of factions from which applicants may originate, based on the planetary system's factions, current alliances, and war states.

      Clan campaigns only consider the campaign's faction.

      • Allies are three times as likely to join compared to non-allies.
      • Excludes factions at war with the campaign faction.
      • Ensures the mercenary faction is present if others are eligible.
      Overrides:
      getApplicantOriginFactions in class NewPersonnelMarket
      Returns:
      a list of possible applicant origin factions
      Since:
      0.50.06
    • generateApplicants

      public void generateApplicants()
      Generates market applicants for the current creation period, using appropriate clan or Inner Sphere entries, and performs a number of rolls determined by the calendar month length.
      Overrides:
      generateApplicants in class NewPersonnelMarket
      Since:
      0.50.06