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

This commit is contained in:
2026-04-20 21:06:48 +08:00
parent 1c72066bab
commit 75944b1f1f
102 changed files with 9648 additions and 1540 deletions

View File

@@ -37,6 +37,13 @@ export interface CustomWorldCoverProfile {
characterRoleIds?: string[];
}
export interface CustomWorldCoverCropRect {
x: number;
y: number;
width: number;
height: number;
}
export interface CreatorFactionSeed {
id: string;
name: string;
@@ -337,6 +344,7 @@ export interface SceneActBlueprint {
summary: string;
stageCoverage: SceneActStage[];
backgroundImageSrc?: string | null;
backgroundAssetId?: string | null;
encounterNpcIds: string[];
primaryNpcId: string;
linkedThreadIds: string[];
@@ -356,10 +364,15 @@ export interface SceneChapterBlueprint {
}
export interface CustomWorldCampScene {
id: string;
name: string;
description: string;
visualDescription?: string;
dangerLevel: string;
imageSrc?: string;
sceneNpcIds: string[];
connections: CustomWorldSceneConnection[];
narrativeResidues?: SceneNarrativeResidue[] | null;
}
export interface CustomWorldLandmark {

View File

@@ -111,6 +111,12 @@ export interface StoryDialogueTurn {
affinityDelta?: number;
}
export interface StoryNpcAffinityEffect {
eventId: string;
npcId: string;
delta: number;
}
export interface StoryNpcChatState {
npcId: string;
npcName: string;
@@ -125,6 +131,11 @@ export interface StoryNpcChatState {
pendingQuestOffer?: {
quest: QuestLogEntry;
} | null;
combatContext?: {
summary: string;
logLines: string[];
battleOutcome: 'victory' | 'spar_complete';
} | null;
}
export interface CharacterChatTurn {
@@ -149,6 +160,7 @@ export interface StoryMoment {
deferredOptions?: StoryOption[];
historyRole?: StoryHistoryRole;
npcChatState?: StoryNpcChatState;
npcAffinityEffect?: StoryNpcAffinityEffect | null;
}
export type StoryOptionInteraction =