mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-07 10:05:50 +08:00
feat: allow manual unlocks in learn missions
This commit is contained in:
@@ -17,6 +17,7 @@ export interface LearnState {
|
||||
xp: number
|
||||
progress: LearnProgress
|
||||
config: LearnConfig
|
||||
unlockedModules: string[]
|
||||
}
|
||||
|
||||
export const LEARN_CONFIG_DEFAULTS: LearnConfig = {
|
||||
@@ -36,5 +37,6 @@ export function createDefaultLearnState(): LearnState {
|
||||
xp: 0,
|
||||
progress: {} as LearnProgress,
|
||||
config: createDefaultLearnConfig(),
|
||||
unlockedModules: [],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user