diff --git a/docs/docs/game-support/games/arcaea-Touch.md b/docs/docs/game-support/games/arcaea-Touch.md index 3e7654c4b..3752655eb 100644 --- a/docs/docs/game-support/games/arcaea-Touch.md +++ b/docs/docs/game-support/games/arcaea-Touch.md @@ -63,6 +63,7 @@ The following judgements are defined: - `Past` - `Present` - `Future` +- `Eternal` - `Beyond` ## Classes diff --git a/typescript/client/src/lib/games/arcaea.tsx b/typescript/client/src/lib/games/arcaea.tsx index d24739418..2d9802d88 100644 --- a/typescript/client/src/lib/games/arcaea.tsx +++ b/typescript/client/src/lib/games/arcaea.tsx @@ -13,10 +13,10 @@ import { bgc } from "./_util"; const ARCAEA_DIFFICULTY_COLORS: GPTClientImplementation< GamesForGroup["arcaea"] >["difficultyColours"] = { - Past: COLOUR_SET.paleBlue, - Present: COLOUR_SET.paleGreen, + Past: COLOUR_SET.blue, + Present: COLOUR_SET.green, Future: COLOUR_SET.purple, - Eternal: COLOUR_SET.palePurple, + Eternal: COLOUR_SET.paleBlue, Beyond: COLOUR_SET.vibrantRed, }; diff --git a/typescript/seeds-scripts/rerunners/arcaea/merge-songlist.ts b/typescript/seeds-scripts/rerunners/arcaea/merge-songlist.ts index fd8b10d45..0c101ae7d 100644 --- a/typescript/seeds-scripts/rerunners/arcaea/merge-songlist.ts +++ b/typescript/seeds-scripts/rerunners/arcaea/merge-songlist.ts @@ -42,7 +42,7 @@ interface SonglistEntry { search_artist?: LocalizedSearchTerms; version: string; difficulties: Array; - deleted?: boolean + deleted?: boolean; } interface PacklistEntry { @@ -178,7 +178,7 @@ const newSongs: Array> = []; const newCharts: Array> = []; for (const entry of data.songs) { - if(entry.deleted) { + if (entry.deleted) { continue; } const inGameID = entry.id; diff --git a/typescript/seeds-scripts/rerunners/arcaea/wikiwiki-arcaea/parse-scraped-data.js b/typescript/seeds-scripts/rerunners/arcaea/wikiwiki-arcaea/parse-scraped-data.js index 8c286521f..48e36776a 100644 --- a/typescript/seeds-scripts/rerunners/arcaea/wikiwiki-arcaea/parse-scraped-data.js +++ b/typescript/seeds-scripts/rerunners/arcaea/wikiwiki-arcaea/parse-scraped-data.js @@ -35,7 +35,7 @@ const MANUAL_TITLE_MAP = { "Signal feat. Such": "Signal", "キャラメルポップコーンたべたいよ~": "キャラメルポップコーンたべたいよ〜", "患部で止まってすぐ溶ける ~ 狂気の優曇華院": "患部で止まってすぐ溶ける 〜 狂気の優曇華院", - "患部で止まってすぐ溶ける~ 狂気の優曇華院": "患部で止まってすぐ溶ける 〜 狂気の優曇華院" + "患部で止まってすぐ溶ける~ 狂気の優曇華院": "患部で止まってすぐ溶ける 〜 狂気の優曇華院", }; // Multiple different songs with the same title, requiring artist search. const NEEDS_ARTIST_SEARCH = ["Quon", "Genesis"]; @@ -48,8 +48,8 @@ const AF_FTR_BLACKLIST = [ "0xe0e1ccull", "HIVEMIND INTERLINKED", "Live Faster Die Younger", - "Mistempered Malignance" -] + "Mistempered Malignance", +]; const songs = ReadCollection("songs-arcaea.json"); @@ -81,12 +81,7 @@ function parseScrapedData(file, mutationCallback) { continue; } - const chart = FindChartWithDFVersion( - charts, - song.id, - entry.difficulty, - "mobile", - ); + const chart = FindChartWithDFVersion(charts, song.id, entry.difficulty, "mobile"); if (!chart) { console.warn(`${song.title} [${entry.difficulty}] - Couldn't find chart?`); @@ -101,7 +96,7 @@ function parseScrapedData(file, mutationCallback) { } function chartConstantMutationCallback(chart, entry) { - if(chart.levelNum !== entry.levelNum) { + if (chart.levelNum !== entry.levelNum) { console.info(`${entry.title} ${entry.difficulty} ${chart.levelNum} -> ${entry.levelNum}`); } chart.level = entry.level; @@ -118,8 +113,14 @@ if (fs.existsSync(path.join(__dirname, "upper.json"))) { if (fs.existsSync(path.join(__dirname, "notecount.json"))) { parseScrapedData("notecount.json", (chart, entry) => { - if (chart.data.notecount !== undefined && chart.data.notecount > 0 && chart.data.notecount !== entry.notecount) { - console.warn(`${entry.title} ${entry.difficulty} ${chart.notecount} -> ${entry.notecount}`); + if ( + chart.data.notecount !== undefined && + chart.data.notecount > 0 && + chart.data.notecount !== entry.notecount + ) { + console.warn( + `${entry.title} ${entry.difficulty} ${chart.notecount} -> ${entry.notecount}`, + ); } chart.data = { ...chart.data, diff --git a/typescript/seeds-scripts/rerunners/fix-folder-ids.js b/typescript/seeds-scripts/rerunners/fix-folder-ids.js index 28007979f..8e4e7970d 100644 --- a/typescript/seeds-scripts/rerunners/fix-folder-ids.js +++ b/typescript/seeds-scripts/rerunners/fix-folder-ids.js @@ -6,7 +6,7 @@ MutateCollection("folders.json", (folders) => { logger.info("Updating Folders."); for (const folder of folders) { - if(folder.id === undefined || !folder.id.startsWith("F")) { + if (folder.id === undefined || !folder.id.startsWith("F")) { folder.id = CreateFolderID(); folder.legacyFolderID = `F${crypto.randomBytes(32).toString("hex")}`; logger.info(`Updating ${folder.slug}`);