From 68481e9b11a0c02890c3adb8295b2ec1d495dfe8 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 12 Jun 2022 03:21:59 +0100 Subject: [PATCH] fix: rename expert to challenge --- common/src/config/config.ts | 8 ++++---- common/src/types.ts | 13 ++++++++++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/common/src/config/config.ts b/common/src/config/config.ts index 4460fa43d..ef1f6a160 100644 --- a/common/src/config/config.ts +++ b/common/src/config/config.ts @@ -2301,21 +2301,21 @@ const GAME_PT_CONFIGS: GamePTConfigs = { profileRatingAlgFormatters: {}, sessionRatingAlgFormatters: {}, - difficulties: ["Beginner", "Easy", "Normal", "Hard", "Expert"], + difficulties: ["Beginner", "Easy", "Normal", "Hard", "Challenge"], shortDifficulties: { Beginner: "B", Easy: "E", Normal: "N", Hard: "H", - Expert: "X", + Challenge: "C", }, - defaultDifficulty: "Expert", + defaultDifficulty: "Challenge", difficultyColours: { Beginner: COLOUR_SET.paleBlue, Easy: COLOUR_SET.green, Normal: COLOUR_SET.vibrantYellow, Hard: COLOUR_SET.red, - Expert: COLOUR_SET.pink, + Challenge: COLOUR_SET.pink, }, grades: ["D", "C", "B", "A", "S-", "S", "S+", "★", "★★", "★★★", "★★★★"], diff --git a/common/src/types.ts b/common/src/types.ts index 1dc9b4f54..2c73d5096 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -337,7 +337,7 @@ export interface Difficulties { "wacca:Single": "NORMAL" | "HARD" | "EXPERT" | "INFERNO"; "pms:Controller": "CHART"; "pms:Keyboard": "CHART"; - "itg:Stamina": "Beginner" | "Easy" | "Normal" | "Hard" | "Expert"; + "itg:Stamina": "Beginner" | "Easy" | "Normal" | "Hard" | "Challenge"; } /** @@ -833,9 +833,16 @@ interface ChartDocumentData { detailed: string; partiallySimplified: string; simplified: string; + total: string; + npsPerMeasure: Array; + }; + tech: { + crossovers: integer; + jacks: integer; + brackets: integer; + footswitches: 0; + sideswitches: 0; }; - totalStream: string; - totalBreak: string; length: number; charter: string; displayBPM: number;