Package mekhq.campaign.universe.commandGeneration.ratgen
package mekhq.campaign.universe.commandGeneration.ratgen
-
ClassDescriptionAwards a generated Clan force the Bloodnames its calibre warrants, as a share of its warriors.What the quota did.Single entry point for the ratgen-driven Command Generator pipeline.Result of a generation run: the engine's descriptor tree plus the flat list of
Persons the pipeline created during materialization.The value of the spare parts the build's warehouse stock-up added, split by the categories the pay-for finance toggles gate.Seeds a freshly-generated MekHQPersonfrom a MegaMekCrewDescriptorproduced by the Force Generator engine.Awards a rolled Clan force its Bloodnames in the draft, so the preview shows the warriors who will carry one and the build keeps exactly those.User-facing inputs forRuleset.processRoot, serialized alongside the rest ofCommandGenerationOptionsso a preset that targets the ratgen pipeline survives a save/load round-trip.Pre-order traversal of a generatedForceDescriptortree that mirrors the structure into MekHQFormationnodes and hands each leaf descriptor to a caller-supplied handler.Callback for leaf descriptors.Builds layered formation icons for the Force Generator pipeline, covering everyFormationLevelthe engine can produce — not just the lance / company pair the legacyAbstractCompanyGeneratorsupported.Produces unique, player-parseable names for theFormationnodes the Command Generator mirrors into the campaign TO&E.One formation awaiting a name.The name chosen for a formation, plus the designator its children should be qualified with.Looks up the naming rule for an echelon.Ranks the people generated for a command by how well they would lead it.Gives the command's officers the skills that come with the post (Generate Captains).Seats the most skilled pilots in the leading lances (Assign Most Skilled to Primary Lances).Idempotent initialization of the MegaMek Force Generator engine for use from the MekHQ side.Tree-aware rank assignment pass for the Force Generator pipeline.What the walker learned from the rolled tree, for the rank pass to lean on.What the rank passes promoted.Fills the senior staff appointments of a generated command - chief medical officer, head technician and chief administrator.Puts the units a generated command nests under a ship aboard that ship.Computes the "100% coverage" support-personnel demand for a campaign's current force composition, following the Campaign Operations support-staff rules.Per-role 100%-coverage demand snapshot.Stage 7e of the ratgen company-generation pipeline: creates the support staff (techs, doctors, administrators) the freshly-generated force needs to maintain itself, plus their astech and medic assistants.Counts emitted by the generator, useful for logging and reporting.Turns the Setup tab's tech assignment grid into the piecesAutomatedTechAssignmentsneeds: the order to offer units a tech in, and the pool of techs to draw from.