Package mekhq.campaign.digitalGM.stratCon.facility
package mekhq.campaign.digitalGM.stratCon.facility
-
ClassDescriptionWhat the player does with an enemy facility they have just captured.The orders a player can give a deployed formation at a facility, or on an empty hex.Something particular about one facility, rolled when it is placed, so that two facilities of the same type need not play the same.One effect a facility has on play, as listed in a
StratConFacilityProfile.How a contract type lays out its facilities: which types turn up and how often, how they split between the player's side and the enemy's, how large they start, how many there are, and whether one anchors the sector.What the enemy does with facilities between the player's fights: monthly upkeep of its own facilities, counterattacks on facilities the player or their employer holds, and enemy engineers building new outposts.A facility placed on a StratCon sector.How badly a facility is damaged.How much the player knows about a facility.How large a facility is.Works out what the player can do about the facilities on a StratCon map, and what needs their attention, so the interface can tell them in plain words instead of leaving them to discover the rules from greyed-out menu items.One order the player could give on a hex, with everything the interface needs to offer it or explain why not.Something about to happen to a facility, or on the map, that the player may want to act on before it does.A facility type, read from a definition file: its name, its map biomes, and what it does for whichever side holds it.The facility effects this version knows, one class pereffectname in the definition files.Scenario modifiers applied to scenarios fought on the facility itself.Support points gained, or lost if negative, at the start of each month.Keeps air and space scenarios out of the facility's sector, whichever side holds it.Reveals the facility's whole sector.Hexes added to the scan range of every force scouting the sector.A change to the sector's scenario odds.Scenario modifiers the facility may lend to scenarios elsewhere in its sector.Stands in for an effect name this version does not know.This class handles loading StratCon facility definitions and creating facilities from them.JSON serialization forStratConFacilityDefinition.A facility definition read from a file, and what the file said about the definition's other side if it was in the old format.A manifest containing IDs and file names of StratCon facility definitionsThe rules for the orders a player gives deployed formations at facilities (seeFacilityOperation), and for what the player does with a facility they capture (seeFacilityCaptureChoice).An order that takes time: a formation holding its position on or next to a hex until the order completes, asFacilityOperation.RECONandFacilityOperation.BUILDneed.What a facility type does while one side holds it: a description for the player and the effects that apply.The rules for sieges: formations given theFacilityOperation.SIEGEorder from a hex next to an enemy facility, grinding its garrison down without fighting all of it.Supply lines: the road network, read as the routes that keep each side's facilities supplied.Facility pairings that do more together.A road hex where the player has cut the enemy's supply line, by winning a fight over the enemy's convoys there.