flagOf beta
Function of @v12-engine/engine/ai
ts
export declare function flagOf<K extends keyof AiFlags>(ai: Brain, name: K): Exclude<AiFlags[K], (ai: Brain) => unknown> | undefined;A flag's value as asked now: a function of the brain worked out, data as it is. For a flag no area has a name for (No Mercy, Random Paths, Allow Home Changes): the rest are the areas' (ai.settings)