@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user