mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
feat(intent): Add additional "thought" intent type
This commit is contained in:
@@ -85,7 +85,9 @@ function checkIdleDecay(bufferEntries: BufferEntry[]): boolean {
|
||||
|
||||
// Check the last N entries
|
||||
const lastN = bufferEntries.slice(-N);
|
||||
return lastN.every((e) => e.intent.type === "monologue");
|
||||
return lastN.every(
|
||||
(e) => e.intent.type === "monologue" || e.intent.type === "thought",
|
||||
);
|
||||
}
|
||||
|
||||
function checkAttributeTrigger(entity: Entity): boolean {
|
||||
|
||||
Reference in New Issue
Block a user