From 405e4f670d9fef65f672c511c157710271784d0d Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Fri, 31 May 2024 14:45:11 -0400 Subject: [PATCH] Removed code in Cal Music Mod making Cirrus sell the Music Boxes. --- NPCShops.cs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 NPCShops.cs diff --git a/NPCShops.cs b/NPCShops.cs deleted file mode 100644 index d516684..0000000 --- a/NPCShops.cs +++ /dev/null @@ -1,26 +0,0 @@ -using CalamityModMusic.Items.Placeables; -using Terraria; -using Terraria.ModLoader; - -namespace CalamityModMusic -{ - public class NPCShops : GlobalNPC - { - public override void ModifyShop(NPCShop shop) - { - var calamityMod = ModLoader.TryGetMod("CalamityMod", out Mod calamity); - - Condition DownedCalamitasClone = new("", () => (bool)calamity.Call("GetBossDowned", "calamitasclone")); - Condition DownedYharon = new("", () => (bool)calamity.Call("GetBossDowned", "yharon")); - Condition DownedDevourerofGods = new("", () => (bool)calamity.Call("GetBossDowned", "devourerofgods")); - - if (calamityMod && shop.NpcType == calamity.Find("FAP").Type) - { - shop.Add(ModContent.ItemType(), DownedCalamitasClone); - shop.Add(ModContent.ItemType(), Condition.DownedMoonLord); - shop.Add(ModContent.ItemType(), DownedYharon); - shop.Add(ModContent.ItemType(), DownedDevourerofGods); - } - } - } -}