mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 02:18:09 +03:00
Make stuff available in Inf script
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const { MutateCollection } = require("../util");
|
||||
|
||||
module.exports = (idSet) => {
|
||||
return MutateCollection("charts-iidx.json", (charts) => {
|
||||
for (const chart of charts) {
|
||||
if (idSet.includes(chart.data.inGameID) && !chart.versions.includes("inf")) {
|
||||
chart.versions.push("inf");
|
||||
}
|
||||
}
|
||||
|
||||
return charts;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user