feat: P15 ending gallery, chapter recap, visited tracking, save system v6

This commit is contained in:
2026-06-09 17:49:07 +08:00
parent 47d6ce50fe
commit 9297117544
14 changed files with 517 additions and 48 deletions

View File

@@ -88,12 +88,20 @@ export interface AchievementDef {
condition: Condition
}
export interface EndingDef {
id: string
label: string
sceneId: string
thumbnail?: string
}
export interface GameData {
scenes: Record<string, SceneNode>
startScene: string
variables: Record<string, number>
chapters?: ChapterInfo[]
achievements?: AchievementDef[]
endings?: EndingDef[]
}
export interface ChoiceRecord {