Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Settings.GetBool("ItemAlert.PlaySound") && !this.playedSoundsCache.Contains(entity.LongId))
- {
- if (ip.Name.Contains("Mirror of Kalandra"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.MirrorSound.Play();
- }
- else if (ip.Rarity == ItemRarity.Unique)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.UniqueSound.Play();
- }
- else if (ip.Name.Contains("Eternal Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.EternalSound.Play();
- }
- else if (ip.Name.Contains("Exalted Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ExaltedSound.Play();
- }
- else if (ip.Name.Contains("Divine Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.DivineSound.Play();
- }
- else if (ip.NumLinks == 6)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.SixLinkSound.Play();
- }
- else if (ip.Name.Contains("Regal Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.RegalSound.Play();
- }
- else if (ip.Name.Contains("Gemcutter's Prism"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.GCPSound.Play();
- }
- else if (ip.Name.Contains("Chaos Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ChaosSound.Play();
- }
- else if (ip.NumSockets == 6)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.SixSocketSound.Play();
- }
- else if (ip.NumSockets == 6 && ip.NumLinks == 5)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.FiveLinkSixSocketSound.Play();
- }
- else if (ip.NumSockets == 5 && ip.NumLinks == 5)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.FiveLinkSound.Play();
- }
- else if (ip.Name.Contains("Vaal Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.VaalSound.Play();
- }
- else if (ip.Name.Contains("Orb of Regret"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.RegretSound.Play();
- }
- else if (ip.Name.Contains("Blessed Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.BlessedSound.Play();
- }
- else if (ip.MapLevel > 0)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.MapSound.Play();
- }
- else if (ip.Name.Contains("Cartographer's Chisel"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ChiselSound.Play();
- }
- else if (ip.Name.Contains("Orb of Fusing"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.FusingSound.Play();
- }
- else if (ip.Name.Contains("Orb of Alchemy"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.AlchemySound.Play();
- }
- else if (ip.IsSkillGem == true & ip.Quality > 0)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.QualityGemSound.Play();
- }
- else if (ip.Name.Contains("Orb of Chance"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ChanceSound.Play();
- }
- else if (ip.Name.Contains("Orb of Scouring"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ScouringSound.Play();
- }
- else if (ip.Name.Contains("Chromatic Orb"))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.ChromaticSound.Play();
- }
- else if (ip.WorthChrome == true)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.RGBSound.Play();
- }
- else if (currencyNames.Contains(ip.Name))
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.CurrencySound.Play();
- }
- else if (ip.IsSkillGem == true & ip.Quality == 0)
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.NormalGemSound.Play();
- }
- else
- {
- this.playedSoundsCache.Add(entity.LongId);
- Sounds.AlertSound.Play();
- }
- }
- if (current.Contains("MonsterExplodesOnDeathCold1"))
- {
- Sounds.IceBloodSound.Play();
- }
- else if (current.Contains("MonsterExplodesOnDeathFire1"))
- {
- Sounds.FlameBloodSound.Play();
- }
- else if (current.Contains("MonsterExplodesOnDeathLightning1"))
- {
- Sounds.StormBloodSound.Play();
- }
- else if (current.Contains("MonsterAuraPhysicalThorns1"))
- {
- Sounds.PhysReflectSound.Play();
- }
- else if (current.Contains("MonsterPhysicalThorns"))
- {
- Sounds.PhysReflectSound.Play();
- }
- else if (current.Contains("MonsterAuraElementalThorns1"))
- {
- Sounds.EleReflectSound.Play();
- }
- else if (current.Contains("MonsterElementalThorns"))
- {
- Sounds.EleReflectSound.Play();
- }
- else if (current.Contains("MonsterNemesisCorruptedBlood"))
- {
- Sounds.CorruptingBloodSound.Play();
- }
- else if (current.Contains("MonsterNemesisUniqueDrop"))
- {
- Sounds.InnerTreasureSound.Play();
- }
- else if (current.Contains("MonsterImplicitNemesisUniqueDrop"))
- {
- Sounds.InnerTreasureSound.Play();
- }
- else if (current.Contains("MonsterItems1"))
- {
- Sounds.WealthSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-1"))
- {
- Sounds.BeyonderSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-2"))
- {
- Sounds.BeyonderSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-3"))
- {
- Sounds.BeyonderSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-4"))
- {
- Sounds.BeyonderSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-5"))
- {
- Sounds.BeyonderSound.Play();
- }
- else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-6"))
- {
- Sounds.BeyonderSound.Play();
- }
- else
- {
- Sounds.DangerSound.Play();
- }
Advertisement
Add Comment
Please, Sign In to add comment