Skip to content

Commit

Permalink
update for good
Browse files Browse the repository at this point in the history
  • Loading branch information
WilloIzCitron committed May 10, 2024
1 parent f67536d commit b0e2f9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ setting.ba-github.description = You can star this mod until the developer get a
setting.category.general-setting = < General Settings >
setting.category.links = < Links >
setting.ba-setSong.name = Where All Miracle Begin
setting.ba-setSongRecollection.name = Recollection Lobby Soundtrack
setting.ba-setSong.description = [red][HEAVY SPOILER!!][] Replaces the original song (Const. Moderato) into "Where All Miracle Begin" (RE Aoharu)
setting.gameOver.name = Game Over (Win & Lose)
setting.research.name = Research
Expand Down
Binary file added assets/music/menurcl.ogg
Binary file not shown.
10 changes: 10 additions & 0 deletions src/bluearchive/ArchiveDustry.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ public void init(){
} else {
Musics.menu = tree.loadMusic("menucm");
}
if(Core.settings.getBool("ba-setSongRecollection")){
Musics.menu = tree.loadMusic("menrcl");
}
}

void loadSettings(){
Expand All @@ -128,6 +131,13 @@ void loadSettings(){
t.pref(new Separator(4));
t.checkPref("ba-firstTime", true);
t.checkPref("ba-addHalo", true);
t.checkPref("ba-setSongRecollection", false, b -> {
if (b) {
Musics.menu = tree.loadMusic("menurcl");
} else {
Musics.menu = tree.loadMusic("menucm");
}
});
t.checkPref("ba-setSong", false, b -> {
if (b) {
Musics.menu = tree.loadMusic("menure-aoh");
Expand Down

0 comments on commit b0e2f9c

Please sign in to comment.