diff --git a/common/src/config/config.ts b/common/src/config/config.ts index 2666ee115..ca98e83bc 100644 --- a/common/src/config/config.ts +++ b/common/src/config/config.ts @@ -1,6 +1,7 @@ import { FormatInt, GPTTierlists } from ".."; import { BMSGenocideDans, + BMSLNDans, BMSStSlDans, CHUNITHMColours, ClassInfo, @@ -1136,6 +1137,7 @@ const GAME_PT_CONFIGS: GamePTConfigs = { classHumanisedFormat: { genocideDan: BMSGenocideDans, stslDan: BMSStSlDans, + lnDan: BMSLNDans, }, supportsESD: false, diff --git a/common/src/game-classes.ts b/common/src/game-classes.ts index 7772d8186..d54f42859 100644 --- a/common/src/game-classes.ts +++ b/common/src/game-classes.ts @@ -135,6 +135,22 @@ export const BMSStSlDans: ClassInfo[] = [ mouseoverCSS("ST11", "st11", "Stella 11"), ]; +export const BMSLNDans: ClassInfo[] = [ + mouseoverCSS("DAN_1", "初段", "LN 1st Dan", "lightblue"), + mouseoverCSS("DAN_2", "二段", "LN 2nd Dan", "lightblue"), + mouseoverCSS("DAN_3", "三段", "LN 3rd Dan", "lightblue"), + mouseoverCSS("DAN_4", "四段", "LN 4th Dan", "lightblue"), + mouseoverCSS("DAN_5", "五段", "LN 5th Dan", "lightblue"), + mouseoverCSS("DAN_6", "六段", "LN 6th Dan", "lightblue"), + mouseoverCSS("DAN_7", "七段", "LN 7th Dan", "lightblue"), + mouseoverCSS("DAN_8", "八段", "LN 8th Dan", "lightblue"), + mouseoverCSS("DAN_9", "九段", "LN 9th Dan", "lightred"), + mouseoverCSS("DAN_10", "十段", "LN 10th Dan", "lightred"), + mouseoverCSS("KAIDEN", "皆伝", "LN Kaiden", "teal"), + mouseoverCSS("OVERJOY", "(^^)", "LN Overjoy", "purple"), + mouseoverCSS("UDON", "うどん", "LN Udon", "gold"), +]; + export const SDVXDans: ClassInfo[] = [ mouseoverCSS("DAN_1", "LV.01", "1st Dan"), mouseoverCSS("DAN_2", "LV.02", "2nd Dan"), @@ -303,7 +319,7 @@ export interface GameClassSets { "maimai:Single": never; "jubeat:Single": "colour"; "museca:Single": never; - "bms:7K": "genocideDan" | "stslDan"; + "bms:7K": "genocideDan" | "stslDan" | "lnDan"; "bms:14K": "genocideDan"; "chunithm:Single": "colour"; "gitadora:Gita": "colour"; diff --git a/common/src/types.ts b/common/src/types.ts index 456d9eeff..a4149e015 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1367,7 +1367,7 @@ export interface KaiAuthDocument { export interface BMSCourseDocument { title: string; md5sums: string; - set: "genocideDan" | "stslDan"; + set: "genocideDan" | "stslDan" | "lnDan"; playtype: "7K" | "14K"; value: integer; }