missionBrain
Function of @v12-engine/engine/ai
ts
export declare function missionBrain(def: MissionBrainDef): BrainDef;A computer player for a mission: a brain (defineBrain) of what every mission's computer has (its rules, the words every brain may be told, the goals' picker, squads, micro) and the parts it is given (modules: holdPosition, patrol, guard, ambush, waveFrom, fleeWhen, surrenderWhen, any module of the kit's or of its own). Nothing builds, trains, gathers, scouts or answers raids on its bases unless a module for it is given (economy(), scouting(), defence()). Everything else of BrainDef as for any brain (goals, micro, without, knowledge)