1
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-18 17:28:23 +08:00
parent b3066c7bc1
commit 54b3d3c490
21 changed files with 731 additions and 156 deletions

View File

@@ -101,9 +101,17 @@ export interface QuestLogEntry {
}
export interface StoryDialogueTurn {
speaker: 'player' | 'npc' | 'companion';
speaker: 'player' | 'npc' | 'companion' | 'system';
speakerName?: string;
text: string;
affinityDelta?: number;
}
export interface StoryNpcChatState {
npcId: string;
npcName: string;
turnCount: number;
customInputPlaceholder?: string;
}
export interface CharacterChatTurn {
@@ -127,6 +135,7 @@ export interface StoryMoment {
streaming?: boolean;
deferredOptions?: StoryOption[];
historyRole?: StoryHistoryRole;
npcChatState?: StoryNpcChatState;
}
export type StoryOptionInteraction =