feat: wire narration emitter into social system and GameLoop
Add narrationEmitter system that reads completed interactions from socialState.lastOutcome and feeds them to the NarrationService. It runs between socialSystem and relationshipSystem to capture outcomes before they are cleared. Includes pair deduplication, proposal detection, priority marking for followed NPCs and high-value relationships, and personality formatting for LLM prompts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { EntityId } from './types.js';
|
||||
import type { EntityId, InteractionOutcome } from './types.js';
|
||||
|
||||
export type NarrationOutcome = 'positive' | 'negative' | 'proposal_accepted' | 'proposal_rejected';
|
||||
export type NarrationOutcome = InteractionOutcome | 'proposal_accepted' | 'proposal_rejected';
|
||||
|
||||
export interface NarrationEvent {
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user