Add all Team Yankee formations. The data is attached as CSV.
Compatibility with Flames of War
Some formations appear to exist in multiple force diagrams. This is a departure from Flames of War, where each formation has an "organic" force diagram it belongs to, but each force diagram can include formations from other force diagrams of the same faction and era.
It would be smart to talk to Gregg about whether this is intentional, or if it's simply a "appear twice" because it's handy. If it's the former, there are a few options:
- Invert the
ForceDiagram ↔ Formation relationship so that a ForceDiagram's metadata includes an array of formations: Unit[];.
- Change the type of
Formation.forceDiagram from ForceDiagram to ForceDiagram[].
Source Data
formations.csv
Recommended Approach
Use LLM (Claude?) to convert CSV into enum and Record:
Convert the provided CSV file into Typescript, using the following snippet as to the guide. Use the id column as the keys/unit enum. The two sourceForceDiagram columns should be entries 0 and 1 in a forceDiagrams array object.
export enum Unit {
LB101 = 'LB101',
}
export const units: Record<Unit, UnitMetadata<ForceDiagram>> = {
[Unit.LB101]: {
displayName: 'Sherman Armoured Squadron',
forceDiagrams: [ForceDiagram.FortressEuropeBritish],
isFormation: true,
},
};
Add all Team Yankee formations. The data is attached as CSV.
Compatibility with Flames of War
Some formations appear to exist in multiple force diagrams. This is a departure from Flames of War, where each formation has an "organic" force diagram it belongs to, but each force diagram can include formations from other force diagrams of the same faction and era.
It would be smart to talk to Gregg about whether this is intentional, or if it's simply a "appear twice" because it's handy. If it's the former, there are a few options:
ForceDiagram↔Formationrelationship so that aForceDiagram's metadata includes an array offormations: Unit[];.Formation.forceDiagramfromForceDiagramtoForceDiagram[].Source Data
formations.csv
Recommended Approach
Use LLM (Claude?) to convert CSV into
enumandRecord: