Formation designs keyed by id.
OptionalmodelsModel groups keyed by the id the formation and its tiers name; empty when none are supplied.
OptionalprojectionSupplied root-centered radius estimate in metres keyed by model group id.
OptionalsurfacesWorld terrain in declared order; empty when the world has none.
Compile every formation of a production into its compact runtime record.
Records are keyed by formation id and inserted in code-unit order of that id, so the inventory and every artifact that serializes it are the same whatever order the designs were read in. Each formation is compiled against the same model groups, radii and terrain, which is what makes a unit compiled here the unit a shot compiled from the same inputs would hold.