diff --git a/Items/SummonItems/AstralChunk.cs b/Items/SummonItems/AstralChunk.cs index cf04dd2416..2eb36d6a1d 100644 --- a/Items/SummonItems/AstralChunk.cs +++ b/Items/SummonItems/AstralChunk.cs @@ -2,6 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.NPCs.AstrumAureus; using Terraria; +using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; @@ -10,6 +11,7 @@ namespace CalamityMod.Items.SummonItems public class AstralChunk : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.SummonItems"; + public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Custom/AstrumAureus/AstrumAureusSpawn"); public override void SetStaticDefaults() { ItemID.Sets.SortingPriorityBossSpawns[Type] = 12; // Truffle Worm @@ -41,7 +43,7 @@ namespace CalamityMod.Items.SummonItems int posX = (int)(player.position.X + Main.rand.Next(-250, 251)); int posY = (int)(player.position.Y - 500f); int bossToSpawn = ModContent.NPCType(); - CalamityUtils.SpawnBossOnPosUsingItem(player, bossToSpawn, posX, posY, SoundID.Roar); + CalamityUtils.SpawnBossOnPosUsingItem(player, bossToSpawn, posX, posY, UseSound); return true; } diff --git a/Items/SummonItems/CharredIdol.cs b/Items/SummonItems/CharredIdol.cs index 887b72d966..48063cc2bc 100644 --- a/Items/SummonItems/CharredIdol.cs +++ b/Items/SummonItems/CharredIdol.cs @@ -3,6 +3,7 @@ using CalamityMod.Events; using CalamityMod.Items.Materials; using CalamityMod.NPCs.BrimstoneElemental; using Terraria; +using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; @@ -11,6 +12,7 @@ namespace CalamityMod.Items.SummonItems public class CharredIdol : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.SummonItems"; + public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Custom/BrimstoneElemental/BrimstoneSpawn"); public override void SetStaticDefaults() { ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Mechanical Skull @@ -40,7 +42,7 @@ namespace CalamityMod.Items.SummonItems public override bool? UseItem(Player player) { - CalamityUtils.SpawnBossUsingItem(player, SoundID.Roar); + CalamityUtils.SpawnBossUsingItem(player, UseSound); return true; } diff --git a/Items/SummonItems/ProfanedShard.cs b/Items/SummonItems/ProfanedShard.cs index e29a74af1c..28c9cfbc2d 100644 --- a/Items/SummonItems/ProfanedShard.cs +++ b/Items/SummonItems/ProfanedShard.cs @@ -3,6 +3,7 @@ using CalamityMod.Events; using CalamityMod.Items.Materials; using CalamityMod.NPCs.ProfanedGuardians; using Terraria; +using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; @@ -11,6 +12,7 @@ namespace CalamityMod.Items.SummonItems public class ProfanedShard : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.SummonItems"; + public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Custom/ProfanedGuardians/GuardianSpawn"); public override void SetStaticDefaults() { ItemID.Sets.SortingPriorityBossSpawns[Type] = 19; // Celestial Sigil @@ -39,7 +41,7 @@ namespace CalamityMod.Items.SummonItems public override bool? UseItem(Player player) { - CalamityUtils.SpawnBossUsingItem(player, SoundID.Roar); + CalamityUtils.SpawnBossUsingItem(player, UseSound); return true; } public override void ModifyTooltips(List list) => list.FindAndReplace("[SPAWN]", this.GetLocalizedValue(Main.remixWorld ? "SpawnRemix" : "SpawnNormal")); diff --git a/Sounds/Custom/AstrumAureus/AstrumAureusSpawn.ogg b/Sounds/Custom/AstrumAureus/AstrumAureusSpawn.ogg new file mode 100644 index 0000000000..9319832fdc Binary files /dev/null and b/Sounds/Custom/AstrumAureus/AstrumAureusSpawn.ogg differ diff --git a/Sounds/Custom/BrimstoneElemental/BrimstoneSpawn.ogg b/Sounds/Custom/BrimstoneElemental/BrimstoneSpawn.ogg new file mode 100644 index 0000000000..f4c922d5cc Binary files /dev/null and b/Sounds/Custom/BrimstoneElemental/BrimstoneSpawn.ogg differ diff --git a/Sounds/Custom/ProfanedGuardians/GuardianSpawn.ogg b/Sounds/Custom/ProfanedGuardians/GuardianSpawn.ogg new file mode 100644 index 0000000000..06572d9cd4 Binary files /dev/null and b/Sounds/Custom/ProfanedGuardians/GuardianSpawn.ogg differ