mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 00:08:22 +03:00
feat: refactor to use arbitrary strings as itg difficulties, store difficulty tag elsewhere
This commit is contained in:
@@ -2302,6 +2302,9 @@ const GAME_PT_CONFIGS: GamePTConfigs = {
|
||||
profileRatingAlgFormatters: {},
|
||||
sessionRatingAlgFormatters: {},
|
||||
|
||||
// This is quirky (lol)
|
||||
// ITG difficulties can be any string they want to be. We just support some
|
||||
// hardcoded defaults.
|
||||
difficulties: ["Beginner", "Easy", "Medium", "Hard", "Challenge"],
|
||||
shortDifficulties: {
|
||||
Beginner: "B",
|
||||
|
||||
+2
-1
@@ -337,7 +337,7 @@ export interface Difficulties {
|
||||
"wacca:Single": "NORMAL" | "HARD" | "EXPERT" | "INFERNO";
|
||||
"pms:Controller": "CHART";
|
||||
"pms:Keyboard": "CHART";
|
||||
"itg:Stamina": "Beginner" | "Easy" | "Medium" | "Hard" | "Challenge";
|
||||
"itg:Stamina": string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -829,6 +829,7 @@ interface ChartDocumentData {
|
||||
"pms:Keyboard": CDDataBMS;
|
||||
"itg:Stamina": {
|
||||
chartHash: string;
|
||||
difficultyTag: "Beginner" | "Easy" | "Medium" | "Hard" | "Challenge";
|
||||
breakdown: {
|
||||
detailed: string;
|
||||
partiallySimplified: string;
|
||||
|
||||
Reference in New Issue
Block a user