Skip to content

resolveProfile beta ​

Function of @v12-engine/engine/ai

ts
export declare function resolveProfile(options: AiOptions, registry?: Pick<Registry, 'module'>, brain?: AiSettings, race?: string): ResolvedProfile;

The profile a seat plays by (Brain.profile): the brain's settings (BrainDef.settings), the game's defaults, the race's (GameAi.races, for the race the seat plays), the difficulty, the personality, the seat's own (AiOptions.settings, the map's under it), each over the one before; how well it plays from the engine's defaults, the game's, the race's, the difficulty, the personality and the seat's every and budget. A name the game does not have is passed over, and unknown names it