diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-05-12 00:42:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-05-12 00:42:52 -0300 |
commit | cc1264ec9336d4d355bf3a2eb2044d917aea5f47 (patch) | |
tree | c598289e3aea95cdb9e299fd93af4cb9e04a3cb1 | |
parent | 04082705de4bb94913f2af25ee2a6d397c2f9c4f (diff) | |
download | serverdata-cc1264ec9336d4d355bf3a2eb2044d917aea5f47.tar.gz serverdata-cc1264ec9336d4d355bf3a2eb2044d917aea5f47.tar.bz2 serverdata-cc1264ec9336d4d355bf3a2eb2044d917aea5f47.tar.xz serverdata-cc1264ec9336d4d355bf3a2eb2044d917aea5f47.zip |
New soundtracks!
-rw-r--r-- | npc/commands/music.txt | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/npc/commands/music.txt b/npc/commands/music.txt index 37ee7ea47..bff44130f 100644 --- a/npc/commands/music.txt +++ b/npc/commands/music.txt @@ -18,7 +18,7 @@ function listMusic { dispbottom "ship, city, ghoul, surreal, magic, forest, mythica, acid, misuse, prelude, sunrise, peace, peace2, peace3, toast, woodland2, fortress, adonthell"; dispbottom "unforgiving, deepcave, 8bit, action, hurns, fields, tulim, candor, lof, icecave, manacave, adventure, dance, academy, shrine, boss, ruins, minstrel"; - dispbottom "sprint, valkyries"; + dispbottom "sprint, valkyries, moubootaur, optional, broken, minute, savior, firedragon"; return; } @@ -44,6 +44,22 @@ OnCall: OnMyself: .@key$ = strtolower(.@atcmd_parameters$[0]); + + // Restricted soundtracks + if (.@key$ == "moubootaur" && !FINAL_WINNER) { + dispbottom l("This soundtrack is only available after completing the Final Showdown!"); + end; + } + if (.@key$ == "optional" && !MK_WINNER) { + dispbottom l("This soundtrack is only available after defeating the Monster King!"); + end; + } + if (.@key$ == "savior" && !MOUBOOTAUR_WINNER) { + dispbottom l("This soundtrack is only available after defeating the Sealed Moubootaur!"); + end; + } + + // Retrieve the music track .@m$ = htget(.hash, .@key$, "Not found"); if (.@m$ == "Not found") { @@ -99,5 +115,11 @@ OnInit: htput(.hash, "adonthell", "adonthell.ogg"); htput(.hash, "sprint", "forest-sprint.ogg"); htput(.hash, "valkyries", "valkyries.ogg"); + htput(.hash, "moubootaur", "Slaying_Shovel.ogg"); + htput(.hash, "optional", "around_the_world.ogg"); + htput(.hash, "broken", "broken_kingdom.ogg"); + htput(.hash, "minute", "last_minute.ogg"); + htput(.hash, "savior", "savior_of_humanity.ogg"); + htput(.hash, "firedragon", "the_fire_dragon.ogg"); } |