Skip to content

goals beta ​

Function of @v12-engine/engine/ai

ts
goals: (defs?: GoalDef[]) => AiModuleDef

The goals module: runs the brain's picker (ai.goals.think) in its place among the brain's modules, after what reads the game and before what acts on orders. With goals of its own to add to the brain's