Skip to content

AiActionData beta ​

Interface of @v12-engine/engine/ai

ts
export interface AiActionData

What a rule does, as plain data: a word the brain tells itself ({ say: 'attack', data: { at } }), answered by the words() module or a told rule of its own, the same think where they come after the rules

Members ​

data ​

ts
data?: unknown;

What goes with the word, for whoever answers it; nothing when left out

say ​

ts
say: string;

The word the brain tells itself, which the words() module or a rule of its own answers