Skip to content

Commit

Permalink
Add Fur Elise to the piano
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Jun 27, 2023
1 parent 00e827b commit cb31408
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions DXRando/DeusEx/Classes/DXRandoSounds.uc
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ class DXRandoSounds extends Object abstract;
#exec AUDIO IMPORT FILE="Sounds\NeverGonnaGive.mp3" NAME="NeverGonnaGive" GROUP="MemePiano"
#exec AUDIO IMPORT FILE="Sounds\MiiChannel.mp3" NAME="MiiChannel" GROUP="MemePiano"
#exec AUDIO IMPORT FILE="Sounds\SpinachRag.mp3" NAME="SpinachRag" GROUP="MemePiano"
#exec AUDIO IMPORT FILE="Sounds\FurElise.mp3" NAME="FurElise" GROUP="MemePiano"

#exec AUDIO IMPORT FILE="Sounds\JockLetsGo.mp3" NAME="PocketJockLetsGo" GROUP="DXRandoItems"
8 changes: 6 additions & 2 deletions DXRando/DeusEx/Classes/WHPiano.uc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class DXRPiano injects #var(prefix)WHPiano;

var int SongPlayed[16];
var int SongPlayed[17];
var DXRando dxr;

function bool ValidSong(int i)
Expand Down Expand Up @@ -32,7 +32,7 @@ function Frob(actor Frobber, Inventory frobWith)
foreach AllActors(class'DXRando', dxr) {break;}
}

rnd = Rand(16); //make sure this matches the number of sounds below
rnd = Rand(17); //make sure this matches the number of sounds below
switch(rnd){
case 0:
//DX Theme, Correct
Expand Down Expand Up @@ -107,6 +107,10 @@ function Frob(actor Frobber, Inventory frobWith)
SelectedSound = sound'SpinachRag';
duration = 5;
break;
case 16:
SelectedSound = sound'FurElise';
duration = 5;
break;
default:
log("DXRPiano went too far this time! Got "$rnd);
return;
Expand Down
Binary file added DXRando/DeusEx/Sounds/FurElise.mp3
Binary file not shown.

0 comments on commit cb31408

Please sign in to comment.