Skip to content

Commit 1c101fc

Browse files
authored
feat(music): new music by jumpy
1 parent fa70d3a commit 1c101fc

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed
2.75 MB
Binary file not shown.
2.56 MB
Binary file not shown.

react_main/src/audio/audioConfigs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ export const mafiaMusicConfig: AudioEntry[] = [
4646
{ fileName: "music/NightProtector", loop: true },
4747
{ fileName: "music/NightWestern", loop: true },
4848
{ fileName: "music/NightWinter", loop: true },
49+
{ fileName: "music/NightPenguin", loop: true },
4950
{ fileName: "music/NightFool", loop: true },
5051
{ fileName: "music/NightJoker", loop: true },
52+
{ fileName: "music/NightExecutioner", loop: true},
5153
{ fileName: "music/NightSiren", loop: true },
5254
{ fileName: "music/NightFantasy", loop: true },
5355
{ fileName: "music/NightPolitic", loop: true },

react_main/src/pages/Game/MafiaGame.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ export default function MafiaGame() {
162162
case "Matchmaker":
163163
game.playAudio("music/NightWinter");
164164
break;
165+
case "Penguin":
166+
game.playAudio("music/NightPenguin");
167+
break;
165168
case "Fiddler":
166169
game.playAudio("music/NightFiddler");
167170
break;
@@ -247,6 +250,9 @@ export default function MafiaGame() {
247250
case "Politician":
248251
game.playAudio("music/NightPolitic");
249252
break;
253+
case "Executioner":
254+
game.playAudio("music/NightExecutioner");
255+
break;
250256
default:
251257
if (currentAlignment === "Mafia") {
252258
// If mafia role isn't listed above the mafia track plays

0 commit comments

Comments
 (0)