-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore,fix: upgrade ongeki seeds (#1070)
* chore,fix: upgrade ongeki seeds The dataset is up to date up until March 27th, 2024. A single chart is missing: https://wikiwiki.jp/gameongeki/怒槌~光吉猛修一部謎~ Added maxPlatScore and inGameID. Added alt (romaji) song titles. Removed the wikiwiki scraper because it's no longer relevant. Restored the score column that relied on maxPlatScore. Fixed the client crashing when you click Lamps Only in a geki session. Removed Act 2. * fix: missing fields in the test chart * chore: get rid of isUnranked * fix: clarify the track ID range
- Loading branch information
Showing
13 changed files
with
15,709 additions
and
14,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from "react"; | ||
import { Difficulties, integer } from "tachi-common"; | ||
|
||
export default function OngekiPlatinumCell({ | ||
platScore: platScore, | ||
maxPlatScore: maxPlatScore, | ||
difficulty, | ||
}: { | ||
platScore: integer | null | undefined; | ||
maxPlatScore: integer; | ||
difficulty: Difficulties["ongeki:Single"]; | ||
}) { | ||
if (difficulty !== "MASTER" && difficulty !== "LUNATIC") { | ||
return <td>N/A</td>; | ||
} | ||
|
||
if (platScore === null || platScore === undefined) { | ||
return <td>Unknown</td>; | ||
} | ||
|
||
return ( | ||
<td> | ||
<strong>MAX-{maxPlatScore - platScore}</strong> | ||
{platScore !== undefined && ( | ||
<> | ||
<br /> | ||
<small className="text-body-secondary"> | ||
[{platScore}/{maxPlatScore}] | ||
</small> | ||
</> | ||
)} | ||
</td> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.