Commit c25968de authored by TanakaKotoha's avatar TanakaKotoha

lbwnb

parent 8cfb76b7
{ {
"id": "extraBGMs_SIRIUS", "id": "extraBGMs_SIRIUS",
"version": "1.0.1", "version": "1.1.0",
"name": "IIDX 17 SIRIUS & 14 GOLD", "name": "IIDX 17 SIRIUS",
"author": "Tachibana", "author": "Tachibana",
"description": "beatmania IIDX 17 SIRIUS & beatmania IIDX 14 GOLD BGM", "description": "beatmania IIDX 17 SIRIUS BGM",
"dir": "assets", "dir": "assets",
"preview": "preview.jpg", "preview": "preview.jpg",
"resourcepack": [ "resourcepack": [
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"audio/audio_mj/rank_change.mp3", "audio/audio_mj/rank_change.mp3",
"audio/audio_mj/score_change.mp3", "audio/audio_mj/score_change.mp3",
"audio/audio_mj/winlose.mp3", "audio/audio_mj/winlose.mp3",
"audio/music/intermission.mp3",
"audio/music/lobby.mp3", "audio/music/lobby.mp3",
"audio/my_music/0.mp3", "audio/my_music/0.mp3",
"audio/my_music/1.mp3", "audio/my_music/1.mp3",
......
// 增强型BGM,作者 rin93 改造 青龙圣者 ,bin // 增强型BGM。作者:rin93。改造:青龙圣者,bin。补充修改:Tachibana。
if (!!view && !!uiscript) { if (!!view && !!uiscript) {
const musicDir = 'music/' const musicDir = 'music/'
//h1为终局精算点正分,h2为Top,h3为精算点负分;r1为他家立直,r2为自家立直,r3为追立;连庄BGM不变,e1-e3未使用。 //h1为终局精算点正分,h2为Top,h3为精算点负分;r1为他家立直,r2为自家立直,r3为追立;连庄BGM不变,e1-e3未使用。
...@@ -27,7 +27,16 @@ if (!!view && !!uiscript) { ...@@ -27,7 +27,16 @@ if (!!view && !!uiscript) {
// 不同 UI 注入不同音乐 // 不同 UI 注入不同音乐
const lobbyMusic = musicDir + 'lobby.mp3' const lobbyMusic = musicDir + 'lobby.mp3'
const executeUIs = [['UI_Lobby', 'onEnable', 'lobby.mp3']] const executeUIs = [
['UI_Lobby', 'onEnable', 'lobby.mp3'],
['UI_Shop', 'show', 'intermission.mp3'],
['UI_Bag', 'show', 'intermission.mp3'],
['UI_Friend', 'show', 'intermission.mp3'],
['UI_Sushe', 'show_page_select', 'intermission.mp3'],
['UI_Treasure', 'refresh_show', 'intermission.mp3'],
['UI_Ob', 'show', 'intermission.mp3'],
['UI_PaiPu', 'show', 'intermission.mp3']
]
executeUIs.forEach(([scriptKey, funName, fileName]) => { executeUIs.forEach(([scriptKey, funName, fileName]) => {
uiscript[scriptKey].prototype[funName] = (() => { uiscript[scriptKey].prototype[funName] = (() => {
const functionBackup = uiscript[scriptKey].prototype[funName] const functionBackup = uiscript[scriptKey].prototype[funName]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment