chore: sync latest changes
This commit is contained in:
@@ -79,11 +79,21 @@ export interface ChapterInfo {
|
||||
defaultVariables?: Record<string, number>
|
||||
}
|
||||
|
||||
export interface AchievementDef {
|
||||
id: string
|
||||
title: string
|
||||
description: string
|
||||
icon?: string
|
||||
hidden?: boolean
|
||||
condition: Condition
|
||||
}
|
||||
|
||||
export interface GameData {
|
||||
scenes: Record<string, SceneNode>
|
||||
startScene: string
|
||||
variables: Record<string, number>
|
||||
chapters?: ChapterInfo[]
|
||||
achievements?: AchievementDef[]
|
||||
}
|
||||
|
||||
export interface ChoiceRecord {
|
||||
@@ -115,3 +125,4 @@ export type EngineEvent =
|
||||
| 'hotspotRequest'
|
||||
| 'hotspotUpdate'
|
||||
| 'chapterUnlock'
|
||||
| 'achievementUnlock'
|
||||
|
||||
Reference in New Issue
Block a user