Encore version config.

This commit is contained in:
DitFranXX 2021-05-11 22:54:37 +09:00
parent b82ff40c7f
commit 1a9f32916c
3 changed files with 49 additions and 12 deletions

View File

@ -8,29 +8,59 @@ interface EncoreStageData {
export function getEncoreStageData(info: EamuseInfo): EncoreStageData {
const fallback = { level: 10, musics: [0] }
const level: number = U.GetConfig("encore_version")
switch (getVersion(info)) {
case 'nextage':
return {
level: 12 ,
musics: [ //TODO: check special encore works.
2587, 2531, 2612, 2622, 2686,
305, 602, 703, 802, 902, 1003, 1201, 1400, 1712, 1916, 2289, 2631, // DD13
1704, 1811, 2121, 2201, 2624, // Soranaki
1907, 2020, 2282, 2341, 2666 // Stargazer
level,
musics: [
2587, // 悪魔のハニープリン
2531, // The ULTIMATES -reminiscence-
2612, // ECLIPSE 2
2622, // Slip Into My Royal Blood
2686, // CYCLONICxSTORM
// FIXME: Fix special encore.
305, 602, 703, 802, 902, 1003, 1201, 1400, 1712, 1916, 2289, 2631, // DD13 and encores.
1704, 1811, 2121, 2201, 2624, // Soranaki and encores.
1907, 2020, 2282, 2341, 2666 // Stargazer and encores.
]
}
case 'exchain':
return {
level: 13,
level,
musics: [
2498, 2513, 2500, 2529, 2546, 2549, 2548, 2560, 2568, 2576, 5020, 5032, 5031, 5033
2246, // 箱庭の世界
2498, // Cinnamon
2500, // キヤロラ衛星の軌跡
2529, // グリーンリーフ症候群
2548, // Let's Dance
2587, // 悪魔のハニープリン
5020, // Timepiece phase II (CLASSIC)
5033, // MODEL FT2 Miracle Version (CLASSIC)
2586, // 美麗的夏日風
5060, // EXCELSIOR DIVE (CLASSIC)
2530, // The ULTIMATES -CHRONICLE-
2581, // 幸せの代償
5046 // Rock to Infinity (CLASSIC)
]
}
case 'matixx':
return {
level:13,
level,
musics: [
2432, 2445, 2456, 2441, 2444, 2381, 2471, 2476, 2486, 2496, 2497, 2499, 2498
2432, // Durian
2445, // ヤオヨロズランズ
2456, // Fate of the Furious
2441, // PIRATES BANQUET
2444, // Aion
2381, // Duella Lyrica
2471, // triangulum
2476, // MODEL FT4
2486, // 煉獄事変
2496, // CAPTURING XANADU
2497, // Physical Decay
2499, // Cinnamon
2498 // けもののおうじゃ★めうめう
]
}
default:

View File

@ -390,7 +390,7 @@ export const getPlayer: EPR = async (info, data, send) => {
send.object({
player: K.ATTR({ 'no': `${no}` }, {
now_date: K.ITEM('u64', time),
secretmusic: { // TODO: FIX THIS FOR STOP INFOS ON GAME END
secretmusic: { // TODO: FIX THIS
music: _.merge(_.range(0,2800), _.range(5000, 5100)).map(mid => {
return {
musicid: K.ITEM('s32', mid),
@ -399,7 +399,7 @@ export const getPlayer: EPR = async (info, data, send) => {
}
}),
},
trbitem: {
trbitem: { // TODO: FIX THIS
item: _.range(0,750).map(id => {
return {
itemid: K.ITEM('s32', id),

View File

@ -14,6 +14,13 @@ export function register() {
R.GameCode('M32');
R.Config("encore_version", {
name: "Encore Version",
desc: "Set encore version",
type: "integer",
default: 13,
})
R.Config("enable_custom_mdb", {
name: "Enable Custom MDB",
desc: "For who uses own MDB",