@@ -978,6 +978,11 @@ export async function streamNpcChatTurn(
|
||||
state: GameState;
|
||||
turnCount: number;
|
||||
} | null;
|
||||
combatContext?: {
|
||||
summary: string;
|
||||
logLines: string[];
|
||||
battleOutcome: 'victory' | 'spar_complete';
|
||||
} | null;
|
||||
chatDirective?: NpcChatTurnDirective | null;
|
||||
npcInitiatesConversation?: boolean;
|
||||
} = {},
|
||||
@@ -1002,6 +1007,7 @@ export async function streamNpcChatTurn(
|
||||
turnCount: options.questOfferContext.turnCount,
|
||||
}
|
||||
: null,
|
||||
combatContext: options.combatContext ?? null,
|
||||
chatDirective: options.chatDirective ?? null,
|
||||
} satisfies NpcChatTurnRequest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user