Class PersonnelMarketCamOpsRevised
java.lang.Object
mekhq.campaign.market.personnelMarket.markets.NewPersonnelMarket
mekhq.campaign.market.personnelMarket.markets.PersonnelMarketCamOpsRevised
- Direct Known Subclasses:
PersonnelMarketCamOpsStrict
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 Summary
ConstructorsConstructorDescriptionConstructs a personnel market using the Campaign Operations Revised rules. -
Method Summary
Modifier and TypeMethodDescriptionvoidGenerates 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.Determines the list of factions from which applicants may originate, based on the planetary system's factions, current alliances, and war states.Methods inherited from class mekhq.campaign.market.personnelMarket.markets.NewPersonnelMarket
addApplicant, addRarePerson, addRareProfession, clearCurrentApplicants, gatherApplications, generatePersonnelMarketDataFromXML, getAssociatedPersonnelMarketStyle, getAvailabilityMessage, getCampaign, getCampaignFaction, getClanMarketEntries, getCurrentApplicants, getCurrentSystem, getGameYear, getHasRarePersonnel, getHiringCost, getHiringCostBreakdown, getInnerSphereMarketEntries, getLastSelectedFilter, getLowPopulationRecruitmentDivider, getMarketEntriesAsList, getRarePersonnel, getRareProfessions, getRecruitmentRolls, getSingleApplicant, getToday, getUnitReputationRecruitmentCutoff, isOfferingGoldenHello, isWasOfferingGoldenHello, sanitizeMarketEntries, setApplicantOriginFactions, setAssociatedPersonnelMarketStyle, setCampaign, setCampaignFaction, setClanMarketEntries, setCurrentApplicants, setCurrentSystem, setGameYear, setHasRarePersonnel, setInnerSphereMarketEntries, setLastSelectedFilter, setLowPopulationRecruitmentDivider, setOfferingGoldenHello, setRecruitmentRolls, setToday, setUnitReputationRecruitmentCutoff, setWasOfferingGoldenHello, showPersonnelMarketDialog, writePersonnelMarketDataToXML
-
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
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:
getApplicantOriginFactionsin classNewPersonnelMarket- 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:
generateApplicantsin classNewPersonnelMarket- Since:
- 0.50.06
-