public override void OnEnter(Mobile m) { m.SendMessage("You have entered Skaddria Arena. You may do battle with others."); m.Send(PlayMusic.GetInstance(MusicName.Trinsic)); base.OnEnter(m); }
public virtual void PlayMusic(Mobile m) { if ((this.m_Music != MusicName.Invalid) && (m.NetState != null)) { m.Send(PlayMusic.GetInstance(this.m_Music)); } }
internal static void OnRegionChange(Mobile m, Region oldRegion, Region newRegion) { if (newRegion != null && m.NetState != null) { m.CheckLightLevels(false); if (oldRegion == null || oldRegion.Music != newRegion.Music) { m.Send(PlayMusic.GetInstance(newRegion.Music)); } } Region oldR = oldRegion; Region newR = newRegion; while (oldR != newR) { int oldRChild = (oldR != null ? oldR.ChildLevel : -1); int newRChild = (newR != null ? newR.ChildLevel : -1); if (oldRChild >= newRChild) { oldR.OnExit(m); oldR = oldR.Parent; } if (newRChild >= oldRChild) { newR.OnEnter(m); newR = newR.Parent; } } }
private static void PlayMusic_OnCommand(CommandEventArgs e) { Mobile m = e.Mobile; string toSend = e.ArgString.Trim(); if (toSend.Length > 0) { m.Send(PlayMusic.GetInstance((MusicName)(int.Parse(toSend)))); } }
private static void onLogin(LoginEventArgs args) { MusicName toPlay = Config.SingleMusic; if (Config.PlayRandomMusic) { toPlay = MusicList[Utility.Random(MusicList.Length)]; } args.Mobile.Send(PlayMusic.GetInstance(toPlay)); }
public void ToggleMusic(Mobile m, bool play) { if (m_ActualSong != MusicName.Invalid && m.Client != null) { m.Send(PlayMusic.InvalidInstance); // Stop actual music if (play) { m.Send(PlayMusic.GetInstance(m_ActualSong)); } } }
private static void OnCommandMusic(CommandEventArgs e) { e.Mobile.SendMessage("Tocando musiquinha :B"); var musicId = e.GetInt32(0); try { e.Mobile.NetState.Send(PlayMusic.GetInstance(musicId)); } catch (Exception ex) { e.Mobile.SendMessage("Achei a musica nao veih " + ex.Message); } }
//UOSI public override void OnEnter(Mobile m) { base.OnEnter(m); if (!(m is PlayerMobile)) { return; } m.SendMessage("Thou hast entered " + Name); m.Send(PlayMusic.GetInstance(MusicName.Invalid)); m.Send(PlayMusic.GetInstance((m as PlayerMobile).GetRandomWildernessMusic())); }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 8) && m is PlayerMobile) { m.Send(PlayMusic.GetInstance(MusicName.Taiko)); m_Talked = true; SayRandom(CalcifinaSay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
/// <summary> /// On player logout, broadcast a message. /// </summary> public static void EventSink_Logout(LogoutEventArgs e) { if (e.Mobile.Player) { e.Mobile.Send(PlayMusic.GetInstance(MusicName.LoginLoop)); if (e.Mobile.AccessLevel <= m_AnnounceLevel) { CommandHandlers.BroadcastMessage(AccessLevel.Player, m_LogoutHue, String.Format(m_LogoutMessage, e.Mobile.Name)); } else //broadcast any other level to the staff { CommandHandlers.BroadcastMessage(AccessLevel.Counselor, m_LogoutHue, String.Format(m_LogoutMessage, e.Mobile.Name)); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (DateTime.Now >= m_NextTalk && InRange(m, 10) && InLOS(m) && m is PlayerMobile && !m.Hidden) // check if it's time to talk & mobile in range & in los. { m.Send(PlayMusic.GetInstance(MusicName.BattleOnStones)); m_NextTalk = DateTime.Now + TalkDelay; // set next talk time switch (Utility.Random(2)) { case 0: Say("**"); break; case 1: Say("**"); break; } ; } }
public override void OnEnter(Mobile m) { if (m is PlayerMobile) { PlayerMobile player = m as PlayerMobile; if (m.Warmode) { ////////// Boss Theme 4 ////////// m.Send(PlayMusic.GetInstance(MusicName.Docktown)); } else { ////////// Boss Theme 4 ////////// m.Send(PlayMusic.GetInstance(MusicName.Docktown)); } } base.OnEnter(m); }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (DateTime.Now >= m_NextTalk && InRange(m, 10) && InLOS(m) && m is PlayerMobile && !m.Hidden) // check if it's time to talk & mobile in range & in los. { m.Send(PlayMusic.GetInstance(MusicName.StygianDragon)); ShootLightningArrow(m); RangePerception = 300; CurrentSpeed = BoostedSpeed; this.Combatant = m; m_NextTalk = DateTime.Now + TalkDelay; // set next talk time switch (Utility.Random(2)) { case 0: Say("**"); break; case 1: Say("**"); break; } ; } }
//SIOP - On logout, go back to the loginloop theme. static void OnLogout(LogoutEventArgs args) { args.Mobile.Send(PlayMusic.GetInstance(MusicName.LoginLoop)); }
public override void OnDoubleClick(Mobile m) { if (Mplay == 1) { m.Send(PlayMusic.GetInstance(MusicName.Ultima)); m.SendMessage("Ultima"); Mplay = Mplay + 1; } else if (Mplay == 2) { m.Send(PlayMusic.GetInstance(MusicName.Mines)); m.SendMessage("Mines"); Mplay = Mplay + 1; } else if (Mplay == 3) { m.Send(PlayMusic.GetInstance(MusicName.Dragon)); m.SendMessage("Dragon"); Mplay = Mplay + 1; } else if (Mplay == 4) { m.Send(PlayMusic.GetInstance(MusicName.Scouting)); m.SendMessage("Scouting"); Mplay = Mplay + 1; } else if (Mplay == 5) { m.Send(PlayMusic.GetInstance(MusicName.Wrong)); m.SendMessage("Wrong"); Mplay = Mplay + 1; } else if (Mplay == 6) { m.Send(PlayMusic.GetInstance(MusicName.Hunting)); m.SendMessage("Hunting"); Mplay = Mplay + 1; } else if (Mplay == 7) { m.Send(PlayMusic.GetInstance(MusicName.Covetous)); m.SendMessage("Covetous"); Mplay = Mplay + 1; } else if (Mplay == 8) { m.Send(PlayMusic.GetInstance(MusicName.Deceit)); m.SendMessage("Deceit"); Mplay = Mplay + 1; } else if (Mplay == 9) { m.Send(PlayMusic.GetInstance(MusicName.Odyssey)); m.SendMessage("Odyssey"); Mplay = Mplay + 1; } else if (Mplay == 10) { m.Send(PlayMusic.GetInstance(MusicName.Britain)); m.SendMessage("Britain"); Mplay = Mplay + 1; } else if (Mplay == 11) { m.Send(PlayMusic.GetInstance(MusicName.CastleBritain)); m.SendMessage("Castle British"); Mplay = Mplay + 1; } else if (Mplay == 12) { m.Send(PlayMusic.GetInstance(MusicName.BucsDen)); m.SendMessage("Bucs Den"); Mplay = Mplay + 1; } else if (Mplay == 13) { m.Send(PlayMusic.GetInstance(MusicName.DevilGuard)); m.SendMessage("Devil Guard"); Mplay = Mplay + 1; } else if (Mplay == 14) { m.Send(PlayMusic.GetInstance(MusicName.CastleKnowledge)); m.SendMessage("Castle Knowledge"); Mplay = Mplay + 1; } else if (Mplay == 15) { m.Send(PlayMusic.GetInstance(MusicName.Adventure)); m.SendMessage("Adventure"); Mplay = Mplay + 1; } else if (Mplay == 16) { m.Send(PlayMusic.GetInstance(MusicName.Renika)); m.SendMessage("Renika"); Mplay = Mplay + 1; } else if (Mplay == 17) { m.Send(PlayMusic.GetInstance(MusicName.Montor)); m.SendMessage("Montor"); Mplay = Mplay + 1; } else if (Mplay == 18) { m.Send(PlayMusic.GetInstance(MusicName.Grey)); m.SendMessage("Grey"); Mplay = Mplay + 1; } else if (Mplay == 19) { m.Send(PlayMusic.GetInstance(MusicName.Destard)); m.SendMessage("Destard"); Mplay = Mplay + 1; } else if (Mplay == 20) { m.Send(PlayMusic.GetInstance(MusicName.FiresHell)); m.SendMessage("Fires of Hell"); Mplay = Mplay + 1; } else if (Mplay == 21) { m.Send(PlayMusic.GetInstance(MusicName.SkaraBrae)); m.SendMessage("Skara Brae"); Mplay = Mplay + 1; } else if (Mplay == 22) { m.Send(PlayMusic.GetInstance(MusicName.Moon)); m.SendMessage("Moon"); Mplay = Mplay + 1; } else if (Mplay == 23) { m.Send(PlayMusic.GetInstance(MusicName.Luna)); m.SendMessage("Luna"); Mplay = Mplay + 1; } else if (Mplay == 24) { m.Send(PlayMusic.GetInstance(MusicName.TimeAwaits)); m.SendMessage("Time Awaits"); Mplay = Mplay + 1; } else if (Mplay == 25) { m.Send(PlayMusic.GetInstance(MusicName.Yew)); m.SendMessage("Yew"); Mplay = Mplay + 1; } else if (Mplay == 26) { m.Send(PlayMusic.GetInstance(MusicName.Doom)); m.SendMessage("Doom"); Mplay = Mplay + 1; } else if (Mplay == 27) { m.Send(PlayMusic.GetInstance(MusicName.Exodus)); m.SendMessage("Exodus"); Mplay = Mplay + 1; } else if (Mplay == 28) { m.Send(PlayMusic.GetInstance(MusicName.Traveling)); m.SendMessage("Traveling"); Mplay = Mplay + 1; } else if (Mplay == 29) { m.Send(PlayMusic.GetInstance(MusicName.Docks)); m.SendMessage("Docks"); Mplay = Mplay + 1; } else if (Mplay == 30) { m.Send(PlayMusic.GetInstance(MusicName.Explore)); m.SendMessage("Explore"); Mplay = Mplay + 1; } else if (Mplay == 31) { m.Send(PlayMusic.GetInstance(MusicName.Searching)); m.SendMessage("Searching"); Mplay = Mplay + 1; } else if (Mplay == 32) { m.Send(PlayMusic.GetInstance(MusicName.Wandering)); m.SendMessage("Wandering"); Mplay = Mplay + 1; } else if (Mplay == 33) { m.Send(PlayMusic.GetInstance(MusicName.Sailing)); m.SendMessage("Sailing"); Mplay = Mplay + 1; } else if (Mplay == 34) { m.Send(PlayMusic.GetInstance(MusicName.Expedition)); m.SendMessage("Expedition"); Mplay = Mplay + 1; } else if (Mplay == 35) { m.Send(PlayMusic.GetInstance(MusicName.Tavern)); m.SendMessage("Tavern"); Mplay = Mplay + 1; } else if (Mplay == 36) { m.Send(PlayMusic.GetInstance(MusicName.Bar)); m.SendMessage("Bar"); Mplay = Mplay + 1; } else if (Mplay == 37) { m.Send(PlayMusic.GetInstance(MusicName.Alehouse)); m.SendMessage("Alehouse"); Mplay = Mplay + 1; } else if (Mplay == 38) { m.Send(PlayMusic.GetInstance(MusicName.Inn)); m.SendMessage("Inn"); Mplay = Mplay + 1; } else if (Mplay == 39) { m.Send(PlayMusic.GetInstance(MusicName.Combat1)); m.SendMessage("Combat 1"); Mplay = Mplay + 1; } else if (Mplay == 40) { m.Send(PlayMusic.GetInstance(MusicName.Combat2)); m.SendMessage("Combat 2"); Mplay = Mplay + 1; } else if (Mplay == 41) { m.Send(PlayMusic.GetInstance(MusicName.Combat3)); m.SendMessage("Combat 3"); Mplay = Mplay + 1; } else if (Mplay == 42) { m.Send(PlayMusic.GetInstance(MusicName.Catacombs)); m.SendMessage("Catacombs"); Mplay = Mplay + 1; } else if (Mplay == 43) { m.Send(PlayMusic.GetInstance(MusicName.Death)); m.SendMessage("Death"); Mplay = Mplay + 1; } else if (Mplay == 44) { m.Send(PlayMusic.GetInstance(MusicName.Roaming)); m.SendMessage("Roaming"); Mplay = Mplay + 1; } else if (Mplay == 45) { m.Send(PlayMusic.GetInstance(MusicName.WizardDen)); m.SendMessage("Wizard Den"); Mplay = Mplay + 1; } else if (Mplay == 46) { m.Send(PlayMusic.GetInstance(MusicName.Fawn)); m.SendMessage("Fawn"); Mplay = Mplay + 1; } else if (Mplay == 47) { m.Send(PlayMusic.GetInstance(MusicName.Clues)); m.SendMessage("Clues"); Mplay = Mplay + 1; } else if (Mplay == 48) { m.Send(PlayMusic.GetInstance(MusicName.DeathGulch)); m.SendMessage("Death Gulch"); Mplay = Mplay + 1; } else if (Mplay == 49) { m.Send(PlayMusic.GetInstance(MusicName.Elidor)); m.SendMessage("Elidor"); Mplay = Mplay + 1; } else if (Mplay == 50) { m.Send(PlayMusic.GetInstance(MusicName.Guild)); m.SendMessage("Guild"); Mplay = Mplay + 1; } else if (Mplay == 51) { m.Send(PlayMusic.GetInstance(MusicName.MinesMorinia)); m.SendMessage("Mines of Morinia"); Mplay = Mplay + 1; } else if (Mplay == 52) { m.Send(PlayMusic.GetInstance(MusicName.Taiko)); m.SendMessage("Taiko"); Mplay = Mplay + 1; } else if (Mplay == 53) { m.Send(PlayMusic.GetInstance(MusicName.DardinsPit)); m.SendMessage("Dardin's Pit"); Mplay = Mplay + 1; } else if (Mplay == 54) { m.Send(PlayMusic.GetInstance(MusicName.City)); m.SendMessage("City"); Mplay = Mplay + 1; } else if (Mplay == 55) { m.Send(PlayMusic.GetInstance(MusicName.PerinianDepths)); m.SendMessage("Perinian Depths"); Mplay = Mplay + 1; } else if (Mplay == 56) { m.Send(PlayMusic.GetInstance(MusicName.Hythloth)); m.SendMessage("Hythloth"); Mplay = Mplay + 1; } else if (Mplay == 57) { m.Send(PlayMusic.GetInstance(MusicName.Seeking)); m.SendMessage("Seeking"); Mplay = Mplay + 1; } else if (Mplay == 58) { m.Send(PlayMusic.GetInstance(MusicName.TimeLord)); m.SendMessage("Time Lord"); Mplay = Mplay + 1; } else if (Mplay == 59) { m.Send(PlayMusic.GetInstance(MusicName.Cave)); m.SendMessage("Cave"); Mplay = Mplay + 1; } else if (Mplay == 60) { m.Send(PlayMusic.GetInstance(MusicName.Quest)); m.SendMessage("Quest"); Mplay = Mplay + 1; } else if (Mplay == 61) { m.Send(PlayMusic.GetInstance(MusicName.Grotto)); m.SendMessage("Grotto"); Mplay = Mplay + 1; } else if (Mplay == 62) { m.Send(PlayMusic.GetInstance(MusicName.Shame)); m.SendMessage("Shame"); Mplay = Mplay + 1; } else if (Mplay == 63) { m.Send(PlayMusic.GetInstance(MusicName.DarkGuild)); m.SendMessage("Dark Guild"); Mplay = Mplay + 1; } else if (Mplay == 64) { m.Send(PlayMusic.GetInstance(MusicName.Despise)); m.SendMessage("Despise"); Mplay = Mplay + 1; } else if (Mplay == 65) { m.Send(PlayMusic.GetInstance(MusicName.Pub)); m.SendMessage("Pub"); Mplay = Mplay + 1; } else if (Mplay == 66) { m.Send(PlayMusic.GetInstance(MusicName.Combat4)); m.SendMessage("Combat 4"); Mplay = Mplay + 1; } else { m.Send(PlayMusic.GetInstance(MusicName.Pirates)); m.SendMessage("Pirates"); Mplay = 1; } }
static void OnLogin(LoginEventArgs args) { args.Mobile.Send(PlayMusic.GetInstance(72)); }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (DateTime.Now >= m_NextTalk && InRange(m, 15) && InLOS(m) && m is PlayerMobile && !m.Hidden) // check if it's time to talk & mobile in range & in los. { m.Send(PlayMusic.GetInstance(MusicName.StygianDragon)); m_NextTalk = DateTime.Now + TalkDelay; // set next talk time switch (Utility.Random(40)) { case 0: Say("KNEEL BEFORE ME COWARD!"); break; case 1: Say("MY FANGS HUNGER FOR YOUR VESSEL!"); break; case 2: Say("DEVASTATION BEFORE DINNER!"); break; case 3: Say("THE EYE OF SHADOW IS UPON YOU!"); break; case 4: Say("FROM THE BOGS OF DESOLATION, I ARISE!"); break; case 5: Say("YOUR PERSISTENT CALLOUSNESS SHALL RESULT IN YOUR DOWNFALL MORTAL!"); break; case 6: Say("FACE THE WRATH OF SORROW! THE AGONY INFLICTED BY MY OPPRESSORS SHALL BE REFLECTED BACK UPON YOU TENFOLD!"); break; case 7: Say("I AM THE DRAGON OF BLOOD! YOUR RELENTLESS PRINCE OF PAIN!"); break; case 8: Say("HSSSSSKKKKKKKSSSS!"); break; case 9: Say("I SHALL FERTILIZE THESE LANDS USING YOUR CORPSE!"); break; case 10: Say("CALL OUT THE BEAST AND HIS FRIENDS! I WILL DEVOUR! I WILL DIVIDE!"); break; case 11: Say("I'M A HELLBOUND HIDE! A DARK DESIGNER! I AM THE VENGEFUL ONE!"); break; case 12: Say("OO WAH AH AH AH!"); break; case 13: Say("GET UP MY FRIENDS! AND GET DOWN WITH THE SICKNESS!"); break; case 14: Say("I SHALL TEAR A BIG HOLE IN WHAT IS TO BE! TO END ALL THIS INFATUATION WITH UNITY!"); break; case 15: Say("I'M A LOT MORE PROVOCATIVE THAN YOU MIGHT NEED! IT'S YOUR SHOCK AND HORROR ON WHICH I FEED!"); break; case 16: Say("FROM THE OTHER SIDE, I'M A TERROR TO BEHOLD! YOUR ANNIHILATION WILL BE UNAVOIDABLE!"); break; case 17: Say("I AM A INSTRUMENT OF VIOLENCE! I AM A VESSEL OF INVINCIBILITY!"); break; case 18: Say("SURRENDER NOW! OR BE COUNTED WITH THE ENDLESS MASSES THAT I WILL DEFEAT!"); break; case 19: Say("MADNESS IS THE GIFT THAT HAS BEEN GIVEN TO ME!"); break; case 20: Say("OPEN UP YOUR HATE AND LET IT PUMP INTO ME!"); break; case 21: Say("WHEN YOU DIE! YOU'LL KNOW WHY! FOR YOU CANNOT BE SAVED, THIS WORLD IS TOO DEPRAVED!"); break; case 22: Say("TAKE A LOOK AROUND! YOU CAN'T DENY WHAT YOU SEE! WE'RE LIVING IN A VIOLENT SOCIETY!"); break; case 23: Say("TIME TO SHED THIS MORTAL DISGUISE! FOR THE BEAST IS COMING TO LIFE!"); break; case 24: Say("WE BEGIN THE HUNT! AND I FEEL THE POWER COURSE AS THIS CREATURE TAKES FLIGHT!"); break; case 25: Say("RUN YOU LITTLE BITCH! I WANT YOUR POWER GLOWING, JUICY FLOWING, RED HOT, MEANING OF LIFE!"); break; case 26: Say("BRING THE VIOLENCE! IT'SIGNIFICANT TO THE LIFE IF YOU'VE EVER KNOWN ANYONE!"); break; case 27: Say("COME A LITTLE CLOSER MY PRETENTIOUS W***E! I'M LIVING WITH A FEELING THAT I CAN'T IGNORE!"); break; case 28: Say("MALEVOLENT CRIMINAL, I! WHEN THE VISION PAINTS MY MIND! CROSS THE INVISIBLE LINE AND YOU'LL BE PAID IN KIND!"); break; case 29: Say("NOW I CAN'T STAY BEHIND! SAVE ME FROM WREAKING MY VENGEANCE UPON YOU! TO KILLING MORE THAN I CAN TELL! BURNING NOW I BRING YOU HELL!"); break; case 30: Say("YOU'D BETTER CHERISH THIS MOMENT AS YOU DIG INTO ME! YOU'LL NEVER GET ANOTHER CHANCE AT THIS!"); break; case 31: Say("I WON'T STAND ANOTHER MINUTE OF YOU QUESTIONING ME! YOU HEAR ME BITCH! STOP! THE INTERROGATION'S OVER!"); break; case 32: Say("I CAN'T HANDLE THE FEELING OF YOU PESTERING ME! HOW WOULD YOU LIKE TO MEET MY FAVORITE FIST!"); break; case 33: Say("I DREAM THIS MOMENT AS YOU RUN AWAY! YOU WOULD ONLY SEPARATE ME FROM WHAT I BELIEVE! THIS MOMENT IN BRUTALITY! YOU'RE THE ONE WHO KEPT ON PUSHING 'TIL I MADE YOU BLEED!"); break; case 34: Say("DON'T WONDER WHY YOU CAN'T CLEAR THIS FINAL SIN! YOU KNOW THIS STORY WAS OVER BEFORE IT BEGAN! THIS IS A BATTLE YOU'RE NOT GONNA WIN! WELCOME TO THE END!"); break; case 35: Say("SO WHAT YOU WAITING FOR? TELL ME WHAT YOU WAITING FOR! DON'T STAND BY AND DENY IT!"); break; case 36: Say("SO WHAT YOU WAITING FOR! TELL ME WHAT YOU WAITING FOR! BREAK NEW GROUND AND DEFY IT!"); break; case 37: Say("NOW YOU'VE BECOME EVERYTHING YOU CLAIM TO FIGHT! THROUGH YOUR NEED TO FEEL YOU'RE RIGHT! YOU'RE THE SAVIOR OF NOTHING NOW!"); break; case 38: Say("YOU SEE I CANNOT BE FORSAKEN, BECAUSE I'M NOT THE ONLY ONE! WE WALK AMONGST YOU! FEEDING! RAPING! MUST WE HIDE FROM EVERYONE!"); break; case 39: Say("HOW CAN I FEEL THIS EMPTY? I WILL NOT RECOVER THIS TIME! THIS LONELINESS IS KILLING ME!"); break; } ; } }
public override void OnDoubleClick(Mobile m) { if (Mplay == 1) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt01)); m.SendMessage("OldUlt01"); Mplay = Mplay + 1; } else if (Mplay == 2) { m.Send(PlayMusic.GetInstance(MusicName.Create1)); m.SendMessage("Create1"); Mplay = Mplay + 1; } else if (Mplay == 3) { m.Send(PlayMusic.GetInstance(MusicName.DragFlit)); m.SendMessage("DragFlit"); Mplay = Mplay + 1; } else if (Mplay == 4) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt02)); m.SendMessage("OldUlt02"); Mplay = Mplay + 1; } else if (Mplay == 5) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt03)); m.SendMessage("OldUlt03"); Mplay = Mplay + 1; } else if (Mplay == 6) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt04)); m.SendMessage("OldUlt04"); Mplay = Mplay + 1; } else if (Mplay == 7) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt05)); m.SendMessage("OldUlt05"); Mplay = Mplay + 1; } else if (Mplay == 8) { m.Send(PlayMusic.GetInstance(MusicName.OldUlt06)); m.SendMessage("OldUlt06"); Mplay = Mplay + 1; } else if (Mplay == 9) { m.Send(PlayMusic.GetInstance(MusicName.Stones2)); m.SendMessage("Stones2"); Mplay = Mplay + 1; } else if (Mplay == 10) { m.Send(PlayMusic.GetInstance(MusicName.Britain1)); m.SendMessage("Britain1"); Mplay = Mplay + 1; } else if (Mplay == 11) { m.Send(PlayMusic.GetInstance(MusicName.Britain2)); m.SendMessage("Britain2"); Mplay = Mplay + 1; } else if (Mplay == 12) { m.Send(PlayMusic.GetInstance(MusicName.Bucsden)); m.SendMessage("Bucsden"); Mplay = Mplay + 1; } else if (Mplay == 13) { m.Send(PlayMusic.GetInstance(MusicName.Jhelom)); m.SendMessage("Jhelom"); Mplay = Mplay + 1; } else if (Mplay == 14) { m.Send(PlayMusic.GetInstance(MusicName.LBCastle)); m.SendMessage("LBCastle"); Mplay = Mplay + 1; } else if (Mplay == 15) { m.Send(PlayMusic.GetInstance(MusicName.Linelle)); m.SendMessage("Linelle"); Mplay = Mplay + 1; } else if (Mplay == 16) { m.Send(PlayMusic.GetInstance(MusicName.Magincia)); m.SendMessage("Magincia"); Mplay = Mplay + 1; } else if (Mplay == 17) { m.Send(PlayMusic.GetInstance(MusicName.Minoc)); m.SendMessage("Minoc"); Mplay = Mplay + 1; } else if (Mplay == 18) { m.Send(PlayMusic.GetInstance(MusicName.Ocllo)); m.SendMessage("Ocllo"); Mplay = Mplay + 1; } else if (Mplay == 19) { m.Send(PlayMusic.GetInstance(MusicName.Samlethe)); m.SendMessage("Samlethe"); Mplay = Mplay + 1; } else if (Mplay == 20) { m.Send(PlayMusic.GetInstance(MusicName.Serpents)); m.SendMessage("Serpents"); Mplay = Mplay + 1; } else if (Mplay == 21) { m.Send(PlayMusic.GetInstance(MusicName.Skarabra)); m.SendMessage("Skarabra"); Mplay = Mplay + 1; } else if (Mplay == 22) { m.Send(PlayMusic.GetInstance(MusicName.Trinsic)); m.SendMessage("Trinsic"); Mplay = Mplay + 1; } else if (Mplay == 23) { m.Send(PlayMusic.GetInstance(MusicName.Vesper)); m.SendMessage("Vesper"); Mplay = Mplay + 1; } else if (Mplay == 24) { m.Send(PlayMusic.GetInstance(MusicName.Wind)); m.SendMessage("Wind"); Mplay = Mplay + 1; } else if (Mplay == 25) { m.Send(PlayMusic.GetInstance(MusicName.Yew)); m.SendMessage("Yew"); Mplay = Mplay + 1; } else if (Mplay == 26) { m.Send(PlayMusic.GetInstance(MusicName.Cave01)); m.SendMessage("Cave01"); Mplay = Mplay + 1; } else if (Mplay == 27) { m.Send(PlayMusic.GetInstance(MusicName.Dungeon9)); m.SendMessage("Dungeon9"); Mplay = Mplay + 1; } else if (Mplay == 28) { m.Send(PlayMusic.GetInstance(MusicName.Forest_a)); m.SendMessage("Forest_a"); Mplay = Mplay + 1; } else if (Mplay == 29) { m.Send(PlayMusic.GetInstance(MusicName.InTown01)); m.SendMessage("InTown01"); Mplay = Mplay + 1; } else if (Mplay == 30) { m.Send(PlayMusic.GetInstance(MusicName.Jungle_a)); m.SendMessage("Jungle_a"); Mplay = Mplay + 1; } else if (Mplay == 31) { m.Send(PlayMusic.GetInstance(MusicName.Mountn_a)); m.SendMessage("Mountn_a"); Mplay = Mplay + 1; } else if (Mplay == 32) { m.Send(PlayMusic.GetInstance(MusicName.Plains_a)); m.SendMessage("Plains_a"); Mplay = Mplay + 1; } else if (Mplay == 33) { m.Send(PlayMusic.GetInstance(MusicName.Sailing)); m.SendMessage("Sailing"); Mplay = Mplay + 1; } else if (Mplay == 34) { m.Send(PlayMusic.GetInstance(MusicName.Swamp_a)); m.SendMessage("Swamp_a"); Mplay = Mplay + 1; } else if (Mplay == 35) { m.Send(PlayMusic.GetInstance(MusicName.Tavern01)); m.SendMessage("Tavern01"); Mplay = Mplay + 1; } else if (Mplay == 36) { m.Send(PlayMusic.GetInstance(MusicName.Tavern02)); m.SendMessage("Tavern02"); Mplay = Mplay + 1; } else if (Mplay == 37) { m.Send(PlayMusic.GetInstance(MusicName.Tavern03)); m.SendMessage("Tavern03"); Mplay = Mplay + 1; } else if (Mplay == 38) { m.Send(PlayMusic.GetInstance(MusicName.Tavern04)); m.SendMessage("Tavern04"); Mplay = Mplay + 1; } else if (Mplay == 39) { m.Send(PlayMusic.GetInstance(MusicName.Combat1)); m.SendMessage("Combat1"); Mplay = Mplay + 1; } else if (Mplay == 40) { m.Send(PlayMusic.GetInstance(MusicName.Combat2)); m.SendMessage("Combat2"); Mplay = Mplay + 1; } else if (Mplay == 41) { m.Send(PlayMusic.GetInstance(MusicName.Combat3)); m.SendMessage("Combat3"); Mplay = Mplay + 1; } else if (Mplay == 42) { m.Send(PlayMusic.GetInstance(MusicName.Approach)); m.SendMessage("Approach"); Mplay = Mplay + 1; } else if (Mplay == 43) { m.Send(PlayMusic.GetInstance(MusicName.Death)); m.SendMessage("Death"); Mplay = Mplay + 1; } else if (Mplay == 44) { m.Send(PlayMusic.GetInstance(MusicName.Victory)); m.SendMessage("Victory"); Mplay = Mplay + 1; } else if (Mplay == 45) { m.Send(PlayMusic.GetInstance(MusicName.BTCastle)); m.SendMessage("BTCastle"); Mplay = Mplay + 1; } else if (Mplay == 46) { m.Send(PlayMusic.GetInstance(MusicName.Nujelm)); m.SendMessage("Nujelm"); Mplay = Mplay + 1; } else if (Mplay == 47) { m.Send(PlayMusic.GetInstance(MusicName.Dungeon2)); m.SendMessage("Dungeon2"); Mplay = Mplay + 1; } else if (Mplay == 48) { m.Send(PlayMusic.GetInstance(MusicName.Cove)); m.SendMessage("Cove"); Mplay = Mplay + 1; } else if (Mplay == 49) { m.Send(PlayMusic.GetInstance(MusicName.Moonglow)); m.SendMessage("Moonglow"); Mplay = Mplay + 1; } else if (Mplay == 50) { m.Send(PlayMusic.GetInstance(MusicName.Zento)); m.SendMessage("Zento"); Mplay = Mplay + 1; } else if (Mplay == 51) { m.Send(PlayMusic.GetInstance(MusicName.TokunoDungeon)); m.SendMessage("TokunoDungeon"); Mplay = Mplay + 1; } else if (Mplay == 52) { m.Send(PlayMusic.GetInstance(MusicName.Taiko)); m.SendMessage("Taiko"); Mplay = Mplay + 1; } else if (Mplay == 53) { m.Send(PlayMusic.GetInstance(MusicName.DreadHornArea)); m.SendMessage("DreadHornArea"); Mplay = Mplay + 1; } else if (Mplay == 54) { m.Send(PlayMusic.GetInstance(MusicName.ElfCity)); m.SendMessage("ElfCity"); Mplay = Mplay + 1; } else if (Mplay == 55) { m.Send(PlayMusic.GetInstance(MusicName.GrizzleDungeon)); m.SendMessage("GrizzleDungeon"); Mplay = Mplay + 1; } else if (Mplay == 56) { m.Send(PlayMusic.GetInstance(MusicName.MelisandesLair)); m.SendMessage("MelisandesLair"); Mplay = Mplay + 1; } else if (Mplay == 57) { m.Send(PlayMusic.GetInstance(MusicName.ParoxysmusLair)); m.SendMessage("ParoxysmusLair"); Mplay = Mplay + 1; } else if (Mplay == 58) { m.Send(PlayMusic.GetInstance(MusicName.GwennoConversation)); m.SendMessage("GwennoConversation"); Mplay = Mplay + 1; } else if (Mplay == 59) { m.Send(PlayMusic.GetInstance(MusicName.GoodEndGame)); m.SendMessage("GoodEndGame"); Mplay = Mplay + 1; } else if (Mplay == 60) { m.Send(PlayMusic.GetInstance(MusicName.GoodVsEvil)); m.SendMessage("GoodVsEvil"); Mplay = Mplay + 1; } else if (Mplay == 61) { m.Send(PlayMusic.GetInstance(MusicName.GreatEarthSerpents)); m.SendMessage("GreatEarthSerpents"); Mplay = Mplay + 1; } else if (Mplay == 62) { m.Send(PlayMusic.GetInstance(MusicName.Humanoids_U9)); m.SendMessage("Humanoids_U9"); Mplay = Mplay + 1; } else if (Mplay == 63) { m.Send(PlayMusic.GetInstance(MusicName.MinocNegative)); m.SendMessage("MinocNegative"); Mplay = Mplay + 1; } else if (Mplay == 64) { m.Send(PlayMusic.GetInstance(MusicName.Paws)); m.SendMessage("Paws"); Mplay = Mplay + 1; } else if (Mplay == 65) { m.Send(PlayMusic.GetInstance(MusicName.SelimsBar)); m.SendMessage("SelimsBar"); Mplay = Mplay + 1; } else if (Mplay == 66) { m.Send(PlayMusic.GetInstance(MusicName.SerpentIsleCombat_U7)); m.SendMessage("SerpentIsleCombat_U7"); Mplay = Mplay + 1; } else { m.Send(PlayMusic.GetInstance(MusicName.ValoriaShips)); m.SendMessage("ValoriaShips"); Mplay = 1; } }
public static void PlayMusicFile(Mobile from, int song) { MusicName toPlay = MusicName.Linelle; switch (song) { case 1: { toPlay = MusicName.Britain2; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 2: { toPlay = MusicName.Bucsden; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 3: { toPlay = MusicName.Britain1; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 4: { toPlay = MusicName.LBCastle; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 5: { toPlay = MusicName.Cove; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 6: { toPlay = MusicName.Jhelom; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 7: { toPlay = MusicName.Moonglow; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 8: { toPlay = MusicName.Nujelm; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 9: { toPlay = MusicName.Ocllo; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 10: { toPlay = MusicName.Vesper; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 11: { toPlay = MusicName.Minoc; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 12: { toPlay = MusicName.Trinsic; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 13: { toPlay = MusicName.Magincia; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 14: { toPlay = MusicName.Skarabra; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 15: { toPlay = MusicName.GwennoConversation; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 16: { toPlay = MusicName.BTCastle; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 17: { toPlay = MusicName.Yew; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 18: { toPlay = MusicName.Linelle; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 19: { toPlay = MusicName.Swamp_a; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 20: { toPlay = MusicName.Jungle_a; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 21: { toPlay = MusicName.OldUlt04; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 22: { toPlay = MusicName.Stones2; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 23: { toPlay = MusicName.GoodVsEvil; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 24: { toPlay = MusicName.Victory; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 25: { toPlay = MusicName.OldUlt02; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 26: { toPlay = MusicName.Mountn_a; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 27: { toPlay = MusicName.ParoxysmusLair; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 28: { toPlay = MusicName.Forest_a; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 29: { toPlay = MusicName.Plains_a; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 30: { toPlay = MusicName.Approach; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 31: { toPlay = MusicName.Dungeon2; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 32: { toPlay = MusicName.OldUlt05; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 33: { toPlay = MusicName.DreadHornArea; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 34: { toPlay = MusicName.OldUlt06; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 35: { toPlay = MusicName.Paws; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 36: { toPlay = MusicName.Samlethe; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 37: { toPlay = MusicName.Cave01; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 38: { toPlay = MusicName.Dungeon9; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 39: { toPlay = MusicName.Serpents; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 40: { toPlay = MusicName.MelisandesLair; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 41: { toPlay = MusicName.TokunoDungeon; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 42: { toPlay = MusicName.GrizzleDungeon; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 43: { toPlay = MusicName.Humanoids_U9; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 44: { toPlay = MusicName.Wind; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 45: { toPlay = MusicName.OldUlt03; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 46: { toPlay = MusicName.InTown01; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 47: { toPlay = MusicName.ValoriaShips; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 48: { toPlay = MusicName.Sailing; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 49: { toPlay = MusicName.GoodEndGame; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 50: { toPlay = MusicName.GreatEarthSerpents; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 51: { toPlay = MusicName.Create1; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 52: { toPlay = MusicName.Tavern03; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 53: { toPlay = MusicName.Tavern02; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 54: { toPlay = MusicName.Zento; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 55: { toPlay = MusicName.Tavern04; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 56: { toPlay = MusicName.MinocNegative; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 57: { toPlay = MusicName.SelimsBar; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 58: { toPlay = MusicName.Tavern01; from.Send(PlayMusic.GetInstance(toPlay)); break; } } }
public static void MusicRegion(Mobile from, Region reg) { if (from is PlayerMobile) { CharacterDatabase DB = Server.Items.CharacterDatabase.GetDB(from); string tunes = DB.CharMusical; MusicName toPlay = LandMusic[Utility.Random(LandMusic.Length)]; bool switchSongs = false; if (Server.Misc.MusicPlaylistFunctions.GetPlaylistSetting(from, 59) > 0) { Server.Misc.MusicPlaylistFunctions.PickRandomSong(from); } else { if (reg.IsPartOf("the Castle of Knowledge")) { toPlay = MusicName.LBCastle; switchSongs = true; } else if (Server.Misc.Worlds.GetRegionName(from.Map, from.Location) == "the Underworld") { toPlay = UnderworldMusic[Utility.Random(UnderworldMusic.Length)]; switchSongs = true; } else if (reg.IsPartOf("the Lodoria Cemetery")) { toPlay = MusicName.ParoxysmusLair; switchSongs = true; } else if (reg.IsPartOf("the British Family Cemetery")) { toPlay = MusicName.ParoxysmusLair; switchSongs = true; } else if (reg.IsPartOf("the Tower")) { toPlay = MusicName.Linelle; switchSongs = true; } else if (reg is PublicRegion) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; switchSongs = true; if (reg.IsPartOf("the Lost Glade")) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } else if (reg.IsPartOf("the Black Magic Guild")) { toPlay = MageList[Utility.Random(MageList.Length)]; } else if (reg.IsPartOf("the Tavern")) { toPlay = InnList[Utility.Random(InnList.Length)]; } else if (reg.IsPartOf("the Thieves Guild")) { toPlay = InnList[Utility.Random(InnList.Length)]; } else if (reg.IsPartOf("the Wizards Guild")) { toPlay = MageList[Utility.Random(MageList.Length)]; } else if (reg.IsPartOf("Xardok's Castle")) { toPlay = InnList[Utility.Random(InnList.Length)]; } else if (reg.IsPartOf("the Camping Tent")) { toPlay = InnList[Utility.Random(InnList.Length)]; } else if (reg.IsPartOf("the Ship's Lower Deck")) { toPlay = InnList[Utility.Random(InnList.Length)]; } else if (reg.IsPartOf("the Hall of Legends")) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } else if (reg.IsPartOf("the Chamber of Tyball")) { toPlay = MageList[Utility.Random(MageList.Length)]; } else if (reg.IsPartOf("the Tower of Stoneguard")) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; } else if (reg.IsPartOf("the Ethereal Void")) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } else if (reg.IsPartOf("the Tower of Mondain")) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; } else if (reg.IsPartOf("the Crypt of Morphius")) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; } else if (reg.IsPartOf("the Castle of Shadowguard")) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; } else if (reg.IsPartOf("the Guardian's Chamber")) { toPlay = MageList[Utility.Random(MageList.Length)]; } else if (reg.IsPartOf("the Tomb of Lethe")) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; } else if (reg.IsPartOf("Seggallions's Cave")) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } else if (reg.IsPartOf("Garamon's Castle")) { toPlay = MageList[Utility.Random(MageList.Length)]; } } else if (reg is SafeRegion) { toPlay = InnList[Utility.Random(InnList.Length)]; switchSongs = true; if (reg.IsPartOf("the Lodoria Forest")) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } } else if (Server.Misc.Worlds.IsMainRegion(Server.Misc.Worlds.GetRegionName(from.Map, from.Location))) { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; switchSongs = true; } else if (reg is PirateRegion) { toPlay = PirateMusic[Utility.Random(PirateMusic.Length)]; switchSongs = true; } else if (reg is OutDoorBadRegion || reg is DeadRegion) { toPlay = DangerMusic[Utility.Random(DangerMusic.Length)]; switchSongs = true; if (tunes == "Forest") { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } } else if (reg is NecromancerRegion) { toPlay = NecromancerMusic[Utility.Random(NecromancerMusic.Length)]; switchSongs = true; } else if (reg is MoonCore || reg is CaveRegion || reg is WantedRegion) { toPlay = CaveMusic[Utility.Random(CaveMusic.Length)]; switchSongs = true; } else if (reg is VillageRegion || reg is DawnRegion || reg is GargoyleRegion || reg is BardTownRegion) { toPlay = VillageMusic[Utility.Random(VillageMusic.Length)]; switchSongs = true; } else if (reg is DungeonRegion || reg is BardDungeonRegion) { toPlay = DungeonMusic[Utility.Random(DungeonMusic.Length)]; switchSongs = true; if (tunes == "Forest") { toPlay = LandMusic[Utility.Random(LandMusic.Length)]; } } else if (reg is DungeonHomeRegion) { toPlay = HouseMusic[Utility.Random(HouseMusic.Length)]; switchSongs = true; } if (switchSongs) { from.Send(PlayMusic.GetInstance(toPlay)); } } } }
public static void PlayMusicFile(Mobile from, int song) { MusicName toPlay = MusicName.Adventure; switch (song) { case 1: { toPlay = MusicName.Britain; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 2: { toPlay = MusicName.BucsDen; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 3: { toPlay = MusicName.CastleBritain; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 4: { toPlay = MusicName.CastleKnowledge; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 5: { toPlay = MusicName.DeathGulch; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 6: { toPlay = MusicName.DevilGuard; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 7: { toPlay = MusicName.Elidor; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 8: { toPlay = MusicName.Fawn; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 9: { toPlay = MusicName.Grey; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 10: { toPlay = MusicName.Luna; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 11: { toPlay = MusicName.Montor; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 12: { toPlay = MusicName.Moon; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 13: { toPlay = MusicName.Renika; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 14: { toPlay = MusicName.SkaraBrae; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 15: { toPlay = MusicName.TimeLord; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 16: { toPlay = MusicName.WizardDen; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 17: { toPlay = MusicName.Yew; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 18: { toPlay = MusicName.Adventure; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 19: { toPlay = MusicName.Expedition; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 20: { toPlay = MusicName.Explore; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 21: { toPlay = MusicName.Hunting; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 22: { toPlay = MusicName.Odyssey; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 23: { toPlay = MusicName.Quest; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 24: { toPlay = MusicName.Roaming; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 25: { toPlay = MusicName.Scouting; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 26: { toPlay = MusicName.Searching; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 27: { toPlay = MusicName.Seeking; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 28: { toPlay = MusicName.Traveling; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 29: { toPlay = MusicName.Wandering; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 30: { toPlay = MusicName.Catacombs; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 31: { toPlay = MusicName.Clues; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 32: { toPlay = MusicName.Covetous; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 33: { toPlay = MusicName.DardinsPit; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 34: { toPlay = MusicName.Deceit; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 35: { toPlay = MusicName.Despise; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 36: { toPlay = MusicName.Destard; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 37: { toPlay = MusicName.Doom; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 38: { toPlay = MusicName.Exodus; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 39: { toPlay = MusicName.FiresHell; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 40: { toPlay = MusicName.Hythloth; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 41: { toPlay = MusicName.MinesMorinia; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 42: { toPlay = MusicName.PerinianDepths; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 43: { toPlay = MusicName.Shame; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 44: { toPlay = MusicName.TimeAwaits; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 45: { toPlay = MusicName.Wrong; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 46: { toPlay = MusicName.Docks; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 47: { toPlay = MusicName.Pirates; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 48: { toPlay = MusicName.Sailing; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 49: { toPlay = MusicName.Cave; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 50: { toPlay = MusicName.Grotto; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 51: { toPlay = MusicName.Mines; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 52: { toPlay = MusicName.Alehouse; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 53: { toPlay = MusicName.Bar; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 54: { toPlay = MusicName.Guild; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 55: { toPlay = MusicName.Inn; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 56: { toPlay = MusicName.DarkGuild; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 57: { toPlay = MusicName.Pub; from.Send(PlayMusic.GetInstance(toPlay)); break; } case 58: { toPlay = MusicName.Tavern; from.Send(PlayMusic.GetInstance(toPlay)); break; } } }