MapAi beta
Interface of @v12-engine/engine/ai
export interface MapAiWhat a map says of how its computer player plays (MapPlayer.data.ai, decision 6 of the AI plan), for a player the map gives the computer (controller: 'computer'): a difficulty and a personality by name, and settings (AiSettings: its flags, its build order as plans.order, its waves as waves.waves, any area's numbers). Plain data, as the map's file holds it
Members
brain
brain?: string;The brain the player is seated with, by id (Rules.brains): over its race's (GameAi.races), under the seat's
difficulty
difficulty?: string;The id of the difficulty the computer plays at, which a game's brain reads from its settings
personality
personality?: string;The id of the personality the computer plays with, which a game's brain reads from its settings
races
races?: Record<string, AiSettings>;Settings by the race the player plays (Rules.races), over settings: for a player whose race the lobby chooses or draws (random), a build order or waves for each
settings
settings?: AiSettings;Settings for the brain, over the ones its difficulty and personality give