diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-11-15 13:16:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-11-15 13:16:30 -0300 |
commit | 7e87e6597b414740b0a95a9ffca78083f0dfffec (patch) | |
tree | 1d111bfe33f1aead43b080806a1e9ac3a6403b0e | |
parent | ad58ae986bd1c15449e7bdeeeb4bab08b9149700 (diff) | |
download | serverdata-7e87e6597b414740b0a95a9ffca78083f0dfffec.tar.gz serverdata-7e87e6597b414740b0a95a9ffca78083f0dfffec.tar.bz2 serverdata-7e87e6597b414740b0a95a9ffca78083f0dfffec.tar.xz serverdata-7e87e6597b414740b0a95a9ffca78083f0dfffec.zip |
Convert music array in global variable, and drop the ogg part of it as we only have OGG
-rw-r--r-- | npc/functions/music.txt | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/npc/functions/music.txt b/npc/functions/music.txt index ed0c7db9..c73809f4 100644 --- a/npc/functions/music.txt +++ b/npc/functions/music.txt @@ -17,12 +17,12 @@ // Helpers public function JukeboxMusic { - changeplayermusic .MUSIC_ARRAY$[getarg(0)]; + changeplayermusic $MUSIC_ARRAY$[getarg(0)] + ".ogg"; return; } public function BroadcastMusic { - changemusic getarg(0), .MUSIC_ARRAY$[getarg(1)]; + changemusic getarg(0), $MUSIC_ARRAY$[getarg(1)] + ".ogg"; return; } @@ -44,42 +44,42 @@ public function HurnscaldPrompt { // Initialize stuff which will be needed OnInit: - .MUSIC_ARRAY$[0] = "johanne.ogg"; - .MUSIC_ARRAY$[1] = "artis.ogg"; - .MUSIC_ARRAY$[2] = "ghoulish.ogg"; - .MUSIC_ARRAY$[3] = "surreal.ogg"; - .MUSIC_ARRAY$[4] = "ocean.ogg"; - .MUSIC_ARRAY$[5] = "real.ogg"; - .MUSIC_ARRAY$[6] = "academy.ogg"; - .MUSIC_ARRAY$[7] = "bandit.ogg"; - .MUSIC_ARRAY$[8] = "barbarians.ogg"; - .MUSIC_ARRAY$[9] = "botcheck.ogg"; - .MUSIC_ARRAY$[10] = "candor.ogg"; - .MUSIC_ARRAY$[11] = "cavesong.ogg"; - .MUSIC_ARRAY$[12] = "chilling.ogg"; - .MUSIC_ARRAY$[13] = "cloudcall.ogg"; - .MUSIC_ARRAY$[14] = "crypt.ogg"; - .MUSIC_ARRAY$[15] = "despair.ogg"; - .MUSIC_ARRAY$[16] = "dimond.ogg"; - .MUSIC_ARRAY$[17] = "explorer.ogg"; - .MUSIC_ARRAY$[18] = "faith.ogg"; - .MUSIC_ARRAY$[19] = "fire.ogg"; - .MUSIC_ARRAY$[20] = "forest.ogg"; - .MUSIC_ARRAY$[21] = "graveyard.ogg"; - .MUSIC_ARRAY$[22] = "hurns.ogg"; - .MUSIC_ARRAY$[23] = "marine.ogg"; - .MUSIC_ARRAY$[24] = "mystique.ogg"; - .MUSIC_ARRAY$[25] = "nightcall.ogg"; - .MUSIC_ARRAY$[26] = "nivalis.ogg"; - .MUSIC_ARRAY$[27] = "ocean.ogg"; - .MUSIC_ARRAY$[28] = "peace.ogg"; - .MUSIC_ARRAY$[29] = "reid.ogg"; - .MUSIC_ARRAY$[30] = "sewer.ogg"; - .MUSIC_ARRAY$[31] = "store.ogg"; - .MUSIC_ARRAY$[32] = "swamp.ogg"; - .MUSIC_ARRAY$[33] = "thunderstorm.ogg"; - .MUSIC_ARRAY$[34] = "waterlude.ogg"; - .MUSIC_ARRAY$[34] = "xmas.ogg"; + $MUSIC_ARRAY$[0] = "johanne"; + $MUSIC_ARRAY$[1] = "artis"; + $MUSIC_ARRAY$[2] = "ghoulish"; + $MUSIC_ARRAY$[3] = "surreal"; + $MUSIC_ARRAY$[4] = "ocean"; + $MUSIC_ARRAY$[5] = "real"; + $MUSIC_ARRAY$[6] = "academy"; + $MUSIC_ARRAY$[7] = "bandit"; + $MUSIC_ARRAY$[8] = "barbarians"; + $MUSIC_ARRAY$[9] = "botcheck"; + $MUSIC_ARRAY$[10] = "candor"; + $MUSIC_ARRAY$[11] = "cavesong"; + $MUSIC_ARRAY$[12] = "chilling"; + $MUSIC_ARRAY$[13] = "cloudcall"; + $MUSIC_ARRAY$[14] = "crypt"; + $MUSIC_ARRAY$[15] = "despair"; + $MUSIC_ARRAY$[16] = "dimond"; + $MUSIC_ARRAY$[17] = "explorer"; + $MUSIC_ARRAY$[18] = "faith"; + $MUSIC_ARRAY$[19] = "fire"; + $MUSIC_ARRAY$[20] = "forest"; + $MUSIC_ARRAY$[21] = "graveyard"; + $MUSIC_ARRAY$[22] = "hurns"; + $MUSIC_ARRAY$[23] = "marine"; + $MUSIC_ARRAY$[24] = "mystique"; + $MUSIC_ARRAY$[25] = "nightcall"; + $MUSIC_ARRAY$[26] = "nivalis"; + $MUSIC_ARRAY$[27] = "ocean"; + $MUSIC_ARRAY$[28] = "peace"; + $MUSIC_ARRAY$[29] = "reid"; + $MUSIC_ARRAY$[30] = "sewer"; + $MUSIC_ARRAY$[31] = "store"; + $MUSIC_ARRAY$[32] = "swamp"; + $MUSIC_ARRAY$[33] = "thunderstorm"; + $MUSIC_ARRAY$[34] = "waterlude"; + $MUSIC_ARRAY$[34] = "xmas"; end; } |