Skip to content

StopReason beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type StopReason = 'beaten' | 'urgent' | 'done' | 'told' | 'removed';

Why a goal lost its claim (GoalDef.stop): beaten by one that scored more by the margin, urgent by an urgent one, done as its own score fell to nothing, told by a rule or a module that took its units, removed from the brain