diff --git a/CalamityMod.cs b/CalamityMod.cs index 112748e40e..dc605251b3 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -3,6 +3,7 @@ using CalamityMod.Localization; using CalamityMod.NPCs; using CalamityMod.Skies; using CalamityMod.UI; +using CalamityMod.Buffs.Alcohol; using CalamityMod.World; using Microsoft.Xna.Framework; @@ -19,6 +20,15 @@ using Terraria.ID; using Terraria.UI; using CalamityMod.Items.Accessories; using CalamityMod.Items.Accessories.Vanity; +using CalamityMod.Buffs.DamageOverTime; +using CalamityMod.Buffs.StatDebuffs; +using CalamityMod.NPCs.DevourerofGods; +using CalamityMod.NPCs.Calamitas; +using CalamityMod.NPCs.PlaguebringerGoliath; +using CalamityMod.NPCs.Yharon; +using CalamityMod.NPCs.Leviathan; +using CalamityMod.NPCs.Providence; +using CalamityMod.NPCs.SupremeCalamitas; namespace CalamityMod { @@ -632,19 +642,19 @@ namespace CalamityMod BuffID.WitheredWeapon, BuffID.OgreSpit, BuffID.BetsysCurse, - calamity.BuffType("Shadowflame"), - calamity.BuffType("BrimstoneFlames"), - calamity.BuffType("BurningBlood"), - calamity.BuffType("GlacialState"), - calamity.BuffType("GodSlayerInferno"), - calamity.BuffType("AstralInfectionDebuff"), - calamity.BuffType("HolyLight"), - calamity.BuffType("Irradiated"), - calamity.BuffType("Plague"), - calamity.BuffType("AbyssalFlames"), - calamity.BuffType("CrushDepth"), - calamity.BuffType("Horror"), - calamity.BuffType("MarkedforDeath") + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType() }; fireWeaponList = new List() @@ -837,25 +847,25 @@ namespace CalamityMod alcoholList = new List() { - calamity.BuffType("BloodyMary"), - calamity.BuffType("CaribbeanRum"), - calamity.BuffType("CinnamonRoll"), - calamity.BuffType("Everclear"), - calamity.BuffType("EvergreenGin"), - calamity.BuffType("Fireball"), - calamity.BuffType("GrapeBeer"), - calamity.BuffType("Margarita"), - calamity.BuffType("Moonshine"), - calamity.BuffType("MoscowMule"), - calamity.BuffType("RedWine"), - calamity.BuffType("Rum"), - calamity.BuffType("Screwdriver"), - calamity.BuffType("StarBeamRye"), - calamity.BuffType("Tequila"), - calamity.BuffType("TequilaSunrise"), - calamity.BuffType("Vodka"), - calamity.BuffType("Whiskey"), - calamity.BuffType("WhiteWine") + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType(), + ModContent.BuffType() }; doubleDamageBuffList = new List() diff --git a/Dusts/HolyFlame.cs b/Dusts/HolyFireDust.cs similarity index 100% rename from Dusts/HolyFlame.cs rename to Dusts/HolyFireDust.cs diff --git a/Dusts/HolyFlame.png b/Dusts/HolyFireDust.png similarity index 100% rename from Dusts/HolyFlame.png rename to Dusts/HolyFireDust.png diff --git a/NPCs/AbyssNPCs/Bloatfish.cs b/NPCs/Abyss/Bloatfish.cs similarity index 99% rename from NPCs/AbyssNPCs/Bloatfish.cs rename to NPCs/Abyss/Bloatfish.cs index 82250b8675..c54f946148 100644 --- a/NPCs/AbyssNPCs/Bloatfish.cs +++ b/NPCs/Abyss/Bloatfish.cs @@ -9,7 +9,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Bloatfish : ModNPC { diff --git a/NPCs/AbyssNPCs/Bloatfish.png b/NPCs/Abyss/Bloatfish.png similarity index 100% rename from NPCs/AbyssNPCs/Bloatfish.png rename to NPCs/Abyss/Bloatfish.png diff --git a/NPCs/AbyssNPCs/BobbitWormHead.cs b/NPCs/Abyss/BobbitWormHead.cs similarity index 96% rename from NPCs/AbyssNPCs/BobbitWormHead.cs rename to NPCs/Abyss/BobbitWormHead.cs index bf6a3dca81..708e299a9f 100644 --- a/NPCs/AbyssNPCs/BobbitWormHead.cs +++ b/NPCs/Abyss/BobbitWormHead.cs @@ -11,7 +11,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class BobbitWormHead : ModNPC { @@ -220,9 +220,9 @@ namespace CalamityMod.NPCs drawPositionY = Main.npc[CalamityGlobalNPC.bobbitWormBottom].Center.Y - center.Y; drawPositionY += 4f; Color color = Lighting.GetColor((int)center.X / 16, (int)(center.Y / 16f)); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment"), new Vector2(center.X - Main.screenPosition.X, center.Y - Main.screenPosition.Y), - new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, 0, ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Width, ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Height)), color, rotation, - new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Width * 0.5f, (float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Height * 0.5f), 1f, SpriteEffects.None, 0f); + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment"), new Vector2(center.X - Main.screenPosition.X, center.Y - Main.screenPosition.Y), + new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, 0, ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Width, ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Height)), color, rotation, + new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Width * 0.5f, (float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Height * 0.5f), 1f, SpriteEffects.None, 0f); } } return true; diff --git a/NPCs/AbyssNPCs/BobbitWormHead.png b/NPCs/Abyss/BobbitWormHead.png similarity index 100% rename from NPCs/AbyssNPCs/BobbitWormHead.png rename to NPCs/Abyss/BobbitWormHead.png diff --git a/NPCs/AbyssNPCs/BobbitWormSegment.cs b/NPCs/Abyss/BobbitWormSegment.cs similarity index 98% rename from NPCs/AbyssNPCs/BobbitWormSegment.cs rename to NPCs/Abyss/BobbitWormSegment.cs index 0cacd653e0..17e0b928e9 100644 --- a/NPCs/AbyssNPCs/BobbitWormSegment.cs +++ b/NPCs/Abyss/BobbitWormSegment.cs @@ -2,7 +2,7 @@ using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class BobbitWormSegment : ModNPC { diff --git a/NPCs/AbyssNPCs/BobbitWormSegment.png b/NPCs/Abyss/BobbitWormSegment.png similarity index 100% rename from NPCs/AbyssNPCs/BobbitWormSegment.png rename to NPCs/Abyss/BobbitWormSegment.png diff --git a/NPCs/AbyssNPCs/BoxJellyfish.cs b/NPCs/Abyss/BoxJellyfish.cs similarity index 99% rename from NPCs/AbyssNPCs/BoxJellyfish.cs rename to NPCs/Abyss/BoxJellyfish.cs index 5d72bafb1d..9dac5adf20 100644 --- a/NPCs/AbyssNPCs/BoxJellyfish.cs +++ b/NPCs/Abyss/BoxJellyfish.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class BoxJellyfish : ModNPC { diff --git a/NPCs/AbyssNPCs/BoxJellyfish.png b/NPCs/Abyss/BoxJellyfish.png similarity index 100% rename from NPCs/AbyssNPCs/BoxJellyfish.png rename to NPCs/Abyss/BoxJellyfish.png diff --git a/NPCs/AbyssNPCs/Catfish.cs b/NPCs/Abyss/Catfish.cs similarity index 99% rename from NPCs/AbyssNPCs/Catfish.cs rename to NPCs/Abyss/Catfish.cs index 3778984fd6..d399c08d2e 100644 --- a/NPCs/AbyssNPCs/Catfish.cs +++ b/NPCs/Abyss/Catfish.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Catfish : ModNPC { diff --git a/NPCs/AbyssNPCs/Catfish.png b/NPCs/Abyss/Catfish.png similarity index 100% rename from NPCs/AbyssNPCs/Catfish.png rename to NPCs/Abyss/Catfish.png diff --git a/NPCs/AbyssNPCs/ChaoticPuffer.cs b/NPCs/Abyss/ChaoticPuffer.cs similarity index 96% rename from NPCs/AbyssNPCs/ChaoticPuffer.cs rename to NPCs/Abyss/ChaoticPuffer.cs index 2df4c5fe1d..5d35092804 100644 --- a/NPCs/AbyssNPCs/ChaoticPuffer.cs +++ b/NPCs/Abyss/ChaoticPuffer.cs @@ -10,7 +10,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class ChaoticPuffer : ModNPC { @@ -139,10 +139,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Yellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/ChaoticPuffer.png b/NPCs/Abyss/ChaoticPuffer.png similarity index 100% rename from NPCs/AbyssNPCs/ChaoticPuffer.png rename to NPCs/Abyss/ChaoticPuffer.png diff --git a/NPCs/AbyssNPCs/ChaoticPufferGlow.png b/NPCs/Abyss/ChaoticPufferGlow.png similarity index 100% rename from NPCs/AbyssNPCs/ChaoticPufferGlow.png rename to NPCs/Abyss/ChaoticPufferGlow.png diff --git a/NPCs/AbyssNPCs/ColossalSquid.cs b/NPCs/Abyss/ColossalSquid.cs similarity index 99% rename from NPCs/AbyssNPCs/ColossalSquid.cs rename to NPCs/Abyss/ColossalSquid.cs index 6ed611e71d..849aa0b4bc 100644 --- a/NPCs/AbyssNPCs/ColossalSquid.cs +++ b/NPCs/Abyss/ColossalSquid.cs @@ -13,7 +13,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class ColossalSquid : ModNPC { diff --git a/NPCs/AbyssNPCs/ColossalSquid.png b/NPCs/Abyss/ColossalSquid.png similarity index 100% rename from NPCs/AbyssNPCs/ColossalSquid.png rename to NPCs/Abyss/ColossalSquid.png diff --git a/NPCs/AbyssNPCs/Cuttlefish.cs b/NPCs/Abyss/Cuttlefish.cs similarity index 98% rename from NPCs/AbyssNPCs/Cuttlefish.cs rename to NPCs/Abyss/Cuttlefish.cs index 21425dd5bb..1cf3b844dc 100644 --- a/NPCs/AbyssNPCs/Cuttlefish.cs +++ b/NPCs/Abyss/Cuttlefish.cs @@ -12,7 +12,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Cuttlefish : ModNPC { @@ -286,10 +286,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Gold); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/Cuttlefish.png b/NPCs/Abyss/Cuttlefish.png similarity index 100% rename from NPCs/AbyssNPCs/Cuttlefish.png rename to NPCs/Abyss/Cuttlefish.png diff --git a/NPCs/AbyssNPCs/CuttlefishGlow.png b/NPCs/Abyss/CuttlefishGlow.png similarity index 100% rename from NPCs/AbyssNPCs/CuttlefishGlow.png rename to NPCs/Abyss/CuttlefishGlow.png diff --git a/NPCs/AbyssNPCs/DevilFish.cs b/NPCs/Abyss/DevilFish.cs similarity index 98% rename from NPCs/AbyssNPCs/DevilFish.cs rename to NPCs/Abyss/DevilFish.cs index 34f11b3d93..b1eef2d437 100644 --- a/NPCs/AbyssNPCs/DevilFish.cs +++ b/NPCs/Abyss/DevilFish.cs @@ -12,7 +12,7 @@ using System.IO; using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class DevilFish : ModNPC { @@ -279,10 +279,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Red); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/DevilFish.png b/NPCs/Abyss/DevilFish.png similarity index 100% rename from NPCs/AbyssNPCs/DevilFish.png rename to NPCs/Abyss/DevilFish.png diff --git a/NPCs/AbyssNPCs/DevilFishGlow.png b/NPCs/Abyss/DevilFishGlow.png similarity index 100% rename from NPCs/AbyssNPCs/DevilFishGlow.png rename to NPCs/Abyss/DevilFishGlow.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBody.cs b/NPCs/Abyss/EidolonWyrmBody.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmBody.cs rename to NPCs/Abyss/EidolonWyrmBody.cs index f403501192..041cb63b16 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmBody.cs +++ b/NPCs/Abyss/EidolonWyrmBody.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmBody : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmBody.png b/NPCs/Abyss/EidolonWyrmBody.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBody.png rename to NPCs/Abyss/EidolonWyrmBody.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAlt.cs b/NPCs/Abyss/EidolonWyrmBodyAlt.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAlt.cs rename to NPCs/Abyss/EidolonWyrmBodyAlt.cs index e559e705f7..9d72e66672 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmBodyAlt.cs +++ b/NPCs/Abyss/EidolonWyrmBodyAlt.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmBodyAlt : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAlt.png b/NPCs/Abyss/EidolonWyrmBodyAlt.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAlt.png rename to NPCs/Abyss/EidolonWyrmBodyAlt.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow.png b/NPCs/Abyss/EidolonWyrmBodyAltGlow.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow.png rename to NPCs/Abyss/EidolonWyrmBodyAltGlow.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge.png b/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge.png rename to NPCs/Abyss/EidolonWyrmBodyAltGlowHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAltHuge.cs b/NPCs/Abyss/EidolonWyrmBodyAltHuge.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAltHuge.cs rename to NPCs/Abyss/EidolonWyrmBodyAltHuge.cs index b8950adc53..5b15ff6f35 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmBodyAltHuge.cs +++ b/NPCs/Abyss/EidolonWyrmBodyAltHuge.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmBodyAltHuge : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyAltHuge.png b/NPCs/Abyss/EidolonWyrmBodyAltHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyAltHuge.png rename to NPCs/Abyss/EidolonWyrmBodyAltHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyGlow.png b/NPCs/Abyss/EidolonWyrmBodyGlow.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyGlow.png rename to NPCs/Abyss/EidolonWyrmBodyGlow.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge.png b/NPCs/Abyss/EidolonWyrmBodyGlowHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge.png rename to NPCs/Abyss/EidolonWyrmBodyGlowHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyHuge.cs b/NPCs/Abyss/EidolonWyrmBodyHuge.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmBodyHuge.cs rename to NPCs/Abyss/EidolonWyrmBodyHuge.cs index e7e2f3fdae..a2028537b8 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmBodyHuge.cs +++ b/NPCs/Abyss/EidolonWyrmBodyHuge.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmBodyHuge : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmBodyHuge.png b/NPCs/Abyss/EidolonWyrmBodyHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmBodyHuge.png rename to NPCs/Abyss/EidolonWyrmBodyHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmHead.cs b/NPCs/Abyss/EidolonWyrmHead.cs similarity index 98% rename from NPCs/AbyssNPCs/EidolonWyrmHead.cs rename to NPCs/Abyss/EidolonWyrmHead.cs index 71056943c1..1be61d4e6a 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmHead.cs +++ b/NPCs/Abyss/EidolonWyrmHead.cs @@ -15,7 +15,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmHead : ModNPC { @@ -463,10 +463,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmHead.png b/NPCs/Abyss/EidolonWyrmHead.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmHead.png rename to NPCs/Abyss/EidolonWyrmHead.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmHeadGlow.png b/NPCs/Abyss/EidolonWyrmHeadGlow.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmHeadGlow.png rename to NPCs/Abyss/EidolonWyrmHeadGlow.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge.png b/NPCs/Abyss/EidolonWyrmHeadGlowHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge.png rename to NPCs/Abyss/EidolonWyrmHeadGlowHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmHeadHuge.cs b/NPCs/Abyss/EidolonWyrmHeadHuge.cs similarity index 98% rename from NPCs/AbyssNPCs/EidolonWyrmHeadHuge.cs rename to NPCs/Abyss/EidolonWyrmHeadHuge.cs index 0768fa69af..f81f12654f 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmHeadHuge.cs +++ b/NPCs/Abyss/EidolonWyrmHeadHuge.cs @@ -14,7 +14,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmHeadHuge : ModNPC { @@ -465,10 +465,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmHeadHuge.png b/NPCs/Abyss/EidolonWyrmHeadHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmHeadHuge.png rename to NPCs/Abyss/EidolonWyrmHeadHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmTail.cs b/NPCs/Abyss/EidolonWyrmTail.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmTail.cs rename to NPCs/Abyss/EidolonWyrmTail.cs index d7a1c8b620..a116345614 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmTail.cs +++ b/NPCs/Abyss/EidolonWyrmTail.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmTail : ModNPC { @@ -146,10 +146,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmTail.png b/NPCs/Abyss/EidolonWyrmTail.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmTail.png rename to NPCs/Abyss/EidolonWyrmTail.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmTailGlow.png b/NPCs/Abyss/EidolonWyrmTailGlow.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmTailGlow.png rename to NPCs/Abyss/EidolonWyrmTailGlow.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge.png b/NPCs/Abyss/EidolonWyrmTailGlowHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge.png rename to NPCs/Abyss/EidolonWyrmTailGlowHuge.png diff --git a/NPCs/AbyssNPCs/EidolonWyrmTailHuge.cs b/NPCs/Abyss/EidolonWyrmTailHuge.cs similarity index 96% rename from NPCs/AbyssNPCs/EidolonWyrmTailHuge.cs rename to NPCs/Abyss/EidolonWyrmTailHuge.cs index 4e0426f050..68927c0de6 100644 --- a/NPCs/AbyssNPCs/EidolonWyrmTailHuge.cs +++ b/NPCs/Abyss/EidolonWyrmTailHuge.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class EidolonWyrmTailHuge : ModNPC { @@ -146,10 +146,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/EidolonWyrmTailHuge.png b/NPCs/Abyss/EidolonWyrmTailHuge.png similarity index 100% rename from NPCs/AbyssNPCs/EidolonWyrmTailHuge.png rename to NPCs/Abyss/EidolonWyrmTailHuge.png diff --git a/NPCs/AbyssNPCs/Flounder.cs b/NPCs/Abyss/Flounder.cs similarity index 99% rename from NPCs/AbyssNPCs/Flounder.cs rename to NPCs/Abyss/Flounder.cs index 9bbe788282..3bece6e9a1 100644 --- a/NPCs/AbyssNPCs/Flounder.cs +++ b/NPCs/Abyss/Flounder.cs @@ -7,7 +7,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Projectiles.Enemy; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Flounder : ModNPC { diff --git a/NPCs/AbyssNPCs/Flounder.png b/NPCs/Abyss/Flounder.png similarity index 100% rename from NPCs/AbyssNPCs/Flounder.png rename to NPCs/Abyss/Flounder.png diff --git a/NPCs/AbyssNPCs/Frogfish.cs b/NPCs/Abyss/Frogfish.cs similarity index 99% rename from NPCs/AbyssNPCs/Frogfish.cs rename to NPCs/Abyss/Frogfish.cs index 34d2927755..6e99b57b51 100644 --- a/NPCs/AbyssNPCs/Frogfish.cs +++ b/NPCs/Abyss/Frogfish.cs @@ -6,7 +6,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Frogfish : ModNPC { diff --git a/NPCs/AbyssNPCs/Frogfish.png b/NPCs/Abyss/Frogfish.png similarity index 100% rename from NPCs/AbyssNPCs/Frogfish.png rename to NPCs/Abyss/Frogfish.png diff --git a/NPCs/AbyssNPCs/GiantSquid.cs b/NPCs/Abyss/GiantSquid.cs similarity index 97% rename from NPCs/AbyssNPCs/GiantSquid.cs rename to NPCs/Abyss/GiantSquid.cs index c7c1a85100..99d94fa6e3 100644 --- a/NPCs/AbyssNPCs/GiantSquid.cs +++ b/NPCs/Abyss/GiantSquid.cs @@ -12,7 +12,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Ranged; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class GiantSquid : ModNPC { @@ -220,10 +220,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Cyan); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/GiantSquid.png b/NPCs/Abyss/GiantSquid.png similarity index 100% rename from NPCs/AbyssNPCs/GiantSquid.png rename to NPCs/Abyss/GiantSquid.png diff --git a/NPCs/AbyssNPCs/GiantSquidGlow.png b/NPCs/Abyss/GiantSquidGlow.png similarity index 100% rename from NPCs/AbyssNPCs/GiantSquidGlow.png rename to NPCs/Abyss/GiantSquidGlow.png diff --git a/NPCs/AbyssNPCs/Gnasher.cs b/NPCs/Abyss/Gnasher.cs similarity index 99% rename from NPCs/AbyssNPCs/Gnasher.cs rename to NPCs/Abyss/Gnasher.cs index f739b1f98d..d8dfc01f51 100644 --- a/NPCs/AbyssNPCs/Gnasher.cs +++ b/NPCs/Abyss/Gnasher.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Gnasher : ModNPC { diff --git a/NPCs/AbyssNPCs/Gnasher.png b/NPCs/Abyss/Gnasher.png similarity index 100% rename from NPCs/AbyssNPCs/Gnasher.png rename to NPCs/Abyss/Gnasher.png diff --git a/NPCs/AbyssNPCs/GulperEelBody.cs b/NPCs/Abyss/GulperEelBody.cs similarity index 96% rename from NPCs/AbyssNPCs/GulperEelBody.cs rename to NPCs/Abyss/GulperEelBody.cs index 96597ecb6c..f353bef17c 100644 --- a/NPCs/AbyssNPCs/GulperEelBody.cs +++ b/NPCs/Abyss/GulperEelBody.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class GulperEelBody : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/GulperEelBody.png b/NPCs/Abyss/GulperEelBody.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelBody.png rename to NPCs/Abyss/GulperEelBody.png diff --git a/NPCs/AbyssNPCs/GulperEelBodyAlt.cs b/NPCs/Abyss/GulperEelBodyAlt.cs similarity index 96% rename from NPCs/AbyssNPCs/GulperEelBodyAlt.cs rename to NPCs/Abyss/GulperEelBodyAlt.cs index 4f88684269..3b9e5fe431 100644 --- a/NPCs/AbyssNPCs/GulperEelBodyAlt.cs +++ b/NPCs/Abyss/GulperEelBodyAlt.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class GulperEelBodyAlt : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/GulperEelBodyAlt.png b/NPCs/Abyss/GulperEelBodyAlt.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelBodyAlt.png rename to NPCs/Abyss/GulperEelBodyAlt.png diff --git a/NPCs/AbyssNPCs/GulperEelBodyAltGlow.png b/NPCs/Abyss/GulperEelBodyAltGlow.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelBodyAltGlow.png rename to NPCs/Abyss/GulperEelBodyAltGlow.png diff --git a/NPCs/AbyssNPCs/GulperEelBodyGlow.png b/NPCs/Abyss/GulperEelBodyGlow.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelBodyGlow.png rename to NPCs/Abyss/GulperEelBodyGlow.png diff --git a/NPCs/AbyssNPCs/GulperEelHead.cs b/NPCs/Abyss/GulperEelHead.cs similarity index 98% rename from NPCs/AbyssNPCs/GulperEelHead.cs rename to NPCs/Abyss/GulperEelHead.cs index 1d93714ae8..9029270d27 100644 --- a/NPCs/AbyssNPCs/GulperEelHead.cs +++ b/NPCs/Abyss/GulperEelHead.cs @@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class GulperEelHead : ModNPC { @@ -360,10 +360,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/GulperEelHead.png b/NPCs/Abyss/GulperEelHead.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelHead.png rename to NPCs/Abyss/GulperEelHead.png diff --git a/NPCs/AbyssNPCs/GulperEelHeadGlow.png b/NPCs/Abyss/GulperEelHeadGlow.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelHeadGlow.png rename to NPCs/Abyss/GulperEelHeadGlow.png diff --git a/NPCs/AbyssNPCs/GulperEelTail.cs b/NPCs/Abyss/GulperEelTail.cs similarity index 96% rename from NPCs/AbyssNPCs/GulperEelTail.cs rename to NPCs/Abyss/GulperEelTail.cs index 40be6970bb..a79d043aa0 100644 --- a/NPCs/AbyssNPCs/GulperEelTail.cs +++ b/NPCs/Abyss/GulperEelTail.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class GulperEelTail : ModNPC { @@ -147,10 +147,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/GulperEelTail.png b/NPCs/Abyss/GulperEelTail.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelTail.png rename to NPCs/Abyss/GulperEelTail.png diff --git a/NPCs/AbyssNPCs/GulperEelTailGlow.png b/NPCs/Abyss/GulperEelTailGlow.png similarity index 100% rename from NPCs/AbyssNPCs/GulperEelTailGlow.png rename to NPCs/Abyss/GulperEelTailGlow.png diff --git a/NPCs/AbyssNPCs/Laserfish.cs b/NPCs/Abyss/Laserfish.cs similarity index 98% rename from NPCs/AbyssNPCs/Laserfish.cs rename to NPCs/Abyss/Laserfish.cs index 2a36fdb882..b9ef35095a 100644 --- a/NPCs/AbyssNPCs/Laserfish.cs +++ b/NPCs/Abyss/Laserfish.cs @@ -11,7 +11,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Laserfish : ModNPC { @@ -269,10 +269,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Yellow); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/Laserfish.png b/NPCs/Abyss/Laserfish.png similarity index 100% rename from NPCs/AbyssNPCs/Laserfish.png rename to NPCs/Abyss/Laserfish.png diff --git a/NPCs/AbyssNPCs/LaserfishGlow.png b/NPCs/Abyss/LaserfishGlow.png similarity index 100% rename from NPCs/AbyssNPCs/LaserfishGlow.png rename to NPCs/Abyss/LaserfishGlow.png diff --git a/NPCs/AbyssNPCs/LuminousCorvina.cs b/NPCs/Abyss/LuminousCorvina.cs similarity index 97% rename from NPCs/AbyssNPCs/LuminousCorvina.cs rename to NPCs/Abyss/LuminousCorvina.cs index 1aa3389934..aad55e44b2 100644 --- a/NPCs/AbyssNPCs/LuminousCorvina.cs +++ b/NPCs/Abyss/LuminousCorvina.cs @@ -13,7 +13,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class LuminousCorvina : ModNPC { @@ -262,10 +262,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/LuminousCorvina.png b/NPCs/Abyss/LuminousCorvina.png similarity index 100% rename from NPCs/AbyssNPCs/LuminousCorvina.png rename to NPCs/Abyss/LuminousCorvina.png diff --git a/NPCs/AbyssNPCs/LuminousCorvinaGlow.png b/NPCs/Abyss/LuminousCorvinaGlow.png similarity index 100% rename from NPCs/AbyssNPCs/LuminousCorvinaGlow.png rename to NPCs/Abyss/LuminousCorvinaGlow.png diff --git a/NPCs/AbyssNPCs/MantisShrimp.cs b/NPCs/Abyss/MantisShrimp.cs similarity index 99% rename from NPCs/AbyssNPCs/MantisShrimp.cs rename to NPCs/Abyss/MantisShrimp.cs index bc3e6784f7..efda115173 100644 --- a/NPCs/AbyssNPCs/MantisShrimp.cs +++ b/NPCs/Abyss/MantisShrimp.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Melee; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class MantisShrimp : ModNPC { diff --git a/NPCs/AbyssNPCs/MantisShrimp.png b/NPCs/Abyss/MantisShrimp.png similarity index 100% rename from NPCs/AbyssNPCs/MantisShrimp.png rename to NPCs/Abyss/MantisShrimp.png diff --git a/NPCs/AbyssNPCs/Mauler.cs b/NPCs/Abyss/Mauler.cs similarity index 99% rename from NPCs/AbyssNPCs/Mauler.cs rename to NPCs/Abyss/Mauler.cs index f1fdfdf0f3..7c5449a9c2 100644 --- a/NPCs/AbyssNPCs/Mauler.cs +++ b/NPCs/Abyss/Mauler.cs @@ -10,7 +10,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Mauler : ModNPC { diff --git a/NPCs/AbyssNPCs/Mauler.png b/NPCs/Abyss/Mauler.png similarity index 100% rename from NPCs/AbyssNPCs/Mauler.png rename to NPCs/Abyss/Mauler.png diff --git a/NPCs/AbyssNPCs/MirageJelly.cs b/NPCs/Abyss/MirageJelly.cs similarity index 97% rename from NPCs/AbyssNPCs/MirageJelly.cs rename to NPCs/Abyss/MirageJelly.cs index e4b29df49c..761015c94a 100644 --- a/NPCs/AbyssNPCs/MirageJelly.cs +++ b/NPCs/Abyss/MirageJelly.cs @@ -11,7 +11,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Materials; using CalamityMod.Items.Accessories; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class MirageJelly : ModNPC { @@ -168,10 +168,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Purple); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/MirageJelly.png b/NPCs/Abyss/MirageJelly.png similarity index 100% rename from NPCs/AbyssNPCs/MirageJelly.png rename to NPCs/Abyss/MirageJelly.png diff --git a/NPCs/AbyssNPCs/MirageJellyGlow.png b/NPCs/Abyss/MirageJellyGlow.png similarity index 100% rename from NPCs/AbyssNPCs/MirageJellyGlow.png rename to NPCs/Abyss/MirageJellyGlow.png diff --git a/NPCs/AbyssNPCs/MorayEel.cs b/NPCs/Abyss/MorayEel.cs similarity index 97% rename from NPCs/AbyssNPCs/MorayEel.cs rename to NPCs/Abyss/MorayEel.cs index bf02364048..096a77a3be 100644 --- a/NPCs/AbyssNPCs/MorayEel.cs +++ b/NPCs/Abyss/MorayEel.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class MorayEel : ModNPC { @@ -238,10 +238,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Gold); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/MorayEel.png b/NPCs/Abyss/MorayEel.png similarity index 100% rename from NPCs/AbyssNPCs/MorayEel.png rename to NPCs/Abyss/MorayEel.png diff --git a/NPCs/AbyssNPCs/MorayEelGlow.png b/NPCs/Abyss/MorayEelGlow.png similarity index 100% rename from NPCs/AbyssNPCs/MorayEelGlow.png rename to NPCs/Abyss/MorayEelGlow.png diff --git a/NPCs/AbyssNPCs/OarfishBody.cs b/NPCs/Abyss/OarfishBody.cs similarity index 99% rename from NPCs/AbyssNPCs/OarfishBody.cs rename to NPCs/Abyss/OarfishBody.cs index 7784f3a868..fb927102fd 100644 --- a/NPCs/AbyssNPCs/OarfishBody.cs +++ b/NPCs/Abyss/OarfishBody.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class OarfishBody : ModNPC { diff --git a/NPCs/AbyssNPCs/OarfishBody.png b/NPCs/Abyss/OarfishBody.png similarity index 100% rename from NPCs/AbyssNPCs/OarfishBody.png rename to NPCs/Abyss/OarfishBody.png diff --git a/NPCs/AbyssNPCs/OarfishHead.cs b/NPCs/Abyss/OarfishHead.cs similarity index 99% rename from NPCs/AbyssNPCs/OarfishHead.cs rename to NPCs/Abyss/OarfishHead.cs index 0a9e77fdf2..e400a00b34 100644 --- a/NPCs/AbyssNPCs/OarfishHead.cs +++ b/NPCs/Abyss/OarfishHead.cs @@ -9,7 +9,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class OarfishHead : ModNPC { diff --git a/NPCs/AbyssNPCs/OarfishHead.png b/NPCs/Abyss/OarfishHead.png similarity index 100% rename from NPCs/AbyssNPCs/OarfishHead.png rename to NPCs/Abyss/OarfishHead.png diff --git a/NPCs/AbyssNPCs/OarfishTail.cs b/NPCs/Abyss/OarfishTail.cs similarity index 99% rename from NPCs/AbyssNPCs/OarfishTail.cs rename to NPCs/Abyss/OarfishTail.cs index 09c5f159ae..c1febacaed 100644 --- a/NPCs/AbyssNPCs/OarfishTail.cs +++ b/NPCs/Abyss/OarfishTail.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class OarfishTail : ModNPC { diff --git a/NPCs/AbyssNPCs/OarfishTail.png b/NPCs/Abyss/OarfishTail.png similarity index 100% rename from NPCs/AbyssNPCs/OarfishTail.png rename to NPCs/Abyss/OarfishTail.png diff --git a/NPCs/AbyssNPCs/Reaper.cs b/NPCs/Abyss/Reaper.cs similarity index 99% rename from NPCs/AbyssNPCs/Reaper.cs rename to NPCs/Abyss/Reaper.cs index a9e1a34d87..d84fd04dc7 100644 --- a/NPCs/AbyssNPCs/Reaper.cs +++ b/NPCs/Abyss/Reaper.cs @@ -13,7 +13,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Reaper : ModNPC { diff --git a/NPCs/AbyssNPCs/Reaper.png b/NPCs/Abyss/Reaper.png similarity index 100% rename from NPCs/AbyssNPCs/Reaper.png rename to NPCs/Abyss/Reaper.png diff --git a/NPCs/AbyssNPCs/SeaUrchin.cs b/NPCs/Abyss/SeaUrchin.cs similarity index 99% rename from NPCs/AbyssNPCs/SeaUrchin.cs rename to NPCs/Abyss/SeaUrchin.cs index 0b37514dfd..f8bb3a55b6 100644 --- a/NPCs/AbyssNPCs/SeaUrchin.cs +++ b/NPCs/Abyss/SeaUrchin.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class SeaUrchin : ModNPC { diff --git a/NPCs/AbyssNPCs/SeaUrchin.png b/NPCs/Abyss/SeaUrchin.png similarity index 100% rename from NPCs/AbyssNPCs/SeaUrchin.png rename to NPCs/Abyss/SeaUrchin.png diff --git a/NPCs/AbyssNPCs/ToxicMinnow.cs b/NPCs/Abyss/ToxicMinnow.cs similarity index 97% rename from NPCs/AbyssNPCs/ToxicMinnow.cs rename to NPCs/Abyss/ToxicMinnow.cs index cdec53e69f..b7d0b09893 100644 --- a/NPCs/AbyssNPCs/ToxicMinnow.cs +++ b/NPCs/Abyss/ToxicMinnow.cs @@ -12,7 +12,7 @@ using CalamityMod.Projectiles.Enemy; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class ToxicMinnow : ModNPC { @@ -219,10 +219,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightGreen); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/ToxicMinnow.png b/NPCs/Abyss/ToxicMinnow.png similarity index 100% rename from NPCs/AbyssNPCs/ToxicMinnow.png rename to NPCs/Abyss/ToxicMinnow.png diff --git a/NPCs/AbyssNPCs/ToxicMinnowGlow.png b/NPCs/Abyss/ToxicMinnowGlow.png similarity index 100% rename from NPCs/AbyssNPCs/ToxicMinnowGlow.png rename to NPCs/Abyss/ToxicMinnowGlow.png diff --git a/NPCs/AbyssNPCs/Trasher.cs b/NPCs/Abyss/Trasher.cs similarity index 99% rename from NPCs/AbyssNPCs/Trasher.cs rename to NPCs/Abyss/Trasher.cs index 9d124e6855..5913296637 100644 --- a/NPCs/AbyssNPCs/Trasher.cs +++ b/NPCs/Abyss/Trasher.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Pets; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Trasher : ModNPC { diff --git a/NPCs/AbyssNPCs/Trasher.png b/NPCs/Abyss/Trasher.png similarity index 100% rename from NPCs/AbyssNPCs/Trasher.png rename to NPCs/Abyss/Trasher.png diff --git a/NPCs/AbyssNPCs/Viperfish.cs b/NPCs/Abyss/Viperfish.cs similarity index 98% rename from NPCs/AbyssNPCs/Viperfish.cs rename to NPCs/Abyss/Viperfish.cs index aef2798425..4ebd4b8d75 100644 --- a/NPCs/AbyssNPCs/Viperfish.cs +++ b/NPCs/Abyss/Viperfish.cs @@ -12,7 +12,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Ranged; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Abyss { public class Viperfish : ModNPC { @@ -249,10 +249,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ViperfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ViperfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/ViperfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ViperfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Gold); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ViperfishGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ViperfishGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/AbyssNPCs/Viperfish.png b/NPCs/Abyss/Viperfish.png similarity index 100% rename from NPCs/AbyssNPCs/Viperfish.png rename to NPCs/Abyss/Viperfish.png diff --git a/NPCs/AbyssNPCs/ViperfishGlow.png b/NPCs/Abyss/ViperfishGlow.png similarity index 100% rename from NPCs/AbyssNPCs/ViperfishGlow.png rename to NPCs/Abyss/ViperfishGlow.png diff --git a/NPCs/AbyssNPCs/AquaticParasite.cs b/NPCs/AquaticScourge/AquaticParasite.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticParasite.cs rename to NPCs/AquaticScourge/AquaticParasite.cs index d5cab27ae4..ec44a7d861 100644 --- a/NPCs/AbyssNPCs/AquaticParasite.cs +++ b/NPCs/AquaticScourge/AquaticParasite.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticParasite : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticParasite.png b/NPCs/AquaticScourge/AquaticParasite.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticParasite.png rename to NPCs/AquaticScourge/AquaticParasite.png diff --git a/NPCs/AbyssNPCs/AquaticScourgeBody.cs b/NPCs/AquaticScourge/AquaticScourgeBody.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticScourgeBody.cs rename to NPCs/AquaticScourge/AquaticScourgeBody.cs index 181162bb8b..fe4bc7348c 100644 --- a/NPCs/AbyssNPCs/AquaticScourgeBody.cs +++ b/NPCs/AquaticScourge/AquaticScourgeBody.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticScourgeBody : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticScourgeBody.png b/NPCs/AquaticScourge/AquaticScourgeBody.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticScourgeBody.png rename to NPCs/AquaticScourge/AquaticScourgeBody.png diff --git a/NPCs/AbyssNPCs/AquaticScourgeBodyAlt.cs b/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticScourgeBodyAlt.cs rename to NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs index 471f856fc8..34e8aae832 100644 --- a/NPCs/AbyssNPCs/AquaticScourgeBodyAlt.cs +++ b/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticScourgeBodyAlt : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticScourgeBodyAlt.png b/NPCs/AquaticScourge/AquaticScourgeBodyAlt.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticScourgeBodyAlt.png rename to NPCs/AquaticScourge/AquaticScourgeBodyAlt.png diff --git a/NPCs/AbyssNPCs/AquaticScourgeHead.cs b/NPCs/AquaticScourge/AquaticScourgeHead.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticScourgeHead.cs rename to NPCs/AquaticScourge/AquaticScourgeHead.cs index 87d2b608a6..3e9893dda8 100644 --- a/NPCs/AbyssNPCs/AquaticScourgeHead.cs +++ b/NPCs/AquaticScourge/AquaticScourgeHead.cs @@ -17,7 +17,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { [AutoloadBossHead] public class AquaticScourgeHead : ModNPC diff --git a/NPCs/AbyssNPCs/AquaticScourgeHead.png b/NPCs/AquaticScourge/AquaticScourgeHead.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticScourgeHead.png rename to NPCs/AquaticScourge/AquaticScourgeHead.png diff --git a/NPCs/AbyssNPCs/AquaticScourgeHead_Head_Boss.png b/NPCs/AquaticScourge/AquaticScourgeHead_Head_Boss.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticScourgeHead_Head_Boss.png rename to NPCs/AquaticScourge/AquaticScourgeHead_Head_Boss.png diff --git a/NPCs/AbyssNPCs/AquaticScourgeTail.cs b/NPCs/AquaticScourge/AquaticScourgeTail.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticScourgeTail.cs rename to NPCs/AquaticScourge/AquaticScourgeTail.cs index 144fc96cee..b612e2a703 100644 --- a/NPCs/AbyssNPCs/AquaticScourgeTail.cs +++ b/NPCs/AquaticScourge/AquaticScourgeTail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticScourgeTail : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticScourgeTail.png b/NPCs/AquaticScourge/AquaticScourgeTail.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticScourgeTail.png rename to NPCs/AquaticScourge/AquaticScourgeTail.png diff --git a/NPCs/AbyssNPCs/AquaticSeekerBody.cs b/NPCs/AquaticScourge/AquaticSeekerBody.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticSeekerBody.cs rename to NPCs/AquaticScourge/AquaticSeekerBody.cs index 1a8f6de72c..d08f6126c4 100644 --- a/NPCs/AbyssNPCs/AquaticSeekerBody.cs +++ b/NPCs/AquaticScourge/AquaticSeekerBody.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticSeekerBody : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticSeekerBody.png b/NPCs/AquaticScourge/AquaticSeekerBody.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticSeekerBody.png rename to NPCs/AquaticScourge/AquaticSeekerBody.png diff --git a/NPCs/AbyssNPCs/AquaticSeekerHead.cs b/NPCs/AquaticScourge/AquaticSeekerHead.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticSeekerHead.cs rename to NPCs/AquaticScourge/AquaticSeekerHead.cs index dfef7cb60c..8dfe12aebb 100644 --- a/NPCs/AbyssNPCs/AquaticSeekerHead.cs +++ b/NPCs/AquaticScourge/AquaticSeekerHead.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticSeekerHead : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticSeekerHead.png b/NPCs/AquaticScourge/AquaticSeekerHead.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticSeekerHead.png rename to NPCs/AquaticScourge/AquaticSeekerHead.png diff --git a/NPCs/AbyssNPCs/AquaticSeekerTail.cs b/NPCs/AquaticScourge/AquaticSeekerTail.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticSeekerTail.cs rename to NPCs/AquaticScourge/AquaticSeekerTail.cs index 654de78d90..3b13b381ce 100644 --- a/NPCs/AbyssNPCs/AquaticSeekerTail.cs +++ b/NPCs/AquaticScourge/AquaticSeekerTail.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticSeekerTail : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticSeekerTail.png b/NPCs/AquaticScourge/AquaticSeekerTail.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticSeekerTail.png rename to NPCs/AquaticScourge/AquaticSeekerTail.png diff --git a/NPCs/AbyssNPCs/AquaticUrchin.cs b/NPCs/AquaticScourge/AquaticUrchin.cs similarity index 99% rename from NPCs/AbyssNPCs/AquaticUrchin.cs rename to NPCs/AquaticScourge/AquaticUrchin.cs index b359233ac7..d40c04e557 100644 --- a/NPCs/AbyssNPCs/AquaticUrchin.cs +++ b/NPCs/AquaticScourge/AquaticUrchin.cs @@ -7,7 +7,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AquaticScourge { public class AquaticUrchin : ModNPC { diff --git a/NPCs/AbyssNPCs/AquaticUrchin.png b/NPCs/AquaticScourge/AquaticUrchin.png similarity index 100% rename from NPCs/AbyssNPCs/AquaticUrchin.png rename to NPCs/AquaticScourge/AquaticUrchin.png diff --git a/NPCs/AstralBiomeNPCs/Aries.cs b/NPCs/Astral/Aries.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/Aries.cs rename to NPCs/Astral/Aries.cs index 84e143cd1d..20ef4c195d 100644 --- a/NPCs/AstralBiomeNPCs/Aries.cs +++ b/NPCs/Astral/Aries.cs @@ -9,7 +9,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Aries : ModNPC { @@ -20,7 +20,7 @@ namespace CalamityMod.NPCs DisplayName.SetDefault("Aries"); Main.npcFrameCount[npc.type] = 8; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/AriesGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/AriesGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/Aries.png b/NPCs/Astral/Aries.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Aries.png rename to NPCs/Astral/Aries.png diff --git a/NPCs/AstralBiomeNPCs/AriesGlow.png b/NPCs/Astral/AriesGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AriesGlow.png rename to NPCs/Astral/AriesGlow.png diff --git a/NPCs/AstralBiomeNPCs/AstralProbe.cs b/NPCs/Astral/AstralProbe.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/AstralProbe.cs rename to NPCs/Astral/AstralProbe.cs index 81746ec86c..1c6d5d1463 100644 --- a/NPCs/AstralBiomeNPCs/AstralProbe.cs +++ b/NPCs/Astral/AstralProbe.cs @@ -8,7 +8,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class AstralProbe : ModNPC { diff --git a/NPCs/AstralBiomeNPCs/AstralProbe.png b/NPCs/Astral/AstralProbe.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralProbe.png rename to NPCs/Astral/AstralProbe.png diff --git a/NPCs/AstralBiomeNPCs/AstralSeekerSpit.png b/NPCs/Astral/AstralSeekerSpit.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralSeekerSpit.png rename to NPCs/Astral/AstralSeekerSpit.png diff --git a/NPCs/AstralBiomeNPCs/AstralSlime.cs b/NPCs/Astral/AstralSlime.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/AstralSlime.cs rename to NPCs/Astral/AstralSlime.cs index 7fc20689fe..4c5ef46eb2 100644 --- a/NPCs/AstralBiomeNPCs/AstralSlime.cs +++ b/NPCs/Astral/AstralSlime.cs @@ -8,7 +8,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class AstralSlime : ModNPC { diff --git a/NPCs/AstralBiomeNPCs/AstralSlime.png b/NPCs/Astral/AstralSlime.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralSlime.png rename to NPCs/Astral/AstralSlime.png diff --git a/NPCs/AstralBiomeNPCs/AstralachneaGround.cs b/NPCs/Astral/AstralachneaGround.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/AstralachneaGround.cs rename to NPCs/Astral/AstralachneaGround.cs index 8f17914cde..75e5bbafc6 100644 --- a/NPCs/AstralBiomeNPCs/AstralachneaGround.cs +++ b/NPCs/Astral/AstralachneaGround.cs @@ -11,7 +11,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class AstralachneaGround : ModNPC { @@ -24,7 +24,7 @@ namespace CalamityMod.NPCs Main.npcFrameCount[npc.type] = 5; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/AstralachneaGroundGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/AstralachneaGroundGlow"); base.SetStaticDefaults(); } diff --git a/NPCs/AstralBiomeNPCs/AstralachneaGround.png b/NPCs/Astral/AstralachneaGround.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralachneaGround.png rename to NPCs/Astral/AstralachneaGround.png diff --git a/NPCs/AstralBiomeNPCs/AstralachneaGroundGlow.png b/NPCs/Astral/AstralachneaGroundGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralachneaGroundGlow.png rename to NPCs/Astral/AstralachneaGroundGlow.png diff --git a/NPCs/AstralBiomeNPCs/AstralachneaWall.cs b/NPCs/Astral/AstralachneaWall.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/AstralachneaWall.cs rename to NPCs/Astral/AstralachneaWall.cs index 422cbc9d0e..35ae7a2d43 100644 --- a/NPCs/AstralBiomeNPCs/AstralachneaWall.cs +++ b/NPCs/Astral/AstralachneaWall.cs @@ -11,7 +11,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Magic; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class AstralachneaWall : ModNPC { @@ -24,7 +24,7 @@ namespace CalamityMod.NPCs Main.npcFrameCount[npc.type] = 4; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/AstralachneaWallGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/AstralachneaWallGlow"); base.SetStaticDefaults(); } diff --git a/NPCs/AstralBiomeNPCs/AstralachneaWall.png b/NPCs/Astral/AstralachneaWall.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralachneaWall.png rename to NPCs/Astral/AstralachneaWall.png diff --git a/NPCs/AstralBiomeNPCs/AstralachneaWallGlow.png b/NPCs/Astral/AstralachneaWallGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AstralachneaWallGlow.png rename to NPCs/Astral/AstralachneaWallGlow.png diff --git a/NPCs/AstralBiomeNPCs/Atlas.cs b/NPCs/Astral/Atlas.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/Atlas.cs rename to NPCs/Astral/Atlas.cs index fe791bf106..7b5486847b 100644 --- a/NPCs/AstralBiomeNPCs/Atlas.cs +++ b/NPCs/Astral/Atlas.cs @@ -12,7 +12,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Melee; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Atlas : ModNPC { @@ -96,7 +96,7 @@ namespace CalamityMod.NPCs //also it's visuals are messed up on npc spawners etc. because the sheet is 3 wide. //not much we can do. looks fine in-game so /shrug if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/AtlasGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/AtlasGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/Atlas.png b/NPCs/Astral/Atlas.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Atlas.png rename to NPCs/Astral/Atlas.png diff --git a/NPCs/AstralBiomeNPCs/AtlasGlow.png b/NPCs/Astral/AtlasGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/AtlasGlow.png rename to NPCs/Astral/AtlasGlow.png diff --git a/NPCs/AstralBiomeNPCs/BigSightseer.cs b/NPCs/Astral/BigSightseer.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/BigSightseer.cs rename to NPCs/Astral/BigSightseer.cs index 1b0aeed365..893d5d70a8 100644 --- a/NPCs/AstralBiomeNPCs/BigSightseer.cs +++ b/NPCs/Astral/BigSightseer.cs @@ -10,7 +10,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class BigSightseer : ModNPC { @@ -21,7 +21,7 @@ namespace CalamityMod.NPCs DisplayName.SetDefault("Big Sightseer"); Main.npcFrameCount[npc.type] = 4; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/BigSightseerGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/BigSightseerGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/BigSightseer.png b/NPCs/Astral/BigSightseer.png similarity index 100% rename from NPCs/AstralBiomeNPCs/BigSightseer.png rename to NPCs/Astral/BigSightseer.png diff --git a/NPCs/AstralBiomeNPCs/BigSightseerGlow.png b/NPCs/Astral/BigSightseerGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/BigSightseerGlow.png rename to NPCs/Astral/BigSightseerGlow.png diff --git a/NPCs/AstralBiomeNPCs/FusionFeeder.cs b/NPCs/Astral/FusionFeeder.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/FusionFeeder.cs rename to NPCs/Astral/FusionFeeder.cs index 3c9feba43c..cd5a305d7c 100644 --- a/NPCs/AstralBiomeNPCs/FusionFeeder.cs +++ b/NPCs/Astral/FusionFeeder.cs @@ -10,7 +10,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class FusionFeeder : ModNPC { @@ -20,7 +20,7 @@ namespace CalamityMod.NPCs { DisplayName.SetDefault("Fusion Feeder"); if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/FusionFeederGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/FusionFeederGlow"); Main.npcFrameCount[npc.type] = 4; } diff --git a/NPCs/AstralBiomeNPCs/FusionFeeder.png b/NPCs/Astral/FusionFeeder.png similarity index 100% rename from NPCs/AstralBiomeNPCs/FusionFeeder.png rename to NPCs/Astral/FusionFeeder.png diff --git a/NPCs/AstralBiomeNPCs/FusionFeederGlow.png b/NPCs/Astral/FusionFeederGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/FusionFeederGlow.png rename to NPCs/Astral/FusionFeederGlow.png diff --git a/NPCs/AstralBiomeNPCs/Hadarian.cs b/NPCs/Astral/Hadarian.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/Hadarian.cs rename to NPCs/Astral/Hadarian.cs index 792488ae46..441465fba6 100644 --- a/NPCs/AstralBiomeNPCs/Hadarian.cs +++ b/NPCs/Astral/Hadarian.cs @@ -10,7 +10,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Hadarian : ModNPC { @@ -20,7 +20,7 @@ namespace CalamityMod.NPCs { DisplayName.SetDefault("Hadarian"); if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/HadarianGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/HadarianGlow"); Main.npcFrameCount[npc.type] = 7; } diff --git a/NPCs/AstralBiomeNPCs/Hadarian.png b/NPCs/Astral/Hadarian.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Hadarian.png rename to NPCs/Astral/Hadarian.png diff --git a/NPCs/AstralBiomeNPCs/HadarianGlow.png b/NPCs/Astral/HadarianGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/HadarianGlow.png rename to NPCs/Astral/HadarianGlow.png diff --git a/NPCs/AstralBiomeNPCs/Hive.cs b/NPCs/Astral/Hive.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/Hive.cs rename to NPCs/Astral/Hive.cs index d12b4bcd13..58ae82a708 100644 --- a/NPCs/AstralBiomeNPCs/Hive.cs +++ b/NPCs/Astral/Hive.cs @@ -10,7 +10,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Summon; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Hive : ModNPC { @@ -20,7 +20,7 @@ namespace CalamityMod.NPCs { DisplayName.SetDefault("Hive"); if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/HiveGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/HiveGlow"); Main.npcFrameCount[npc.type] = 6; } diff --git a/NPCs/AstralBiomeNPCs/Hive.png b/NPCs/Astral/Hive.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Hive.png rename to NPCs/Astral/Hive.png diff --git a/NPCs/AstralBiomeNPCs/HiveGlow.png b/NPCs/Astral/HiveGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/HiveGlow.png rename to NPCs/Astral/HiveGlow.png diff --git a/NPCs/AstralBiomeNPCs/Hiveling.cs b/NPCs/Astral/Hiveling.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/Hiveling.cs rename to NPCs/Astral/Hiveling.cs index 70777216e0..564321c088 100644 --- a/NPCs/AstralBiomeNPCs/Hiveling.cs +++ b/NPCs/Astral/Hiveling.cs @@ -7,7 +7,7 @@ using Terraria; using Terraria.ModLoader; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Hiveling : ModNPC { @@ -17,7 +17,7 @@ namespace CalamityMod.NPCs { DisplayName.SetDefault("Hiveling"); if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/HivelingGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/HivelingGlow"); Main.npcFrameCount[npc.type] = 4; } diff --git a/NPCs/AstralBiomeNPCs/Hiveling.png b/NPCs/Astral/Hiveling.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Hiveling.png rename to NPCs/Astral/Hiveling.png diff --git a/NPCs/AstralBiomeNPCs/HivelingGlow.png b/NPCs/Astral/HivelingGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/HivelingGlow.png rename to NPCs/Astral/HivelingGlow.png diff --git a/NPCs/AstralBiomeNPCs/Mantis.cs b/NPCs/Astral/Mantis.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/Mantis.cs rename to NPCs/Astral/Mantis.cs index 5df5829dc0..a61bfa98a3 100644 --- a/NPCs/AstralBiomeNPCs/Mantis.cs +++ b/NPCs/Astral/Mantis.cs @@ -11,7 +11,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Mantis : ModNPC { @@ -22,7 +22,7 @@ namespace CalamityMod.NPCs DisplayName.SetDefault("Mantis"); Main.npcFrameCount[npc.type] = 14; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/MantisGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/MantisGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/Mantis.png b/NPCs/Astral/Mantis.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Mantis.png rename to NPCs/Astral/Mantis.png diff --git a/NPCs/AstralBiomeNPCs/MantisGlow.png b/NPCs/Astral/MantisGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/MantisGlow.png rename to NPCs/Astral/MantisGlow.png diff --git a/NPCs/AstralBiomeNPCs/Nova.cs b/NPCs/Astral/Nova.cs similarity index 99% rename from NPCs/AstralBiomeNPCs/Nova.cs rename to NPCs/Astral/Nova.cs index 15e0d0b15b..944386e782 100644 --- a/NPCs/AstralBiomeNPCs/Nova.cs +++ b/NPCs/Astral/Nova.cs @@ -12,7 +12,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Ranged; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Nova : ModNPC { @@ -30,7 +30,7 @@ namespace CalamityMod.NPCs Main.npcFrameCount[npc.type] = 8; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/NovaGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/NovaGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/Nova.png b/NPCs/Astral/Nova.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Nova.png rename to NPCs/Astral/Nova.png diff --git a/NPCs/AstralBiomeNPCs/NovaGlow.png b/NPCs/Astral/NovaGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/NovaGlow.png rename to NPCs/Astral/NovaGlow.png diff --git a/NPCs/AstralBiomeNPCs/SmallSightseer.cs b/NPCs/Astral/SmallSightseer.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/SmallSightseer.cs rename to NPCs/Astral/SmallSightseer.cs index 1663af8d4e..b6ef814974 100644 --- a/NPCs/AstralBiomeNPCs/SmallSightseer.cs +++ b/NPCs/Astral/SmallSightseer.cs @@ -9,7 +9,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class SmallSightseer : ModNPC { @@ -21,7 +21,7 @@ namespace CalamityMod.NPCs Main.npcFrameCount[npc.type] = 4; if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/SmallSightseerGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/SmallSightseerGlow"); } public override void SetDefaults() diff --git a/NPCs/AstralBiomeNPCs/SmallSightseer.png b/NPCs/Astral/SmallSightseer.png similarity index 100% rename from NPCs/AstralBiomeNPCs/SmallSightseer.png rename to NPCs/Astral/SmallSightseer.png diff --git a/NPCs/AstralBiomeNPCs/SmallSightseerGlow.png b/NPCs/Astral/SmallSightseerGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/SmallSightseerGlow.png rename to NPCs/Astral/SmallSightseerGlow.png diff --git a/NPCs/AstralBiomeNPCs/StellarCulex.cs b/NPCs/Astral/StellarCulex.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/StellarCulex.cs rename to NPCs/Astral/StellarCulex.cs index 06c8766e49..bd7a268a16 100644 --- a/NPCs/AstralBiomeNPCs/StellarCulex.cs +++ b/NPCs/Astral/StellarCulex.cs @@ -10,7 +10,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class StellarCulex : ModNPC { @@ -20,7 +20,7 @@ namespace CalamityMod.NPCs { DisplayName.SetDefault("Stellar Culex"); if (!Main.dedServ) - glowmask = ModContent.GetTexture("CalamityMod/NPCs/AstralBiomeNPCs/StellarCulexGlow"); + glowmask = ModContent.GetTexture("CalamityMod/NPCs/Astral/StellarCulexGlow"); Main.npcFrameCount[npc.type] = 4; } diff --git a/NPCs/AstralBiomeNPCs/StellarCulex.png b/NPCs/Astral/StellarCulex.png similarity index 100% rename from NPCs/AstralBiomeNPCs/StellarCulex.png rename to NPCs/Astral/StellarCulex.png diff --git a/NPCs/AstralBiomeNPCs/StellarCulexGlow.png b/NPCs/Astral/StellarCulexGlow.png similarity index 100% rename from NPCs/AstralBiomeNPCs/StellarCulexGlow.png rename to NPCs/Astral/StellarCulexGlow.png diff --git a/NPCs/AstralBiomeNPCs/Twinkler.cs b/NPCs/Astral/Twinkler.cs similarity index 98% rename from NPCs/AstralBiomeNPCs/Twinkler.cs rename to NPCs/Astral/Twinkler.cs index 0d83810ee9..90ba2d3e28 100644 --- a/NPCs/AstralBiomeNPCs/Twinkler.cs +++ b/NPCs/Astral/Twinkler.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Astral { public class Twinkler : ModNPC { diff --git a/NPCs/AstralBiomeNPCs/Twinkler.png b/NPCs/Astral/Twinkler.png similarity index 100% rename from NPCs/AstralBiomeNPCs/Twinkler.png rename to NPCs/Astral/Twinkler.png diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 116479f53e..eb518aa5e4 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -18,7 +18,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumAureus { [AutoloadBossHead] public class AstrumAureus : ModNPC diff --git a/NPCs/AstrumAureus/AureusSpawn.cs b/NPCs/AstrumAureus/AureusSpawn.cs index bebaea29f7..2127f12000 100644 --- a/NPCs/AstrumAureus/AureusSpawn.cs +++ b/NPCs/AstrumAureus/AureusSpawn.cs @@ -8,7 +8,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumAureus { public class AureusSpawn : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusBody.cs b/NPCs/AstrumDeus/AstrumDeusBody.cs index c1fdf66acc..d1e20eee49 100644 --- a/NPCs/AstrumDeus/AstrumDeusBody.cs +++ b/NPCs/AstrumDeus/AstrumDeusBody.cs @@ -13,7 +13,7 @@ using CalamityMod.Projectiles.Magic; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Projectiles.Rogue; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusBody : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs index 6de6351308..8a91c59540 100644 --- a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs @@ -15,7 +15,7 @@ using CalamityMod.Projectiles.Summon; using CalamityMod.Projectiles.Rogue; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusBodySpectral : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index 99deb5d9a3..7fbe5bf2e4 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -13,7 +13,7 @@ using CalamityMod.Projectiles.Magic; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Projectiles.Rogue; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { [AutoloadBossHead] public class AstrumDeusHead : ModNPC diff --git a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs index 9dae3f5e26..82b47a49a7 100644 --- a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs @@ -22,7 +22,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { [AutoloadBossHead] public class AstrumDeusHeadSpectral : ModNPC diff --git a/NPCs/AstrumDeus/AstrumDeusProbe.cs b/NPCs/AstrumDeus/AstrumDeusProbe.cs index c1075e2fa8..3b529e409b 100644 --- a/NPCs/AstrumDeus/AstrumDeusProbe.cs +++ b/NPCs/AstrumDeus/AstrumDeusProbe.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusProbe : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusProbe2.cs b/NPCs/AstrumDeus/AstrumDeusProbe2.cs index 8ac0d7353d..f9c5e35276 100644 --- a/NPCs/AstrumDeus/AstrumDeusProbe2.cs +++ b/NPCs/AstrumDeus/AstrumDeusProbe2.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusProbe2 : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusProbe3.cs b/NPCs/AstrumDeus/AstrumDeusProbe3.cs index 79f3402c96..edb2303a48 100644 --- a/NPCs/AstrumDeus/AstrumDeusProbe3.cs +++ b/NPCs/AstrumDeus/AstrumDeusProbe3.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusProbe3 : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusTail.cs b/NPCs/AstrumDeus/AstrumDeusTail.cs index d67d93a4ed..69857403be 100644 --- a/NPCs/AstrumDeus/AstrumDeusTail.cs +++ b/NPCs/AstrumDeus/AstrumDeusTail.cs @@ -12,7 +12,7 @@ using CalamityMod.Projectiles.Ranged; using CalamityMod.Projectiles.Rogue; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusTail : ModNPC { diff --git a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs index 5c613366bd..75e0c550de 100644 --- a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs @@ -13,7 +13,7 @@ using CalamityMod.Projectiles.Summon; using CalamityMod.Projectiles.Ranged; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.AstrumDeus { public class AstrumDeusTailSpectral : ModNPC { diff --git a/NPCs/BrimstoneElemental/Brimling.cs b/NPCs/BrimstoneElemental/Brimling.cs index 7259b0b11c..2703e63dbb 100644 --- a/NPCs/BrimstoneElemental/Brimling.cs +++ b/NPCs/BrimstoneElemental/Brimling.cs @@ -9,7 +9,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.BrimstoneElemental { public class Brimling : ModNPC { diff --git a/NPCs/BrimstoneElemental/BrimstoneElemental.cs b/NPCs/BrimstoneElemental/BrimstoneElemental.cs index e10366fa4f..082851415f 100644 --- a/NPCs/BrimstoneElemental/BrimstoneElemental.cs +++ b/NPCs/BrimstoneElemental/BrimstoneElemental.cs @@ -18,7 +18,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.BrimstoneElemental { [AutoloadBossHead] public class BrimstoneElemental : ModNPC diff --git a/NPCs/Bumblefuck/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs similarity index 99% rename from NPCs/Bumblefuck/Bumblefuck.cs rename to NPCs/Bumblebirb/Bumblefuck.cs index 46bfa589c9..b9b628ed18 100644 --- a/NPCs/Bumblefuck/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -15,7 +15,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Bumblebirb { [AutoloadBossHead] public class Bumblefuck : ModNPC diff --git a/NPCs/Bumblefuck/Bumblefuck.png b/NPCs/Bumblebirb/Bumblefuck.png similarity index 100% rename from NPCs/Bumblefuck/Bumblefuck.png rename to NPCs/Bumblebirb/Bumblefuck.png diff --git a/NPCs/Bumblefuck/Bumblefuck2.cs b/NPCs/Bumblebirb/Bumblefuck2.cs similarity index 99% rename from NPCs/Bumblefuck/Bumblefuck2.cs rename to NPCs/Bumblebirb/Bumblefuck2.cs index cf3297e511..ac1365548c 100644 --- a/NPCs/Bumblefuck/Bumblefuck2.cs +++ b/NPCs/Bumblebirb/Bumblefuck2.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Bumblebirb { public class Bumblefuck2 : ModNPC { diff --git a/NPCs/Bumblefuck/Bumblefuck2.png b/NPCs/Bumblebirb/Bumblefuck2.png similarity index 100% rename from NPCs/Bumblefuck/Bumblefuck2.png rename to NPCs/Bumblebirb/Bumblefuck2.png diff --git a/NPCs/Bumblefuck/Bumblefuck_Head_Boss.png b/NPCs/Bumblebirb/Bumblefuck_Head_Boss.png similarity index 100% rename from NPCs/Bumblefuck/Bumblefuck_Head_Boss.png rename to NPCs/Bumblebirb/Bumblefuck_Head_Boss.png diff --git a/NPCs/Calamitas/CalScreenShaderData.cs b/NPCs/Calamitas/CalScreenShaderData.cs index 0a53d9e921..4bd629e6da 100644 --- a/NPCs/Calamitas/CalScreenShaderData.cs +++ b/NPCs/Calamitas/CalScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { public class CalScreenShaderData : ScreenShaderData { diff --git a/NPCs/Calamitas/CalSky.cs b/NPCs/Calamitas/CalSky.cs index 03718ac731..5acacb7c4c 100644 --- a/NPCs/Calamitas/CalSky.cs +++ b/NPCs/Calamitas/CalSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { public class CalSky : CustomSky { diff --git a/NPCs/Calamitas/Calamitas.cs b/NPCs/Calamitas/Calamitas.cs index 87b40b5c03..38759d2450 100644 --- a/NPCs/Calamitas/Calamitas.cs +++ b/NPCs/Calamitas/Calamitas.cs @@ -17,7 +17,7 @@ using CalamityMod.Items.Weapons.Summon; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.LoreItems; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { [AutoloadBossHead] public class Calamitas : ModNPC diff --git a/NPCs/Calamitas/CalamitasRun.cs b/NPCs/Calamitas/CalamitasRun.cs index cc314469ca..309acc7c05 100644 --- a/NPCs/Calamitas/CalamitasRun.cs +++ b/NPCs/Calamitas/CalamitasRun.cs @@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.Placeables.Furniture.Trophies; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { [AutoloadBossHead] public class CalamitasRun : ModNPC diff --git a/NPCs/Calamitas/CalamitasRun2.cs b/NPCs/Calamitas/CalamitasRun2.cs index 45efd9d43d..bd25b37f35 100644 --- a/NPCs/Calamitas/CalamitasRun2.cs +++ b/NPCs/Calamitas/CalamitasRun2.cs @@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.Placeables.Furniture.Trophies; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { [AutoloadBossHead] public class CalamitasRun2 : ModNPC diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index ff92ed0a46..5a215fd276 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -21,7 +21,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { [AutoloadBossHead] public class CalamitasRun3 : ModNPC diff --git a/NPCs/Calamitas/LifeSeeker.cs b/NPCs/Calamitas/LifeSeeker.cs index d3a64ebd8f..aad898a774 100644 --- a/NPCs/Calamitas/LifeSeeker.cs +++ b/NPCs/Calamitas/LifeSeeker.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { public class LifeSeeker : ModNPC { diff --git a/NPCs/Calamitas/SoulSeeker.cs b/NPCs/Calamitas/SoulSeeker.cs index 8797c49615..3d16f8cddf 100644 --- a/NPCs/Calamitas/SoulSeeker.cs +++ b/NPCs/Calamitas/SoulSeeker.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Calamitas { public class SoulSeeker : ModNPC { diff --git a/NPCs/CeaselessVoid/CeaselessVoid.cs b/NPCs/CeaselessVoid/CeaselessVoid.cs index 6939ec6d23..2d451a83eb 100644 --- a/NPCs/CeaselessVoid/CeaselessVoid.cs +++ b/NPCs/CeaselessVoid/CeaselessVoid.cs @@ -14,7 +14,7 @@ using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.CeaselessVoid { [AutoloadBossHead] public class CeaselessVoid : ModNPC diff --git a/NPCs/CeaselessVoid/DarkEnergy.cs b/NPCs/CeaselessVoid/DarkEnergy.cs index 65542f9eca..9b3937fce2 100644 --- a/NPCs/CeaselessVoid/DarkEnergy.cs +++ b/NPCs/CeaselessVoid/DarkEnergy.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.CeaselessVoid { public class DarkEnergy : ModNPC { diff --git a/NPCs/CeaselessVoid/DarkEnergy2.cs b/NPCs/CeaselessVoid/DarkEnergy2.cs index 8441842420..51a7386330 100644 --- a/NPCs/CeaselessVoid/DarkEnergy2.cs +++ b/NPCs/CeaselessVoid/DarkEnergy2.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.CeaselessVoid { public class DarkEnergy2 : ModNPC { diff --git a/NPCs/CeaselessVoid/DarkEnergy3.cs b/NPCs/CeaselessVoid/DarkEnergy3.cs index 9c89b34e72..d501656efe 100644 --- a/NPCs/CeaselessVoid/DarkEnergy3.cs +++ b/NPCs/CeaselessVoid/DarkEnergy3.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.CeaselessVoid { public class DarkEnergy3 : ModNPC { diff --git a/NPCs/Crabulon/CrabShroom.cs b/NPCs/Crabulon/CrabShroom.cs index 8d567419b9..898ea2ea03 100644 --- a/NPCs/Crabulon/CrabShroom.cs +++ b/NPCs/Crabulon/CrabShroom.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crabulon { public class CrabShroom : ModNPC { diff --git a/NPCs/Crabulon/CrabulonIdle.cs b/NPCs/Crabulon/CrabulonIdle.cs index 745b80b475..6dfa0bf056 100644 --- a/NPCs/Crabulon/CrabulonIdle.cs +++ b/NPCs/Crabulon/CrabulonIdle.cs @@ -20,7 +20,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crabulon { [AutoloadBossHead] public class CrabulonIdle : ModNPC diff --git a/NPCs/CragsNPCs/CultistAssassin.cs b/NPCs/Crags/CultistAssassin.cs similarity index 98% rename from NPCs/CragsNPCs/CultistAssassin.cs rename to NPCs/Crags/CultistAssassin.cs index d6e03d1d30..e6bf7c90dc 100644 --- a/NPCs/CragsNPCs/CultistAssassin.cs +++ b/NPCs/Crags/CultistAssassin.cs @@ -6,7 +6,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crags { public class CultistAssassin : ModNPC { diff --git a/NPCs/CragsNPCs/CultistAssassin.png b/NPCs/Crags/CultistAssassin.png similarity index 100% rename from NPCs/CragsNPCs/CultistAssassin.png rename to NPCs/Crags/CultistAssassin.png diff --git a/NPCs/CragsNPCs/DespairStone.cs b/NPCs/Crags/DespairStone.cs similarity index 99% rename from NPCs/CragsNPCs/DespairStone.cs rename to NPCs/Crags/DespairStone.cs index e12b6825ac..c170680517 100644 --- a/NPCs/CragsNPCs/DespairStone.cs +++ b/NPCs/Crags/DespairStone.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crags { public class DespairStone : ModNPC { diff --git a/NPCs/CragsNPCs/DespairStone.png b/NPCs/Crags/DespairStone.png similarity index 100% rename from NPCs/CragsNPCs/DespairStone.png rename to NPCs/Crags/DespairStone.png diff --git a/NPCs/CragsNPCs/Scryllar.cs b/NPCs/Crags/Scryllar.cs similarity index 99% rename from NPCs/CragsNPCs/Scryllar.cs rename to NPCs/Crags/Scryllar.cs index 3ca948e1ca..b91456424e 100644 --- a/NPCs/CragsNPCs/Scryllar.cs +++ b/NPCs/Crags/Scryllar.cs @@ -6,7 +6,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crags { public class Scryllar : ModNPC { diff --git a/NPCs/CragsNPCs/Scryllar.png b/NPCs/Crags/Scryllar.png similarity index 100% rename from NPCs/CragsNPCs/Scryllar.png rename to NPCs/Crags/Scryllar.png diff --git a/NPCs/CragsNPCs/ScryllarRage.cs b/NPCs/Crags/ScryllarRage.cs similarity index 99% rename from NPCs/CragsNPCs/ScryllarRage.cs rename to NPCs/Crags/ScryllarRage.cs index 33e1242a1a..6e6bcd6b85 100644 --- a/NPCs/CragsNPCs/ScryllarRage.cs +++ b/NPCs/Crags/ScryllarRage.cs @@ -6,7 +6,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crags { public class ScryllarRage : ModNPC { diff --git a/NPCs/CragsNPCs/ScryllarRage.png b/NPCs/Crags/ScryllarRage.png similarity index 100% rename from NPCs/CragsNPCs/ScryllarRage.png rename to NPCs/Crags/ScryllarRage.png diff --git a/NPCs/CragsNPCs/SoulSlurper.cs b/NPCs/Crags/SoulSlurper.cs similarity index 99% rename from NPCs/CragsNPCs/SoulSlurper.cs rename to NPCs/Crags/SoulSlurper.cs index 2d15691152..e00affc160 100644 --- a/NPCs/CragsNPCs/SoulSlurper.cs +++ b/NPCs/Crags/SoulSlurper.cs @@ -9,7 +9,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Crags { public class SoulSlurper : ModNPC { diff --git a/NPCs/CragsNPCs/SoulSlurper.png b/NPCs/Crags/SoulSlurper.png similarity index 100% rename from NPCs/CragsNPCs/SoulSlurper.png rename to NPCs/Crags/SoulSlurper.png diff --git a/NPCs/Cryogen/Cryocore.cs b/NPCs/Cryogen/Cryocore.cs index 40be3c9999..be31d54306 100644 --- a/NPCs/Cryogen/Cryocore.cs +++ b/NPCs/Cryogen/Cryocore.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Cryogen { public class Cryocore : ModNPC { diff --git a/NPCs/Cryogen/Cryocore2.cs b/NPCs/Cryogen/Cryocore2.cs index 35e26a5dc9..fd398debd8 100644 --- a/NPCs/Cryogen/Cryocore2.cs +++ b/NPCs/Cryogen/Cryocore2.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Cryogen { public class Cryocore2 : ModNPC { diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index 12a5f4c6b4..b74a701360 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -22,7 +22,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; using CalamityMod.Tiles.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Cryogen { [AutoloadBossHead] public class Cryogen : ModNPC diff --git a/NPCs/Cryogen/CryogenIce.cs b/NPCs/Cryogen/CryogenIce.cs index 56cd761483..6e15e89f4e 100644 --- a/NPCs/Cryogen/CryogenIce.cs +++ b/NPCs/Cryogen/CryogenIce.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Cryogen { public class CryogenIce : ModNPC { diff --git a/NPCs/Cryogen/IceMass.cs b/NPCs/Cryogen/IceMass.cs index 152ad6b041..ceb5b62c9f 100644 --- a/NPCs/Cryogen/IceMass.cs +++ b/NPCs/Cryogen/IceMass.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Cryogen { public class IceMass : ModNPC { diff --git a/NPCs/DesertScourge/DesertScourgeBody.cs b/NPCs/DesertScourge/DesertScourgeBody.cs index 6f9ef2336e..3dc0603d14 100644 --- a/NPCs/DesertScourge/DesertScourgeBody.cs +++ b/NPCs/DesertScourge/DesertScourgeBody.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DesertScourgeBody : ModNPC { diff --git a/NPCs/DesertScourge/DesertScourgeBodySmall.cs b/NPCs/DesertScourge/DesertScourgeBodySmall.cs index 3937e454da..12dbd23b2a 100644 --- a/NPCs/DesertScourge/DesertScourgeBodySmall.cs +++ b/NPCs/DesertScourge/DesertScourgeBodySmall.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DesertScourgeBodySmall : ModNPC { diff --git a/NPCs/DesertScourge/DesertScourgeHead.cs b/NPCs/DesertScourge/DesertScourgeHead.cs index 4b64db4e8b..3fce600292 100644 --- a/NPCs/DesertScourge/DesertScourgeHead.cs +++ b/NPCs/DesertScourge/DesertScourgeHead.cs @@ -20,7 +20,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { [AutoloadBossHead] public class DesertScourgeHead : ModNPC diff --git a/NPCs/DesertScourge/DesertScourgeHeadSmall.cs b/NPCs/DesertScourge/DesertScourgeHeadSmall.cs index 5685c7b3f8..41e31722a4 100644 --- a/NPCs/DesertScourge/DesertScourgeHeadSmall.cs +++ b/NPCs/DesertScourge/DesertScourgeHeadSmall.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DesertScourgeHeadSmall : ModNPC { diff --git a/NPCs/DesertScourge/DesertScourgeTail.cs b/NPCs/DesertScourge/DesertScourgeTail.cs index 912e5a2603..3ea758e482 100644 --- a/NPCs/DesertScourge/DesertScourgeTail.cs +++ b/NPCs/DesertScourge/DesertScourgeTail.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DesertScourgeTail : ModNPC { diff --git a/NPCs/DesertScourge/DesertScourgeTailSmall.cs b/NPCs/DesertScourge/DesertScourgeTailSmall.cs index 0fe3c55d7a..c566dc05e0 100644 --- a/NPCs/DesertScourge/DesertScourgeTailSmall.cs +++ b/NPCs/DesertScourge/DesertScourgeTailSmall.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DesertScourgeTailSmall : ModNPC { diff --git a/NPCs/DesertScourge/DriedSeekerBody.cs b/NPCs/DesertScourge/DriedSeekerBody.cs index 152440e067..b0c8db8654 100644 --- a/NPCs/DesertScourge/DriedSeekerBody.cs +++ b/NPCs/DesertScourge/DriedSeekerBody.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DriedSeekerBody : ModNPC { diff --git a/NPCs/DesertScourge/DriedSeekerHead.cs b/NPCs/DesertScourge/DriedSeekerHead.cs index 70acb9c751..6fec43b49b 100644 --- a/NPCs/DesertScourge/DriedSeekerHead.cs +++ b/NPCs/DesertScourge/DriedSeekerHead.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DriedSeekerHead : ModNPC { diff --git a/NPCs/DesertScourge/DriedSeekerTail.cs b/NPCs/DesertScourge/DriedSeekerTail.cs index 075c5b00b7..70fd0fb3fe 100644 --- a/NPCs/DesertScourge/DriedSeekerTail.cs +++ b/NPCs/DesertScourge/DriedSeekerTail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DesertScourge { public class DriedSeekerTail : ModNPC { diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBody.cs b/NPCs/DevourerofGods/DevourerofGodsBody.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsBody.cs rename to NPCs/DevourerofGods/DevourerofGodsBody.cs index 30fd578862..4abae7ce42 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsBody.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBody.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DevourerofGodsBody : ModNPC { diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBody.png b/NPCs/DevourerofGods/DevourerofGodsBody.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBody.png rename to NPCs/DevourerofGods/DevourerofGodsBody.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBody2.cs b/NPCs/DevourerofGods/DevourerofGodsBody2.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsBody2.cs rename to NPCs/DevourerofGods/DevourerofGodsBody2.cs index 5bae014a4f..7130f81996 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsBody2.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBody2.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DevourerofGodsBody2 : ModNPC { diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBody2.png b/NPCs/DevourerofGods/DevourerofGodsBody2.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBody2.png rename to NPCs/DevourerofGods/DevourerofGodsBody2.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBody2Glow.png b/NPCs/DevourerofGods/DevourerofGodsBody2Glow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBody2Glow.png rename to NPCs/DevourerofGods/DevourerofGodsBody2Glow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBodyGlow.png b/NPCs/DevourerofGods/DevourerofGodsBodyGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBodyGlow.png rename to NPCs/DevourerofGods/DevourerofGodsBodyGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBodyS.cs b/NPCs/DevourerofGods/DevourerofGodsBodyS.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsBodyS.cs rename to NPCs/DevourerofGods/DevourerofGodsBodyS.cs index 6bdb68c769..b53ec4ab87 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsBodyS.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBodyS.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { [AutoloadBossHead] public class DevourerofGodsBodyS : ModNPC diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBodyS.png b/NPCs/DevourerofGods/DevourerofGodsBodyS.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBodyS.png rename to NPCs/DevourerofGods/DevourerofGodsBodyS.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBodySGlow.png b/NPCs/DevourerofGods/DevourerofGodsBodySGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBodySGlow.png rename to NPCs/DevourerofGods/DevourerofGodsBodySGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsBodyS_Head_Boss.png b/NPCs/DevourerofGods/DevourerofGodsBodyS_Head_Boss.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsBodyS_Head_Boss.png rename to NPCs/DevourerofGods/DevourerofGodsBodyS_Head_Boss.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsHead.cs rename to NPCs/DevourerofGods/DevourerofGodsHead.cs index 727f58dbc1..67ebbb58de 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -9,7 +9,7 @@ using Terraria.ID; using Terraria.Localization; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { [AutoloadBossHead] public class DevourerofGodsHead : ModNPC diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead.png b/NPCs/DevourerofGods/DevourerofGodsHead.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHead.png rename to NPCs/DevourerofGods/DevourerofGodsHead.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead2.cs b/NPCs/DevourerofGods/DevourerofGodsHead2.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsHead2.cs rename to NPCs/DevourerofGods/DevourerofGodsHead2.cs index 0951a39f15..c7fd8abb04 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsHead2.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead2.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DevourerofGodsHead2 : ModNPC { diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead2.png b/NPCs/DevourerofGods/DevourerofGodsHead2.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHead2.png rename to NPCs/DevourerofGods/DevourerofGodsHead2.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead2Glow.png b/NPCs/DevourerofGods/DevourerofGodsHead2Glow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHead2Glow.png rename to NPCs/DevourerofGods/DevourerofGodsHead2Glow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHeadGlow.png b/NPCs/DevourerofGods/DevourerofGodsHeadGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHeadGlow.png rename to NPCs/DevourerofGods/DevourerofGodsHeadGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHeadS.cs b/NPCs/DevourerofGods/DevourerofGodsHeadS.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsHeadS.cs rename to NPCs/DevourerofGods/DevourerofGodsHeadS.cs index 508930877b..25a54c545f 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsHeadS.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHeadS.cs @@ -23,7 +23,7 @@ using CalamityMod.Items.Potions; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Placeables.FurnitureCosmilite; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { [AutoloadBossHead] public class DevourerofGodsHeadS : ModNPC diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHeadS.png b/NPCs/DevourerofGods/DevourerofGodsHeadS.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHeadS.png rename to NPCs/DevourerofGods/DevourerofGodsHeadS.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHeadSGlow.png b/NPCs/DevourerofGods/DevourerofGodsHeadSGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHeadSGlow.png rename to NPCs/DevourerofGods/DevourerofGodsHeadSGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHeadS_Head_Boss.png b/NPCs/DevourerofGods/DevourerofGodsHeadS_Head_Boss.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHeadS_Head_Boss.png rename to NPCs/DevourerofGods/DevourerofGodsHeadS_Head_Boss.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsHead_Head_Boss.png b/NPCs/DevourerofGods/DevourerofGodsHead_Head_Boss.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsHead_Head_Boss.png rename to NPCs/DevourerofGods/DevourerofGodsHead_Head_Boss.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail.cs b/NPCs/DevourerofGods/DevourerofGodsTail.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsTail.cs rename to NPCs/DevourerofGods/DevourerofGodsTail.cs index 08a5b24bf4..7122f4804c 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsTail.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTail.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { [AutoloadBossHead] public class DevourerofGodsTail : ModNPC diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail.png b/NPCs/DevourerofGods/DevourerofGodsTail.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTail.png rename to NPCs/DevourerofGods/DevourerofGodsTail.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail2.cs b/NPCs/DevourerofGods/DevourerofGodsTail2.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsTail2.cs rename to NPCs/DevourerofGods/DevourerofGodsTail2.cs index 3c226c7816..756c86f73a 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsTail2.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTail2.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DevourerofGodsTail2 : ModNPC { diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail2.png b/NPCs/DevourerofGods/DevourerofGodsTail2.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTail2.png rename to NPCs/DevourerofGods/DevourerofGodsTail2.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail2Glow.png b/NPCs/DevourerofGods/DevourerofGodsTail2Glow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTail2Glow.png rename to NPCs/DevourerofGods/DevourerofGodsTail2Glow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTailGlow.png b/NPCs/DevourerofGods/DevourerofGodsTailGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTailGlow.png rename to NPCs/DevourerofGods/DevourerofGodsTailGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTailS.cs b/NPCs/DevourerofGods/DevourerofGodsTailS.cs similarity index 99% rename from NPCs/TheDevourerofGods/DevourerofGodsTailS.cs rename to NPCs/DevourerofGods/DevourerofGodsTailS.cs index 35750ed150..9a8b68f635 100644 --- a/NPCs/TheDevourerofGods/DevourerofGodsTailS.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTailS.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { [AutoloadBossHead] public class DevourerofGodsTailS : ModNPC diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTailS.png b/NPCs/DevourerofGods/DevourerofGodsTailS.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTailS.png rename to NPCs/DevourerofGods/DevourerofGodsTailS.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTailSGlow.png b/NPCs/DevourerofGods/DevourerofGodsTailSGlow.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTailSGlow.png rename to NPCs/DevourerofGods/DevourerofGodsTailSGlow.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTailS_Head_Boss.png b/NPCs/DevourerofGods/DevourerofGodsTailS_Head_Boss.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTailS_Head_Boss.png rename to NPCs/DevourerofGods/DevourerofGodsTailS_Head_Boss.png diff --git a/NPCs/TheDevourerofGods/DevourerofGodsTail_Head_Boss.png b/NPCs/DevourerofGods/DevourerofGodsTail_Head_Boss.png similarity index 100% rename from NPCs/TheDevourerofGods/DevourerofGodsTail_Head_Boss.png rename to NPCs/DevourerofGods/DevourerofGodsTail_Head_Boss.png diff --git a/NPCs/TheDevourerofGods/DoGSCreenShaderDataS.cs b/NPCs/DevourerofGods/DoGSCreenShaderDataS.cs similarity index 96% rename from NPCs/TheDevourerofGods/DoGSCreenShaderDataS.cs rename to NPCs/DevourerofGods/DoGSCreenShaderDataS.cs index 2ee53f7a97..9d6f5ea8a5 100644 --- a/NPCs/TheDevourerofGods/DoGSCreenShaderDataS.cs +++ b/NPCs/DevourerofGods/DoGSCreenShaderDataS.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DoGScreenShaderDataS : ScreenShaderData { diff --git a/NPCs/TheDevourerofGods/DoGScreenShaderData.cs b/NPCs/DevourerofGods/DoGScreenShaderData.cs similarity index 96% rename from NPCs/TheDevourerofGods/DoGScreenShaderData.cs rename to NPCs/DevourerofGods/DoGScreenShaderData.cs index 3f316d58b1..659ce9dd6b 100644 --- a/NPCs/TheDevourerofGods/DoGScreenShaderData.cs +++ b/NPCs/DevourerofGods/DoGScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DoGScreenShaderData : ScreenShaderData { diff --git a/NPCs/TheDevourerofGods/DoGSky.cs b/NPCs/DevourerofGods/DoGSky.cs similarity index 98% rename from NPCs/TheDevourerofGods/DoGSky.cs rename to NPCs/DevourerofGods/DoGSky.cs index ebd77f6fa4..1f3bf7aefb 100644 --- a/NPCs/TheDevourerofGods/DoGSky.cs +++ b/NPCs/DevourerofGods/DoGSky.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DoGSky : CustomSky { diff --git a/NPCs/TheDevourerofGods/DoGSkyS.cs b/NPCs/DevourerofGods/DoGSkyS.cs similarity index 98% rename from NPCs/TheDevourerofGods/DoGSkyS.cs rename to NPCs/DevourerofGods/DoGSkyS.cs index 7ded231c5f..8b3daf05a3 100644 --- a/NPCs/TheDevourerofGods/DoGSkyS.cs +++ b/NPCs/DevourerofGods/DoGSkyS.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.DevourerofGods { public class DoGSkyS : CustomSky { diff --git a/NPCs/GreatSandShark/GreatSandShark.cs b/NPCs/GreatSandShark/GreatSandShark.cs index 843d99483a..a6918b7381 100644 --- a/NPCs/GreatSandShark/GreatSandShark.cs +++ b/NPCs/GreatSandShark/GreatSandShark.cs @@ -11,7 +11,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.GreatSandShark { public class GreatSandShark : ModNPC { diff --git a/NPCs/HiveMind/DankCreeper.cs b/NPCs/HiveMind/DankCreeper.cs index 18ffa4e480..d4d2d6ec05 100644 --- a/NPCs/HiveMind/DankCreeper.cs +++ b/NPCs/HiveMind/DankCreeper.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { public class DankCreeper : ModNPC { diff --git a/NPCs/HiveMind/DarkHeart.cs b/NPCs/HiveMind/DarkHeart.cs index 9393536c44..80c1007a3e 100644 --- a/NPCs/HiveMind/DarkHeart.cs +++ b/NPCs/HiveMind/DarkHeart.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { public class DarkHeart : ModNPC { diff --git a/NPCs/HiveMind/HiveBlob.cs b/NPCs/HiveMind/HiveBlob.cs index 5f78f67e13..53603a8e79 100644 --- a/NPCs/HiveMind/HiveBlob.cs +++ b/NPCs/HiveMind/HiveBlob.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { public class HiveBlob : ModNPC { diff --git a/NPCs/HiveMind/HiveBlob2.cs b/NPCs/HiveMind/HiveBlob2.cs index 3ca2d8b47c..84cad57f80 100644 --- a/NPCs/HiveMind/HiveBlob2.cs +++ b/NPCs/HiveMind/HiveBlob2.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { public class HiveBlob2 : ModNPC { diff --git a/NPCs/HiveMind/HiveCyst.cs b/NPCs/HiveMind/HiveCyst.cs index eb3d3009f4..655f42965d 100644 --- a/NPCs/HiveMind/HiveCyst.cs +++ b/NPCs/HiveMind/HiveCyst.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { public class HiveCyst : ModNPC { diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index 110019e92b..85e473dba5 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { [AutoloadBossHead] public class HiveMind : ModNPC diff --git a/NPCs/HiveMind/HiveMindP2.cs b/NPCs/HiveMind/HiveMindP2.cs index 39cd06cfc2..e2ed3de7e1 100644 --- a/NPCs/HiveMind/HiveMindP2.cs +++ b/NPCs/HiveMind/HiveMindP2.cs @@ -31,7 +31,7 @@ using CalamityMod.Tiles.Ores; * 6 = deceleration */ -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.HiveMind { [AutoloadBossHead] public class HiveMindP2 : ModNPC diff --git a/NPCs/Leviathan/AquaticAberration.cs b/NPCs/Leviathan/AquaticAberration.cs index 77aac3af28..0780c7d6ac 100644 --- a/NPCs/Leviathan/AquaticAberration.cs +++ b/NPCs/Leviathan/AquaticAberration.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class AquaticAberration : ModNPC { diff --git a/NPCs/Leviathan/LevScreenShaderData.cs b/NPCs/Leviathan/LevScreenShaderData.cs index e38103c235..847dace39a 100644 --- a/NPCs/Leviathan/LevScreenShaderData.cs +++ b/NPCs/Leviathan/LevScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class LevScreenShaderData : ScreenShaderData { diff --git a/NPCs/Leviathan/LevSky.cs b/NPCs/Leviathan/LevSky.cs index df9780930b..3e948961fc 100644 --- a/NPCs/Leviathan/LevSky.cs +++ b/NPCs/Leviathan/LevSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class LevSky : CustomSky { diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 2909af8152..850f99808f 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -21,7 +21,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { [AutoloadBossHead] public class Leviathan : ModNPC diff --git a/NPCs/Leviathan/LeviathanStart.cs b/NPCs/Leviathan/LeviathanStart.cs index 361d435a72..7c6bd76c64 100644 --- a/NPCs/Leviathan/LeviathanStart.cs +++ b/NPCs/Leviathan/LeviathanStart.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Accessories; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class LeviathanStart : ModNPC { diff --git a/NPCs/Leviathan/Parasea.cs b/NPCs/Leviathan/Parasea.cs index b89c20118b..795c3f5e0e 100644 --- a/NPCs/Leviathan/Parasea.cs +++ b/NPCs/Leviathan/Parasea.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class Parasea : ModNPC { diff --git a/NPCs/Leviathan/Siren.cs b/NPCs/Leviathan/Siren.cs index a962828c74..b8b01b7e60 100644 --- a/NPCs/Leviathan/Siren.cs +++ b/NPCs/Leviathan/Siren.cs @@ -10,7 +10,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.TreasureBags; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { [AutoloadBossHead] public class Siren : ModNPC diff --git a/NPCs/Leviathan/SirenClone.cs b/NPCs/Leviathan/SirenClone.cs index 8faac1a413..94642c1eb4 100644 --- a/NPCs/Leviathan/SirenClone.cs +++ b/NPCs/Leviathan/SirenClone.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class SirenClone : ModNPC { diff --git a/NPCs/Leviathan/SirenIce.cs b/NPCs/Leviathan/SirenIce.cs index bda2dd2961..d3a89f5d15 100644 --- a/NPCs/Leviathan/SirenIce.cs +++ b/NPCs/Leviathan/SirenIce.cs @@ -5,7 +5,7 @@ using Terraria.ID; using Terraria.ModLoader; using CalamityMod.Projectiles.Ranged; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Leviathan { public class SirenIce : ModNPC { diff --git a/NPCs/NormalNPCs/AeroSlime.cs b/NPCs/NormalNPCs/AeroSlime.cs index 8ab0547a90..668d1b3960 100644 --- a/NPCs/NormalNPCs/AeroSlime.cs +++ b/NPCs/NormalNPCs/AeroSlime.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class AeroSlime : ModNPC { diff --git a/NPCs/NormalNPCs/AngryDog.cs b/NPCs/NormalNPCs/AngryDog.cs index a21e1f63f2..da48219b4c 100644 --- a/NPCs/NormalNPCs/AngryDog.cs +++ b/NPCs/NormalNPCs/AngryDog.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Magic; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class AngryDog : ModNPC { diff --git a/NPCs/NormalNPCs/ArmoredDiggerBody.cs b/NPCs/NormalNPCs/ArmoredDiggerBody.cs index 497d4d1d35..9106b377c4 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerBody.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerBody.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ArmoredDiggerBody : ModNPC { diff --git a/NPCs/NormalNPCs/ArmoredDiggerHead.cs b/NPCs/NormalNPCs/ArmoredDiggerHead.cs index 53fc32ce76..60704e34b6 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerHead.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerHead.cs @@ -7,7 +7,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.SummonItems; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ArmoredDiggerHead : ModNPC { diff --git a/NPCs/NormalNPCs/ArmoredDiggerTail.cs b/NPCs/NormalNPCs/ArmoredDiggerTail.cs index c49ce94295..239d0bb388 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerTail.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerTail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ArmoredDiggerTail : ModNPC { diff --git a/NPCs/NormalNPCs/BlightedEye.cs b/NPCs/NormalNPCs/BlightedEye.cs index ef9ea87f1c..e953ff5b9f 100644 --- a/NPCs/NormalNPCs/BlightedEye.cs +++ b/NPCs/NormalNPCs/BlightedEye.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class BlightedEye : ModNPC { diff --git a/NPCs/NormalNPCs/BloomSlime.cs b/NPCs/NormalNPCs/BloomSlime.cs index 13765c13e3..867658ab8c 100644 --- a/NPCs/NormalNPCs/BloomSlime.cs +++ b/NPCs/NormalNPCs/BloomSlime.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class BloomSlime : ModNPC { diff --git a/NPCs/NormalNPCs/Bohldohr.cs b/NPCs/NormalNPCs/Bohldohr.cs index 45997c1ea7..48a7211da1 100644 --- a/NPCs/NormalNPCs/Bohldohr.cs +++ b/NPCs/NormalNPCs/Bohldohr.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Bohldohr : ModNPC { diff --git a/NPCs/NormalNPCs/CalamityEye.cs b/NPCs/NormalNPCs/CalamityEye.cs index 40a71e22f2..9827c30475 100644 --- a/NPCs/NormalNPCs/CalamityEye.cs +++ b/NPCs/NormalNPCs/CalamityEye.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CalamityEye : ModNPC { diff --git a/NPCs/NormalNPCs/CharredSlime.cs b/NPCs/NormalNPCs/CharredSlime.cs index 1dc4d74cfd..c9155250cf 100644 --- a/NPCs/NormalNPCs/CharredSlime.cs +++ b/NPCs/NormalNPCs/CharredSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CharredSlime : ModNPC { diff --git a/NPCs/NormalNPCs/Cnidrion.cs b/NPCs/NormalNPCs/Cnidrion.cs index 26a061ce66..8d7778874e 100644 --- a/NPCs/NormalNPCs/Cnidrion.cs +++ b/NPCs/NormalNPCs/Cnidrion.cs @@ -7,7 +7,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Projectiles.Enemy; using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Cnidrion : ModNPC { diff --git a/NPCs/NormalNPCs/CosmicElemental.cs b/NPCs/NormalNPCs/CosmicElemental.cs index c727278e45..90da6283c4 100644 --- a/NPCs/NormalNPCs/CosmicElemental.cs +++ b/NPCs/NormalNPCs/CosmicElemental.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CosmicElemental : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerAmber.cs b/NPCs/NormalNPCs/CrawlerAmber.cs index f028b60cfa..f58907dd07 100644 --- a/NPCs/NormalNPCs/CrawlerAmber.cs +++ b/NPCs/NormalNPCs/CrawlerAmber.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerAmber : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerAmethyst.cs b/NPCs/NormalNPCs/CrawlerAmethyst.cs index 90095ff765..46a87da827 100644 --- a/NPCs/NormalNPCs/CrawlerAmethyst.cs +++ b/NPCs/NormalNPCs/CrawlerAmethyst.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerAmethyst : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerCrystal.cs b/NPCs/NormalNPCs/CrawlerCrystal.cs index 96136dd8b1..870f6ad5ba 100644 --- a/NPCs/NormalNPCs/CrawlerCrystal.cs +++ b/NPCs/NormalNPCs/CrawlerCrystal.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Melee; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerCrystal : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerDiamond.cs b/NPCs/NormalNPCs/CrawlerDiamond.cs index b8013280f1..86063af084 100644 --- a/NPCs/NormalNPCs/CrawlerDiamond.cs +++ b/NPCs/NormalNPCs/CrawlerDiamond.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerDiamond : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerEmerald.cs b/NPCs/NormalNPCs/CrawlerEmerald.cs index b67a361ed8..52c79b40ad 100644 --- a/NPCs/NormalNPCs/CrawlerEmerald.cs +++ b/NPCs/NormalNPCs/CrawlerEmerald.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerEmerald : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerRuby.cs b/NPCs/NormalNPCs/CrawlerRuby.cs index d017335919..f69a665df2 100644 --- a/NPCs/NormalNPCs/CrawlerRuby.cs +++ b/NPCs/NormalNPCs/CrawlerRuby.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerRuby : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerSapphire.cs b/NPCs/NormalNPCs/CrawlerSapphire.cs index 6364937ab7..272eada961 100644 --- a/NPCs/NormalNPCs/CrawlerSapphire.cs +++ b/NPCs/NormalNPCs/CrawlerSapphire.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerSapphire : ModNPC { diff --git a/NPCs/NormalNPCs/CrawlerTopaz.cs b/NPCs/NormalNPCs/CrawlerTopaz.cs index 2f5025f70f..6c9fb9ad35 100644 --- a/NPCs/NormalNPCs/CrawlerTopaz.cs +++ b/NPCs/NormalNPCs/CrawlerTopaz.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrawlerTopaz : ModNPC { diff --git a/NPCs/NormalNPCs/CrimulanBlightSlime.cs b/NPCs/NormalNPCs/CrimulanBlightSlime.cs index 7b88374406..118bfb6f9e 100644 --- a/NPCs/NormalNPCs/CrimulanBlightSlime.cs +++ b/NPCs/NormalNPCs/CrimulanBlightSlime.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CrimulanBlightSlime : ModNPC { diff --git a/NPCs/NormalNPCs/CryoSlime.cs b/NPCs/NormalNPCs/CryoSlime.cs index 920f2fbb27..f0023012fe 100644 --- a/NPCs/NormalNPCs/CryoSlime.cs +++ b/NPCs/NormalNPCs/CryoSlime.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class CryoSlime : ModNPC { diff --git a/NPCs/NormalNPCs/Cryon.cs b/NPCs/NormalNPCs/Cryon.cs index 2a1e90a438..67cbbd8476 100644 --- a/NPCs/NormalNPCs/Cryon.cs +++ b/NPCs/NormalNPCs/Cryon.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Cryon : ModNPC { diff --git a/NPCs/NormalNPCs/EbonianBlightSlime.cs b/NPCs/NormalNPCs/EbonianBlightSlime.cs index 0b06e3b8b6..5e221ba1e5 100644 --- a/NPCs/NormalNPCs/EbonianBlightSlime.cs +++ b/NPCs/NormalNPCs/EbonianBlightSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class EbonianBlightSlime : ModNPC { diff --git a/NPCs/NormalNPCs/Eidolist.cs b/NPCs/NormalNPCs/Eidolist.cs index 2c21dd8dbe..651726658e 100644 --- a/NPCs/NormalNPCs/Eidolist.cs +++ b/NPCs/NormalNPCs/Eidolist.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Items.SummonItems; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Eidolist : ModNPC { diff --git a/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs b/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs index 0ac346efdc..d49b910238 100644 --- a/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs +++ b/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class FearlessGoldfishWarrior : ModNPC { diff --git a/NPCs/NormalNPCs/HeatSpirit.cs b/NPCs/NormalNPCs/HeatSpirit.cs index 31d358a678..5f02ab747c 100644 --- a/NPCs/NormalNPCs/HeatSpirit.cs +++ b/NPCs/NormalNPCs/HeatSpirit.cs @@ -5,7 +5,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class HeatSpirit : ModNPC { diff --git a/NPCs/NormalNPCs/Horse.cs b/NPCs/NormalNPCs/Horse.cs index 567b29421d..720143d299 100644 --- a/NPCs/NormalNPCs/Horse.cs +++ b/NPCs/NormalNPCs/Horse.cs @@ -9,7 +9,7 @@ using CalamityMod.Items.Tools.ClimateChange; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Projectiles.Enemy; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Horse : ModNPC { diff --git a/NPCs/NormalNPCs/IceClasper.cs b/NPCs/NormalNPCs/IceClasper.cs index 1e0341bdd4..ff6860aaed 100644 --- a/NPCs/NormalNPCs/IceClasper.cs +++ b/NPCs/NormalNPCs/IceClasper.cs @@ -9,7 +9,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Items.Accessories; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class IceClasper : ModNPC { diff --git a/NPCs/NormalNPCs/ImpiousImmolator.cs b/NPCs/NormalNPCs/ImpiousImmolator.cs index 768f2daad4..d03bf386cd 100644 --- a/NPCs/NormalNPCs/ImpiousImmolator.cs +++ b/NPCs/NormalNPCs/ImpiousImmolator.cs @@ -8,7 +8,7 @@ using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Projectiles.Enemy; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ImpiousImmolator : ModNPC { diff --git a/NPCs/NormalNPCs/IrradiatedSlime.cs b/NPCs/NormalNPCs/IrradiatedSlime.cs index 8e4d69fd42..702ff0dd22 100644 --- a/NPCs/NormalNPCs/IrradiatedSlime.cs +++ b/NPCs/NormalNPCs/IrradiatedSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Accessories; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class IrradiatedSlime : ModNPC { diff --git a/NPCs/NormalNPCs/KingSlimeJewel.cs b/NPCs/NormalNPCs/KingSlimeJewel.cs index b3a3fec9e1..dbb5ffe1c9 100644 --- a/NPCs/NormalNPCs/KingSlimeJewel.cs +++ b/NPCs/NormalNPCs/KingSlimeJewel.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class KingSlimeJewel : ModNPC { diff --git a/NPCs/NormalNPCs/OverloadedSoldier.cs b/NPCs/NormalNPCs/OverloadedSoldier.cs index 274f200a31..3334f6e8e4 100644 --- a/NPCs/NormalNPCs/OverloadedSoldier.cs +++ b/NPCs/NormalNPCs/OverloadedSoldier.cs @@ -5,7 +5,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class OverloadedSoldier : ModNPC { diff --git a/NPCs/NormalNPCs/PerennialSlime.cs b/NPCs/NormalNPCs/PerennialSlime.cs index a8273787ee..222ec176a4 100644 --- a/NPCs/NormalNPCs/PerennialSlime.cs +++ b/NPCs/NormalNPCs/PerennialSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PerennialSlime : ModNPC { diff --git a/NPCs/NormalNPCs/PhantomDebris.cs b/NPCs/NormalNPCs/PhantomDebris.cs index f4b031fc7e..52e531bf11 100644 --- a/NPCs/NormalNPCs/PhantomDebris.cs +++ b/NPCs/NormalNPCs/PhantomDebris.cs @@ -5,7 +5,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PhantomDebris : ModNPC { diff --git a/NPCs/NormalNPCs/PhantomSpirit.cs b/NPCs/NormalNPCs/PhantomSpirit.cs index 2e3f7e6cee..ace6e2cdcc 100644 --- a/NPCs/NormalNPCs/PhantomSpirit.cs +++ b/NPCs/NormalNPCs/PhantomSpirit.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PhantomSpirit : ModNPC { diff --git a/NPCs/NormalNPCs/PhantomSpiritL.cs b/NPCs/NormalNPCs/PhantomSpiritL.cs index f9f67ea55e..159cca6098 100644 --- a/NPCs/NormalNPCs/PhantomSpiritL.cs +++ b/NPCs/NormalNPCs/PhantomSpiritL.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PhantomSpiritL : ModNPC { diff --git a/NPCs/NormalNPCs/PhantomSpiritM.cs b/NPCs/NormalNPCs/PhantomSpiritM.cs index fd351025fd..a4b7dee698 100644 --- a/NPCs/NormalNPCs/PhantomSpiritM.cs +++ b/NPCs/NormalNPCs/PhantomSpiritM.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PhantomSpiritM : ModNPC { diff --git a/NPCs/NormalNPCs/PhantomSpiritS.cs b/NPCs/NormalNPCs/PhantomSpiritS.cs index 68803cd566..b8382806cc 100644 --- a/NPCs/NormalNPCs/PhantomSpiritS.cs +++ b/NPCs/NormalNPCs/PhantomSpiritS.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PhantomSpiritS : ModNPC { diff --git a/NPCs/NormalNPCs/Piggy.cs b/NPCs/NormalNPCs/Piggy.cs index 22ae91776c..315fc1d398 100644 --- a/NPCs/NormalNPCs/Piggy.cs +++ b/NPCs/NormalNPCs/Piggy.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Piggy : ModNPC { diff --git a/NPCs/NormalNPCs/Pitbull.cs b/NPCs/NormalNPCs/Pitbull.cs index 03df94fbd9..140f7b80cc 100644 --- a/NPCs/NormalNPCs/Pitbull.cs +++ b/NPCs/NormalNPCs/Pitbull.cs @@ -2,7 +2,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Pitbull : ModNPC { diff --git a/NPCs/NormalNPCs/PlagueBee.cs b/NPCs/NormalNPCs/PlagueBee.cs index 7e9e888bcd..cc2cb206e7 100644 --- a/NPCs/NormalNPCs/PlagueBee.cs +++ b/NPCs/NormalNPCs/PlagueBee.cs @@ -5,7 +5,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlagueBee : ModNPC { diff --git a/NPCs/NormalNPCs/PlagueBeeLarge.cs b/NPCs/NormalNPCs/PlagueBeeLarge.cs index e66aaab685..e87ee81bc3 100644 --- a/NPCs/NormalNPCs/PlagueBeeLarge.cs +++ b/NPCs/NormalNPCs/PlagueBeeLarge.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlagueBeeLarge : ModNPC { diff --git a/NPCs/NormalNPCs/PlaguedDerpling.cs b/NPCs/NormalNPCs/PlaguedDerpling.cs index 1a52317995..0826c3fd7c 100644 --- a/NPCs/NormalNPCs/PlaguedDerpling.cs +++ b/NPCs/NormalNPCs/PlaguedDerpling.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlaguedDerpling : ModNPC { diff --git a/NPCs/NormalNPCs/PlaguedFlyingFox.cs b/NPCs/NormalNPCs/PlaguedFlyingFox.cs index 763684998a..4650e8e4f2 100644 --- a/NPCs/NormalNPCs/PlaguedFlyingFox.cs +++ b/NPCs/NormalNPCs/PlaguedFlyingFox.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlaguedFlyingFox : ModNPC { diff --git a/NPCs/NormalNPCs/PlaguedJungleSlime.cs b/NPCs/NormalNPCs/PlaguedJungleSlime.cs index a8660828d5..268de8c226 100644 --- a/NPCs/NormalNPCs/PlaguedJungleSlime.cs +++ b/NPCs/NormalNPCs/PlaguedJungleSlime.cs @@ -7,7 +7,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlaguedJungleSlime : ModNPC { diff --git a/NPCs/NormalNPCs/PlaguedTortoise.cs b/NPCs/NormalNPCs/PlaguedTortoise.cs index 728d698230..bc812412f7 100644 --- a/NPCs/NormalNPCs/PlaguedTortoise.cs +++ b/NPCs/NormalNPCs/PlaguedTortoise.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class PlaguedTortoise : ModNPC { diff --git a/NPCs/NormalNPCs/ProfanedEnergyBody.cs b/NPCs/NormalNPCs/ProfanedEnergyBody.cs index 621a25e349..f5429e9967 100644 --- a/NPCs/NormalNPCs/ProfanedEnergyBody.cs +++ b/NPCs/NormalNPCs/ProfanedEnergyBody.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ProfanedEnergyBody : ModNPC { diff --git a/NPCs/NormalNPCs/ProfanedEnergyLantern.cs b/NPCs/NormalNPCs/ProfanedEnergyLantern.cs index 6adefd6655..13eca664ca 100644 --- a/NPCs/NormalNPCs/ProfanedEnergyLantern.cs +++ b/NPCs/NormalNPCs/ProfanedEnergyLantern.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ProfanedEnergyLantern : ModNPC { diff --git a/NPCs/NormalNPCs/SandTortoise.cs b/NPCs/NormalNPCs/SandTortoise.cs index 53ccf09545..d174a6e013 100644 --- a/NPCs/NormalNPCs/SandTortoise.cs +++ b/NPCs/NormalNPCs/SandTortoise.cs @@ -2,7 +2,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class SandTortoise : ModNPC { diff --git a/NPCs/NormalNPCs/ScornEater.cs b/NPCs/NormalNPCs/ScornEater.cs index a52aa5ddad..3ef33f6ff3 100644 --- a/NPCs/NormalNPCs/ScornEater.cs +++ b/NPCs/NormalNPCs/ScornEater.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ScornEater : ModNPC { diff --git a/NPCs/NormalNPCs/ShockstormShuttle.cs b/NPCs/NormalNPCs/ShockstormShuttle.cs index 3fc52c9c23..a1daa535c2 100644 --- a/NPCs/NormalNPCs/ShockstormShuttle.cs +++ b/NPCs/NormalNPCs/ShockstormShuttle.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ShockstormShuttle : ModNPC { diff --git a/NPCs/NormalNPCs/StormlionCharger.cs b/NPCs/NormalNPCs/StormlionCharger.cs index 027d972ece..9983a0cdf1 100644 --- a/NPCs/NormalNPCs/StormlionCharger.cs +++ b/NPCs/NormalNPCs/StormlionCharger.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class StormlionCharger : ModNPC { diff --git a/NPCs/NormalNPCs/SunBat.cs b/NPCs/NormalNPCs/SunBat.cs index 739ddd1c9b..305a235c99 100644 --- a/NPCs/NormalNPCs/SunBat.cs +++ b/NPCs/NormalNPCs/SunBat.cs @@ -4,7 +4,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class SunBat : ModNPC { diff --git a/NPCs/NormalNPCs/Sunskater.cs b/NPCs/NormalNPCs/Sunskater.cs index f2817097a2..4730371750 100644 --- a/NPCs/NormalNPCs/Sunskater.cs +++ b/NPCs/NormalNPCs/Sunskater.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class Sunskater : ModNPC { diff --git a/NPCs/NormalNPCs/SuperDummy.cs b/NPCs/NormalNPCs/SuperDummy.cs index acf19bc1cc..bca28179fa 100644 --- a/NPCs/NormalNPCs/SuperDummy.cs +++ b/NPCs/NormalNPCs/SuperDummy.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class SuperDummy : ModNPC { diff --git a/NPCs/NormalNPCs/ThiccWaifu.cs b/NPCs/NormalNPCs/ThiccWaifu.cs index 03066d5d0f..919d1b092b 100644 --- a/NPCs/NormalNPCs/ThiccWaifu.cs +++ b/NPCs/NormalNPCs/ThiccWaifu.cs @@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Enemy; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class ThiccWaifu : ModNPC { diff --git a/NPCs/NormalNPCs/WulfrumDrone.cs b/NPCs/NormalNPCs/WulfrumDrone.cs index d842e3b085..090b36ce07 100644 --- a/NPCs/NormalNPCs/WulfrumDrone.cs +++ b/NPCs/NormalNPCs/WulfrumDrone.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class WulfrumDrone : ModNPC { diff --git a/NPCs/NormalNPCs/WulfrumSlime.cs b/NPCs/NormalNPCs/WulfrumSlime.cs index d3122c7bec..24a90dc808 100644 --- a/NPCs/NormalNPCs/WulfrumSlime.cs +++ b/NPCs/NormalNPCs/WulfrumSlime.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.NormalNPCs { public class WulfrumSlime : ModNPC { diff --git a/NPCs/Perforator/PerforatorBodyLarge.cs b/NPCs/Perforator/PerforatorBodyLarge.cs index 6da5f2dd74..b2c0f4e29a 100644 --- a/NPCs/Perforator/PerforatorBodyLarge.cs +++ b/NPCs/Perforator/PerforatorBodyLarge.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorBodyLarge : ModNPC { diff --git a/NPCs/Perforator/PerforatorBodyMedium.cs b/NPCs/Perforator/PerforatorBodyMedium.cs index 3767ade64d..9038875feb 100644 --- a/NPCs/Perforator/PerforatorBodyMedium.cs +++ b/NPCs/Perforator/PerforatorBodyMedium.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorBodyMedium : ModNPC { diff --git a/NPCs/Perforator/PerforatorBodySmall.cs b/NPCs/Perforator/PerforatorBodySmall.cs index 8fe7c52988..c5cfe6a1da 100644 --- a/NPCs/Perforator/PerforatorBodySmall.cs +++ b/NPCs/Perforator/PerforatorBodySmall.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorBodySmall : ModNPC { diff --git a/NPCs/Perforator/PerforatorCyst.cs b/NPCs/Perforator/PerforatorCyst.cs index 5ed8e6f8e8..c50c6398ce 100644 --- a/NPCs/Perforator/PerforatorCyst.cs +++ b/NPCs/Perforator/PerforatorCyst.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorCyst : ModNPC { diff --git a/NPCs/Perforator/PerforatorHeadLarge.cs b/NPCs/Perforator/PerforatorHeadLarge.cs index 3e243ad6fa..c791af8e33 100644 --- a/NPCs/Perforator/PerforatorHeadLarge.cs +++ b/NPCs/Perforator/PerforatorHeadLarge.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { [AutoloadBossHead] public class PerforatorHeadLarge : ModNPC diff --git a/NPCs/Perforator/PerforatorHeadMedium.cs b/NPCs/Perforator/PerforatorHeadMedium.cs index 53b3023622..8c39d26cb1 100644 --- a/NPCs/Perforator/PerforatorHeadMedium.cs +++ b/NPCs/Perforator/PerforatorHeadMedium.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { [AutoloadBossHead] public class PerforatorHeadMedium : ModNPC diff --git a/NPCs/Perforator/PerforatorHeadSmall.cs b/NPCs/Perforator/PerforatorHeadSmall.cs index 32758aa776..05e50fa87d 100644 --- a/NPCs/Perforator/PerforatorHeadSmall.cs +++ b/NPCs/Perforator/PerforatorHeadSmall.cs @@ -6,7 +6,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { [AutoloadBossHead] public class PerforatorHeadSmall : ModNPC diff --git a/NPCs/Perforator/PerforatorHive.cs b/NPCs/Perforator/PerforatorHive.cs index 2c23218186..006d207b5a 100644 --- a/NPCs/Perforator/PerforatorHive.cs +++ b/NPCs/Perforator/PerforatorHive.cs @@ -22,7 +22,7 @@ using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Pets; using CalamityMod.Projectiles.Boss; using CalamityMod.Tiles.Ores; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { [AutoloadBossHead] public class PerforatorHive : ModNPC diff --git a/NPCs/Perforator/PerforatorTailLarge.cs b/NPCs/Perforator/PerforatorTailLarge.cs index 18945f695d..2c68cb543a 100644 --- a/NPCs/Perforator/PerforatorTailLarge.cs +++ b/NPCs/Perforator/PerforatorTailLarge.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorTailLarge : ModNPC { diff --git a/NPCs/Perforator/PerforatorTailMedium.cs b/NPCs/Perforator/PerforatorTailMedium.cs index a9dfce4ac2..e35934aa57 100644 --- a/NPCs/Perforator/PerforatorTailMedium.cs +++ b/NPCs/Perforator/PerforatorTailMedium.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorTailMedium : ModNPC { diff --git a/NPCs/Perforator/PerforatorTailSmall.cs b/NPCs/Perforator/PerforatorTailSmall.cs index d6637460fa..6cf00dd62c 100644 --- a/NPCs/Perforator/PerforatorTailSmall.cs +++ b/NPCs/Perforator/PerforatorTailSmall.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Perforator { public class PerforatorTailSmall : ModNPC { diff --git a/NPCs/PlaguebringerGoliath/PbGScreenShaderData.cs b/NPCs/PlaguebringerGoliath/PbGScreenShaderData.cs index 2865a729e1..078687057c 100644 --- a/NPCs/PlaguebringerGoliath/PbGScreenShaderData.cs +++ b/NPCs/PlaguebringerGoliath/PbGScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PbGScreenShaderData : ScreenShaderData { diff --git a/NPCs/PlaguebringerGoliath/PbGSky.cs b/NPCs/PlaguebringerGoliath/PbGSky.cs index 11ad205c02..6fa2931c76 100644 --- a/NPCs/PlaguebringerGoliath/PbGSky.cs +++ b/NPCs/PlaguebringerGoliath/PbGSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PbGSky : CustomSky { diff --git a/NPCs/PlaguebringerGoliath/PlagueBeeG.cs b/NPCs/PlaguebringerGoliath/PlagueBeeG.cs index 73d03b5692..5a9fe8cca4 100644 --- a/NPCs/PlaguebringerGoliath/PlagueBeeG.cs +++ b/NPCs/PlaguebringerGoliath/PlagueBeeG.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PlagueBeeG : ModNPC { diff --git a/NPCs/PlaguebringerGoliath/PlagueBeeLargeG.cs b/NPCs/PlaguebringerGoliath/PlagueBeeLargeG.cs index 9078135a8f..5c1c03a73d 100644 --- a/NPCs/PlaguebringerGoliath/PlagueBeeLargeG.cs +++ b/NPCs/PlaguebringerGoliath/PlagueBeeLargeG.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PlagueBeeLargeG : ModNPC { diff --git a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs index 94df416429..12e825f5db 100644 --- a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs +++ b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PlagueHomingMissile : ModNPC { diff --git a/NPCs/PlaguebringerGoliath/PlagueMine.cs b/NPCs/PlaguebringerGoliath/PlagueMine.cs index 06c45b762a..a2571db2b3 100644 --- a/NPCs/PlaguebringerGoliath/PlagueMine.cs +++ b/NPCs/PlaguebringerGoliath/PlagueMine.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PlagueMine : ModNPC { diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index 65d263ab7e..ce87f1f9ae 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -21,7 +21,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { [AutoloadBossHead] public class PlaguebringerGoliath : ModNPC diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerShade.cs b/NPCs/PlaguebringerGoliath/PlaguebringerShade.cs index cde37b0355..637c5136f3 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerShade.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerShade.cs @@ -9,7 +9,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.PlaguebringerGoliath { public class PlaguebringerShade : ModNPC { diff --git a/NPCs/Polterghast/PhantomFuckYou.cs b/NPCs/Polterghast/PhantomFuckYou.cs index d9aa84445e..3c79875ae0 100644 --- a/NPCs/Polterghast/PhantomFuckYou.cs +++ b/NPCs/Polterghast/PhantomFuckYou.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Polterghast { public class PhantomFuckYou : ModNPC { diff --git a/NPCs/Polterghast/PolterPhantom.cs b/NPCs/Polterghast/PolterPhantom.cs index 1a30a99e14..1b80c0b404 100644 --- a/NPCs/Polterghast/PolterPhantom.cs +++ b/NPCs/Polterghast/PolterPhantom.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Polterghast { public class PolterPhantom : ModNPC { diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index 8cf45c5c34..7a69c07771 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -20,7 +20,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Polterghast { [AutoloadBossHead] public class Polterghast : ModNPC diff --git a/NPCs/Polterghast/PolterghastHook.cs b/NPCs/Polterghast/PolterghastHook.cs index 5231f8b61f..056f5cf7e2 100644 --- a/NPCs/Polterghast/PolterghastHook.cs +++ b/NPCs/Polterghast/PolterghastHook.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Polterghast { public class PolterghastHook : ModNPC { diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs similarity index 99% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss.cs rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs index 78e2ba9d8f..9b44aeb24b 100644 --- a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs @@ -11,7 +11,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.LoreItems; using CalamityMod.Items.SummonItems; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.ProfanedGuardians { [AutoloadBossHead] public class ProfanedGuardianBoss : ModNPC diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss.png diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs similarity index 99% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2.cs rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs index 3b9ce244b5..deab1da0c1 100644 --- a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.ProfanedGuardians { [AutoloadBossHead] public class ProfanedGuardianBoss2 : ModNPC diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss2.png diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2_Head_Boss.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2_Head_Boss.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss2_Head_Boss.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss2_Head_Boss.png diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs similarity index 99% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3.cs rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs index baf35615e2..ebd0f8164c 100644 --- a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.ProfanedGuardians { [AutoloadBossHead] public class ProfanedGuardianBoss3 : ModNPC diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss3.png diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3_Head_Boss.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3_Head_Boss.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss3_Head_Boss.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss3_Head_Boss.png diff --git a/NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss_Head_Boss.png b/NPCs/ProfanedGuardians/ProfanedGuardianBoss_Head_Boss.png similarity index 100% rename from NPCs/ProfanedGuardianBoss/ProfanedGuardianBoss_Head_Boss.png rename to NPCs/ProfanedGuardians/ProfanedGuardianBoss_Head_Boss.png diff --git a/NPCs/Providence/ProvScreenShaderData.cs b/NPCs/Providence/ProvScreenShaderData.cs index 6c5799252c..6009123e13 100644 --- a/NPCs/Providence/ProvScreenShaderData.cs +++ b/NPCs/Providence/ProvScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { public class ProvScreenShaderData : ScreenShaderData { diff --git a/NPCs/Providence/ProvSky.cs b/NPCs/Providence/ProvSky.cs index 26eac7a636..0a2cb748c2 100644 --- a/NPCs/Providence/ProvSky.cs +++ b/NPCs/Providence/ProvSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { public class ProvSky : CustomSky { diff --git a/NPCs/Providence/ProvSpawnDefense.cs b/NPCs/Providence/ProvSpawnDefense.cs index 687e529e1a..6116a6a888 100644 --- a/NPCs/Providence/ProvSpawnDefense.cs +++ b/NPCs/Providence/ProvSpawnDefense.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { public class ProvSpawnDefense : ModNPC { diff --git a/NPCs/Providence/ProvSpawnHealer.cs b/NPCs/Providence/ProvSpawnHealer.cs index 45dad5c0bd..9f1e82dbe4 100644 --- a/NPCs/Providence/ProvSpawnHealer.cs +++ b/NPCs/Providence/ProvSpawnHealer.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { public class ProvSpawnHealer : ModNPC { diff --git a/NPCs/Providence/ProvSpawnOffense.cs b/NPCs/Providence/ProvSpawnOffense.cs index 0e9febf756..09bba7ba5f 100644 --- a/NPCs/Providence/ProvSpawnOffense.cs +++ b/NPCs/Providence/ProvSpawnOffense.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { public class ProvSpawnOffense : ModNPC { diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 307c4339e0..9783a2a8b3 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -25,7 +25,7 @@ using CalamityMod.Items.SummonItems; using CalamityMod.Tiles.Ores; using CalamityMod.Tiles.FurnitureProfaned; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Providence { [AutoloadBossHead] public class Providence : ModNPC diff --git a/NPCs/Ravager/FlamePillar.cs b/NPCs/Ravager/FlamePillar.cs index 5146fc87f9..2a0449bc42 100644 --- a/NPCs/Ravager/FlamePillar.cs +++ b/NPCs/Ravager/FlamePillar.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class FlamePillar : ModNPC { diff --git a/NPCs/Ravager/RavagerBody.cs b/NPCs/Ravager/RavagerBody.cs index bb8f6290b9..c1f5e34bdc 100644 --- a/NPCs/Ravager/RavagerBody.cs +++ b/NPCs/Ravager/RavagerBody.cs @@ -20,7 +20,7 @@ using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { [AutoloadBossHead] public class RavagerBody : ModNPC diff --git a/NPCs/Ravager/RavagerClawLeft.cs b/NPCs/Ravager/RavagerClawLeft.cs index fb795f58a5..a6116d6104 100644 --- a/NPCs/Ravager/RavagerClawLeft.cs +++ b/NPCs/Ravager/RavagerClawLeft.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerClawLeft : ModNPC { diff --git a/NPCs/Ravager/RavagerClawRight.cs b/NPCs/Ravager/RavagerClawRight.cs index db67913a4b..e031ca4551 100644 --- a/NPCs/Ravager/RavagerClawRight.cs +++ b/NPCs/Ravager/RavagerClawRight.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerClawRight : ModNPC { diff --git a/NPCs/Ravager/RavagerHead.cs b/NPCs/Ravager/RavagerHead.cs index 9804bf70a7..596aadaa9f 100644 --- a/NPCs/Ravager/RavagerHead.cs +++ b/NPCs/Ravager/RavagerHead.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerHead : ModNPC { diff --git a/NPCs/Ravager/RavagerHead2.cs b/NPCs/Ravager/RavagerHead2.cs index 2b7ac02d37..774ab53603 100644 --- a/NPCs/Ravager/RavagerHead2.cs +++ b/NPCs/Ravager/RavagerHead2.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerHead2 : ModNPC { diff --git a/NPCs/Ravager/RavagerLegLeft.cs b/NPCs/Ravager/RavagerLegLeft.cs index 4489d35bdb..160b295f6c 100644 --- a/NPCs/Ravager/RavagerLegLeft.cs +++ b/NPCs/Ravager/RavagerLegLeft.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerLegLeft : ModNPC { diff --git a/NPCs/Ravager/RavagerLegRight.cs b/NPCs/Ravager/RavagerLegRight.cs index 91de3e8366..58e4c473cc 100644 --- a/NPCs/Ravager/RavagerLegRight.cs +++ b/NPCs/Ravager/RavagerLegRight.cs @@ -7,7 +7,7 @@ using Terraria.ID; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RavagerLegRight : ModNPC { diff --git a/NPCs/Ravager/RockPillar.cs b/NPCs/Ravager/RockPillar.cs index b5a3c66cae..afda57fad8 100644 --- a/NPCs/Ravager/RockPillar.cs +++ b/NPCs/Ravager/RockPillar.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Ravager { public class RockPillar : ModNPC { diff --git a/NPCs/CosmicWraith/CosmicLantern.cs b/NPCs/Signus/CosmicLantern.cs similarity index 99% rename from NPCs/CosmicWraith/CosmicLantern.cs rename to NPCs/Signus/CosmicLantern.cs index 67a2333f4f..c7eb6ce328 100644 --- a/NPCs/CosmicWraith/CosmicLantern.cs +++ b/NPCs/Signus/CosmicLantern.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Signus { public class CosmicLantern : ModNPC { diff --git a/NPCs/CosmicWraith/CosmicLantern.png b/NPCs/Signus/CosmicLantern.png similarity index 100% rename from NPCs/CosmicWraith/CosmicLantern.png rename to NPCs/Signus/CosmicLantern.png diff --git a/NPCs/CosmicWraith/CosmicWraith.cs b/NPCs/Signus/Signus.cs similarity index 99% rename from NPCs/CosmicWraith/CosmicWraith.cs rename to NPCs/Signus/Signus.cs index 93b3ed4ae4..e93efe72a9 100644 --- a/NPCs/CosmicWraith/CosmicWraith.cs +++ b/NPCs/Signus/Signus.cs @@ -15,10 +15,10 @@ using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Signus { [AutoloadBossHead] - public class CosmicWraith : ModNPC + public class Signus : ModNPC { private int phaseSwitch = 0; private int chargeSwitch = 0; @@ -680,7 +680,7 @@ namespace CalamityMod.NPCs float offsetY = npc.gfxOffY; if (npc.ai[0] == 4f) { - NPCTexture = ModContent.GetTexture("CalamityMod/NPCs/CosmicWraith/CosmicWraithAlt2"); + NPCTexture = ModContent.GetTexture("CalamityMod/NPCs/Signus/SignusAlt2"); int height = 564; int width = 176; Vector2 vector = new Vector2((float)(width / 2), (float)(height / frameCount / 2)); @@ -704,7 +704,7 @@ namespace CalamityMod.NPCs } else if (npc.ai[0] == 3f) { - NPCTexture = ModContent.GetTexture("CalamityMod/NPCs/CosmicWraith/CosmicWraithAlt"); + NPCTexture = ModContent.GetTexture("CalamityMod/NPCs/Signus/SignusAlt"); } else { diff --git a/NPCs/CosmicWraith/CosmicWraith.png b/NPCs/Signus/Signus.png similarity index 100% rename from NPCs/CosmicWraith/CosmicWraith.png rename to NPCs/Signus/Signus.png diff --git a/NPCs/CosmicWraith/CosmicWraithAlt.png b/NPCs/Signus/SignusAlt.png similarity index 100% rename from NPCs/CosmicWraith/CosmicWraithAlt.png rename to NPCs/Signus/SignusAlt.png diff --git a/NPCs/CosmicWraith/CosmicWraithAlt2.png b/NPCs/Signus/SignusAlt2.png similarity index 100% rename from NPCs/CosmicWraith/CosmicWraithAlt2.png rename to NPCs/Signus/SignusAlt2.png diff --git a/NPCs/CosmicWraith/SignusBomb.cs b/NPCs/Signus/SignusBomb.cs similarity index 99% rename from NPCs/CosmicWraith/SignusBomb.cs rename to NPCs/Signus/SignusBomb.cs index 96b7ab5596..7f2d3ac32a 100644 --- a/NPCs/CosmicWraith/SignusBomb.cs +++ b/NPCs/Signus/SignusBomb.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Signus { public class SignusBomb : ModNPC { diff --git a/NPCs/CosmicWraith/SignusBomb.png b/NPCs/Signus/SignusBomb.png similarity index 100% rename from NPCs/CosmicWraith/SignusBomb.png rename to NPCs/Signus/SignusBomb.png diff --git a/NPCs/CosmicWraith/CosmicWraith_Head_Boss.png b/NPCs/Signus/Signus_Head_Boss.png similarity index 100% rename from NPCs/CosmicWraith/CosmicWraith_Head_Boss.png rename to NPCs/Signus/Signus_Head_Boss.png diff --git a/NPCs/SlimeGod/SlimeGod.cs b/NPCs/SlimeGod/SlimeGod.cs index 618d5022a9..3aed9c5b47 100644 --- a/NPCs/SlimeGod/SlimeGod.cs +++ b/NPCs/SlimeGod/SlimeGod.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.TreasureBags; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] public class SlimeGod : ModNPC diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index 091fa402d3..b850e773c1 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -22,7 +22,7 @@ using CalamityMod.Items.Potions; using CalamityMod.Items.Placeables.Furniture.CraftingStations; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] public class SlimeGodCore : ModNPC diff --git a/NPCs/SlimeGod/SlimeGodRun.cs b/NPCs/SlimeGod/SlimeGodRun.cs index 9b12aed654..da2be9bbc3 100644 --- a/NPCs/SlimeGod/SlimeGodRun.cs +++ b/NPCs/SlimeGod/SlimeGodRun.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.TreasureBags; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] public class SlimeGodRun : ModNPC diff --git a/NPCs/SlimeGod/SlimeGodRunSplit.cs b/NPCs/SlimeGod/SlimeGodRunSplit.cs index 044140e466..4cc7d4e87d 100644 --- a/NPCs/SlimeGod/SlimeGodRunSplit.cs +++ b/NPCs/SlimeGod/SlimeGodRunSplit.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.TreasureBags; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] public class SlimeGodRunSplit : ModNPC diff --git a/NPCs/SlimeGod/SlimeGodSplit.cs b/NPCs/SlimeGod/SlimeGodSplit.cs index b3fa8f1b39..4f5f6beb75 100644 --- a/NPCs/SlimeGod/SlimeGodSplit.cs +++ b/NPCs/SlimeGod/SlimeGodSplit.cs @@ -8,7 +8,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Projectiles.Boss; using CalamityMod.Items.TreasureBags; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] public class SlimeGodSplit : ModNPC diff --git a/NPCs/SlimeGod/SlimeSpawnCorrupt.cs b/NPCs/SlimeGod/SlimeSpawnCorrupt.cs index 90dff2e3e9..b54dab85be 100644 --- a/NPCs/SlimeGod/SlimeSpawnCorrupt.cs +++ b/NPCs/SlimeGod/SlimeSpawnCorrupt.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { public class SlimeSpawnCorrupt : ModNPC { diff --git a/NPCs/SlimeGod/SlimeSpawnCorrupt2.cs b/NPCs/SlimeGod/SlimeSpawnCorrupt2.cs index 0f14c48d9d..ca6b185482 100644 --- a/NPCs/SlimeGod/SlimeSpawnCorrupt2.cs +++ b/NPCs/SlimeGod/SlimeSpawnCorrupt2.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { public class SlimeSpawnCorrupt2 : ModNPC { diff --git a/NPCs/SlimeGod/SlimeSpawnCrimson.cs b/NPCs/SlimeGod/SlimeSpawnCrimson.cs index 84bdbeb3cf..eeaaa2bfea 100644 --- a/NPCs/SlimeGod/SlimeSpawnCrimson.cs +++ b/NPCs/SlimeGod/SlimeSpawnCrimson.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { public class SlimeSpawnCrimson : ModNPC { diff --git a/NPCs/SlimeGod/SlimeSpawnCrimson2.cs b/NPCs/SlimeGod/SlimeSpawnCrimson2.cs index 2b63d25612..c0809875ab 100644 --- a/NPCs/SlimeGod/SlimeSpawnCrimson2.cs +++ b/NPCs/SlimeGod/SlimeSpawnCrimson2.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Enemy; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SlimeGod { public class SlimeSpawnCrimson2 : ModNPC { diff --git a/NPCs/StormWeaver/StasisProbe.cs b/NPCs/StormWeaver/StasisProbe.cs index 18cddd3fa9..ca0e3aea99 100644 --- a/NPCs/StormWeaver/StasisProbe.cs +++ b/NPCs/StormWeaver/StasisProbe.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StasisProbe : ModNPC { diff --git a/NPCs/StormWeaver/StasisProbeNaked.cs b/NPCs/StormWeaver/StasisProbeNaked.cs index c2cec4fd4e..efa4d4a9b0 100644 --- a/NPCs/StormWeaver/StasisProbeNaked.cs +++ b/NPCs/StormWeaver/StasisProbeNaked.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StasisProbeNaked : ModNPC { diff --git a/NPCs/StormWeaver/StormWeaverBody.cs b/NPCs/StormWeaver/StormWeaverBody.cs index 8ad42e99d4..3a0fb24ffe 100644 --- a/NPCs/StormWeaver/StormWeaverBody.cs +++ b/NPCs/StormWeaver/StormWeaverBody.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StormWeaverBody : ModNPC { diff --git a/NPCs/StormWeaver/StormWeaverBodyNaked.cs b/NPCs/StormWeaver/StormWeaverBodyNaked.cs index 1611643502..f2cabb35de 100644 --- a/NPCs/StormWeaver/StormWeaverBodyNaked.cs +++ b/NPCs/StormWeaver/StormWeaverBodyNaked.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StormWeaverBodyNaked : ModNPC { diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index f029b74f74..ca58d5f615 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { [AutoloadBossHead] public class StormWeaverHead : ModNPC diff --git a/NPCs/StormWeaver/StormWeaverHeadNaked.cs b/NPCs/StormWeaver/StormWeaverHeadNaked.cs index 26329a9146..503d1dadf7 100644 --- a/NPCs/StormWeaver/StormWeaverHeadNaked.cs +++ b/NPCs/StormWeaver/StormWeaverHeadNaked.cs @@ -11,7 +11,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Placeables.Furniture.Trophies; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { [AutoloadBossHead] public class StormWeaverHeadNaked : ModNPC diff --git a/NPCs/StormWeaver/StormWeaverTail.cs b/NPCs/StormWeaver/StormWeaverTail.cs index 8ce33a9fae..181af3e938 100644 --- a/NPCs/StormWeaver/StormWeaverTail.cs +++ b/NPCs/StormWeaver/StormWeaverTail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StormWeaverTail : ModNPC { diff --git a/NPCs/StormWeaver/StormWeaverTailNaked.cs b/NPCs/StormWeaver/StormWeaverTailNaked.cs index 8c0f020720..51781f622a 100644 --- a/NPCs/StormWeaver/StormWeaverTailNaked.cs +++ b/NPCs/StormWeaver/StormWeaverTailNaked.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.StormWeaver { public class StormWeaverTailNaked : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/BlindedAngler.cs b/NPCs/SunkenSea/BlindedAngler.cs similarity index 97% rename from NPCs/SunkenSeaNPCs/BlindedAngler.cs rename to NPCs/SunkenSea/BlindedAngler.cs index 90da2a676a..7e60fcfc22 100644 --- a/NPCs/SunkenSeaNPCs/BlindedAngler.cs +++ b/NPCs/SunkenSea/BlindedAngler.cs @@ -8,7 +8,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables; using CalamityMod.Items.Weapons.Melee; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class BlindedAngler : ModNPC { @@ -230,10 +230,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/BlindedAnglerGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/BlindedAnglerGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/BlindedAnglerGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/BlindedAnglerGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/BlindedAnglerGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/BlindedAnglerGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/BlindedAngler.png b/NPCs/SunkenSea/BlindedAngler.png similarity index 100% rename from NPCs/SunkenSeaNPCs/BlindedAngler.png rename to NPCs/SunkenSea/BlindedAngler.png diff --git a/NPCs/SunkenSeaNPCs/BlindedAnglerGlow.png b/NPCs/SunkenSea/BlindedAnglerGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/BlindedAnglerGlow.png rename to NPCs/SunkenSea/BlindedAnglerGlow.png diff --git a/NPCs/SunkenSeaNPCs/Clam.cs b/NPCs/SunkenSea/Clam.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/Clam.cs rename to NPCs/SunkenSea/Clam.cs index b309a7ac4a..f6944136e6 100644 --- a/NPCs/SunkenSeaNPCs/Clam.cs +++ b/NPCs/SunkenSea/Clam.cs @@ -5,7 +5,7 @@ using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables; using CalamityMod.Items.Materials; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class Clam : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/Clam.png b/NPCs/SunkenSea/Clam.png similarity index 100% rename from NPCs/SunkenSeaNPCs/Clam.png rename to NPCs/SunkenSea/Clam.png diff --git a/NPCs/SunkenSeaNPCs/EutrophicRay.cs b/NPCs/SunkenSea/EutrophicRay.cs similarity index 96% rename from NPCs/SunkenSeaNPCs/EutrophicRay.cs rename to NPCs/SunkenSea/EutrophicRay.cs index f531ea1321..397e6749e3 100644 --- a/NPCs/SunkenSeaNPCs/EutrophicRay.cs +++ b/NPCs/SunkenSea/EutrophicRay.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Melee; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class EutrophicRay : ModNPC { @@ -167,10 +167,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/EutrophicRayGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/EutrophicRayGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/EutrophicRayGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/EutrophicRayGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/EutrophicRayGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/EutrophicRayGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/EutrophicRay.png b/NPCs/SunkenSea/EutrophicRay.png similarity index 100% rename from NPCs/SunkenSeaNPCs/EutrophicRay.png rename to NPCs/SunkenSea/EutrophicRay.png diff --git a/NPCs/SunkenSeaNPCs/EutrophicRayGlow.png b/NPCs/SunkenSea/EutrophicRayGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/EutrophicRayGlow.png rename to NPCs/SunkenSea/EutrophicRayGlow.png diff --git a/NPCs/SunkenSeaNPCs/GhostBell.cs b/NPCs/SunkenSea/GhostBell.cs similarity index 95% rename from NPCs/SunkenSeaNPCs/GhostBell.cs rename to NPCs/SunkenSea/GhostBell.cs index d8bbec066e..2ce5f1fa71 100644 --- a/NPCs/SunkenSeaNPCs/GhostBell.cs +++ b/NPCs/SunkenSea/GhostBell.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class GhostBell : ModNPC { @@ -131,10 +131,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/GhostBell.png b/NPCs/SunkenSea/GhostBell.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GhostBell.png rename to NPCs/SunkenSea/GhostBell.png diff --git a/NPCs/SunkenSeaNPCs/GhostBellGlow.png b/NPCs/SunkenSea/GhostBellGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GhostBellGlow.png rename to NPCs/SunkenSea/GhostBellGlow.png diff --git a/NPCs/SunkenSeaNPCs/GhostBellSmall.cs b/NPCs/SunkenSea/GhostBellSmall.cs similarity index 94% rename from NPCs/SunkenSeaNPCs/GhostBellSmall.cs rename to NPCs/SunkenSea/GhostBellSmall.cs index 8a2642c793..4c420e8482 100644 --- a/NPCs/SunkenSeaNPCs/GhostBellSmall.cs +++ b/NPCs/SunkenSea/GhostBellSmall.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class GhostBellSmall : ModNPC { @@ -112,10 +112,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellSmallGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellSmallGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellSmallGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellSmallGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GhostBellSmallGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GhostBellSmallGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/GhostBellSmall.png b/NPCs/SunkenSea/GhostBellSmall.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GhostBellSmall.png rename to NPCs/SunkenSea/GhostBellSmall.png diff --git a/NPCs/SunkenSeaNPCs/GhostBellSmallGlow.png b/NPCs/SunkenSea/GhostBellSmallGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GhostBellSmallGlow.png rename to NPCs/SunkenSea/GhostBellSmallGlow.png diff --git a/NPCs/SunkenSeaNPCs/GiantClam.cs b/NPCs/SunkenSea/GiantClam.cs similarity index 98% rename from NPCs/SunkenSeaNPCs/GiantClam.cs rename to NPCs/SunkenSea/GiantClam.cs index ab012f9bb0..41962ce8f9 100644 --- a/NPCs/SunkenSeaNPCs/GiantClam.cs +++ b/NPCs/SunkenSea/GiantClam.cs @@ -18,7 +18,7 @@ using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Projectiles.Enemy; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class GiantClam : ModNPC { @@ -397,10 +397,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GiantClamGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GiantClamGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GiantClamGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GiantClamGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/GiantClamGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/GiantClamGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/GiantClam.png b/NPCs/SunkenSea/GiantClam.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GiantClam.png rename to NPCs/SunkenSea/GiantClam.png diff --git a/NPCs/SunkenSeaNPCs/GiantClamGlow.png b/NPCs/SunkenSea/GiantClamGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/GiantClamGlow.png rename to NPCs/SunkenSea/GiantClamGlow.png diff --git a/NPCs/SunkenSeaNPCs/PrismTurtle.cs b/NPCs/SunkenSea/PrismTurtle.cs similarity index 97% rename from NPCs/SunkenSeaNPCs/PrismTurtle.cs rename to NPCs/SunkenSea/PrismTurtle.cs index 756320b317..364b8fc960 100644 --- a/NPCs/SunkenSeaNPCs/PrismTurtle.cs +++ b/NPCs/SunkenSea/PrismTurtle.cs @@ -8,7 +8,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Placeables; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class PrismTurtle : ModNPC { @@ -237,10 +237,10 @@ namespace CalamityMod.NPCs Vector2 center = new Vector2(npc.Center.X, npc.Center.Y); Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2)); Vector2 vector = center - Main.screenPosition; - vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/PrismTurtleGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/PrismTurtleGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; + vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/PrismTurtleGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/PrismTurtleGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f; vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY); Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Blue); - Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSeaNPCs/PrismTurtleGlow"), vector, + Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/SunkenSea/PrismTurtleGlow"), vector, new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f); } diff --git a/NPCs/SunkenSeaNPCs/PrismTurtle.png b/NPCs/SunkenSea/PrismTurtle.png similarity index 100% rename from NPCs/SunkenSeaNPCs/PrismTurtle.png rename to NPCs/SunkenSea/PrismTurtle.png diff --git a/NPCs/SunkenSeaNPCs/PrismTurtleGlow.png b/NPCs/SunkenSea/PrismTurtleGlow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/PrismTurtleGlow.png rename to NPCs/SunkenSea/PrismTurtleGlow.png diff --git a/NPCs/SunkenSeaNPCs/SeaFloaty.cs b/NPCs/SunkenSea/SeaFloaty.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaFloaty.cs rename to NPCs/SunkenSea/SeaFloaty.cs index ffe1e85a14..b184404cc1 100644 --- a/NPCs/SunkenSeaNPCs/SeaFloaty.cs +++ b/NPCs/SunkenSea/SeaFloaty.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaFloaty : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaFloaty.png b/NPCs/SunkenSea/SeaFloaty.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaFloaty.png rename to NPCs/SunkenSea/SeaFloaty.png diff --git a/NPCs/SunkenSeaNPCs/SeaMinnow.cs b/NPCs/SunkenSea/SeaMinnow.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaMinnow.cs rename to NPCs/SunkenSea/SeaMinnow.cs index 376f689070..c15a47ac2e 100644 --- a/NPCs/SunkenSeaNPCs/SeaMinnow.cs +++ b/NPCs/SunkenSea/SeaMinnow.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaMinnow : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaMinnow.png b/NPCs/SunkenSea/SeaMinnow.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaMinnow.png rename to NPCs/SunkenSea/SeaMinnow.png diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent1.cs b/NPCs/SunkenSea/SeaSerpent1.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaSerpent1.cs rename to NPCs/SunkenSea/SeaSerpent1.cs index 5c8fe301e9..856dae3707 100644 --- a/NPCs/SunkenSeaNPCs/SeaSerpent1.cs +++ b/NPCs/SunkenSea/SeaSerpent1.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Magic; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaSerpent1 : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent1.png b/NPCs/SunkenSea/SeaSerpent1.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaSerpent1.png rename to NPCs/SunkenSea/SeaSerpent1.png diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent2.cs b/NPCs/SunkenSea/SeaSerpent2.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaSerpent2.cs rename to NPCs/SunkenSea/SeaSerpent2.cs index 77ffdca230..20ed5bd6df 100644 --- a/NPCs/SunkenSeaNPCs/SeaSerpent2.cs +++ b/NPCs/SunkenSea/SeaSerpent2.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaSerpent2 : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent2.png b/NPCs/SunkenSea/SeaSerpent2.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaSerpent2.png rename to NPCs/SunkenSea/SeaSerpent2.png diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent3.cs b/NPCs/SunkenSea/SeaSerpent3.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaSerpent3.cs rename to NPCs/SunkenSea/SeaSerpent3.cs index 4439062675..ea93f74a24 100644 --- a/NPCs/SunkenSeaNPCs/SeaSerpent3.cs +++ b/NPCs/SunkenSea/SeaSerpent3.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaSerpent3 : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent3.png b/NPCs/SunkenSea/SeaSerpent3.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaSerpent3.png rename to NPCs/SunkenSea/SeaSerpent3.png diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent4.cs b/NPCs/SunkenSea/SeaSerpent4.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaSerpent4.cs rename to NPCs/SunkenSea/SeaSerpent4.cs index 1957a9a42a..ea7acc2edd 100644 --- a/NPCs/SunkenSeaNPCs/SeaSerpent4.cs +++ b/NPCs/SunkenSea/SeaSerpent4.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaSerpent4 : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent4.png b/NPCs/SunkenSea/SeaSerpent4.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaSerpent4.png rename to NPCs/SunkenSea/SeaSerpent4.png diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent5.cs b/NPCs/SunkenSea/SeaSerpent5.cs similarity index 99% rename from NPCs/SunkenSeaNPCs/SeaSerpent5.cs rename to NPCs/SunkenSea/SeaSerpent5.cs index 07efa280fd..c4544a00e3 100644 --- a/NPCs/SunkenSeaNPCs/SeaSerpent5.cs +++ b/NPCs/SunkenSea/SeaSerpent5.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Items.Placeables.Banners; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SunkenSea { public class SeaSerpent5 : ModNPC { diff --git a/NPCs/SunkenSeaNPCs/SeaSerpent5.png b/NPCs/SunkenSea/SeaSerpent5.png similarity index 100% rename from NPCs/SunkenSeaNPCs/SeaSerpent5.png rename to NPCs/SunkenSea/SeaSerpent5.png diff --git a/NPCs/SupremeCalamitas/SCalScreenShaderData.cs b/NPCs/SupremeCalamitas/SCalScreenShaderData.cs index d5ed458ead..f75a6baab6 100644 --- a/NPCs/SupremeCalamitas/SCalScreenShaderData.cs +++ b/NPCs/SupremeCalamitas/SCalScreenShaderData.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalScreenShaderData : ScreenShaderData { diff --git a/NPCs/SupremeCalamitas/SCalSky.cs b/NPCs/SupremeCalamitas/SCalSky.cs index a57e5ccf8f..d810589a40 100644 --- a/NPCs/SupremeCalamitas/SCalSky.cs +++ b/NPCs/SupremeCalamitas/SCalSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalSky : CustomSky { diff --git a/NPCs/SupremeCalamitas/SCalWormBody.cs b/NPCs/SupremeCalamitas/SCalWormBody.cs index af7300cf4a..1552fb4567 100644 --- a/NPCs/SupremeCalamitas/SCalWormBody.cs +++ b/NPCs/SupremeCalamitas/SCalWormBody.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalWormBody : ModNPC { diff --git a/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs b/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs index 4b23e8ed37..31485a3797 100644 --- a/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs +++ b/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs @@ -5,7 +5,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalWormBodyWeak : ModNPC { diff --git a/NPCs/SupremeCalamitas/SCalWormHead.cs b/NPCs/SupremeCalamitas/SCalWormHead.cs index ec1bca0c6b..29bb11fbbd 100644 --- a/NPCs/SupremeCalamitas/SCalWormHead.cs +++ b/NPCs/SupremeCalamitas/SCalWormHead.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalWormHead : ModNPC { diff --git a/NPCs/SupremeCalamitas/SCalWormHeart.cs b/NPCs/SupremeCalamitas/SCalWormHeart.cs index 3c46016cda..d01af8113f 100644 --- a/NPCs/SupremeCalamitas/SCalWormHeart.cs +++ b/NPCs/SupremeCalamitas/SCalWormHeart.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Rogue; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalWormHeart : ModNPC { diff --git a/NPCs/SupremeCalamitas/SCalWormTail.cs b/NPCs/SupremeCalamitas/SCalWormTail.cs index 001cb59fab..6ec021069e 100644 --- a/NPCs/SupremeCalamitas/SCalWormTail.cs +++ b/NPCs/SupremeCalamitas/SCalWormTail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SCalWormTail : ModNPC { diff --git a/NPCs/SupremeCalamitas/SoulSeekerSupreme.cs b/NPCs/SupremeCalamitas/SoulSeekerSupreme.cs index e31ff84abb..ff53f2920e 100644 --- a/NPCs/SupremeCalamitas/SoulSeekerSupreme.cs +++ b/NPCs/SupremeCalamitas/SoulSeekerSupreme.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { public class SoulSeekerSupreme : ModNPC { diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index bd20fbe99b..b64fd13510 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -22,7 +22,7 @@ using CalamityMod.Items.LoreItems; using CalamityMod.Items.Potions; using CalamityMod.Projectiles.Boss; using CalamityMod.Projectiles.Summon; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { [AutoloadBossHead] public class SupremeCalamitas : ModNPC diff --git a/NPCs/SupremeCalamitas/SupremeCataclysm.cs b/NPCs/SupremeCalamitas/SupremeCataclysm.cs index 90eab3d3cc..3ddea0db88 100644 --- a/NPCs/SupremeCalamitas/SupremeCataclysm.cs +++ b/NPCs/SupremeCalamitas/SupremeCataclysm.cs @@ -9,7 +9,7 @@ using Terraria.ID; using CalamityMod.Projectiles.Boss; using CalamityMod.Projectiles.Summon; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { [AutoloadBossHead] public class SupremeCataclysm : ModNPC diff --git a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs index 8d56beddbb..d2f4449414 100644 --- a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs +++ b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs @@ -9,7 +9,7 @@ using Terraria.ID; using CalamityMod.Projectiles.Boss; using CalamityMod.Projectiles.Summon; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.SupremeCalamitas { [AutoloadBossHead] public class SupremeCatastrophe : ModNPC diff --git a/NPCs/TownNPCs/DILF.cs b/NPCs/TownNPCs/DILF.cs index c8e1d5d147..650db8d954 100644 --- a/NPCs/TownNPCs/DILF.cs +++ b/NPCs/TownNPCs/DILF.cs @@ -18,7 +18,7 @@ using CalamityMod.Items.Ammo; using CalamityMod.Items.Materials; using CalamityMod.Items.Potions; using CalamityMod.Projectiles.Typeless; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.TownNPCs { [AutoloadHead] public class DILF : ModNPC diff --git a/NPCs/TownNPCs/FAP.cs b/NPCs/TownNPCs/FAP.cs index 5413a834bd..cb7c72ae7e 100644 --- a/NPCs/TownNPCs/FAP.cs +++ b/NPCs/TownNPCs/FAP.cs @@ -9,7 +9,7 @@ using Terraria.Localization; using CalamityMod.Items.Potions.Alcohol; using CalamityMod.Items.Placeables.Furniture; using CalamityMod.Projectiles.Magic; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.TownNPCs { [AutoloadHead] public class FAP : ModNPC diff --git a/NPCs/TownNPCs/SEAHOE.cs b/NPCs/TownNPCs/SEAHOE.cs index de3e30501f..bc26125dd5 100644 --- a/NPCs/TownNPCs/SEAHOE.cs +++ b/NPCs/TownNPCs/SEAHOE.cs @@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Summon; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.SummonItems; using CalamityMod.Projectiles.Rogue; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.TownNPCs { [AutoloadHead] public class SEAHOE : ModNPC diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index 8ec9f4ed34..58d7398b48 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -7,7 +7,7 @@ using Terraria.Localization; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.Accessories; using CalamityMod.Projectiles.Rogue; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.TownNPCs { [AutoloadHead] public class THIEF : ModNPC diff --git a/NPCs/Yharon/DetonatingFlare.cs b/NPCs/Yharon/DetonatingFlare.cs index 96d6c9cf6a..f57e85d055 100644 --- a/NPCs/Yharon/DetonatingFlare.cs +++ b/NPCs/Yharon/DetonatingFlare.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Yharon { public class DetonatingFlare : ModNPC { diff --git a/NPCs/Yharon/DetonatingFlare2.cs b/NPCs/Yharon/DetonatingFlare2.cs index 683e7fdfe8..8064d01dfc 100644 --- a/NPCs/Yharon/DetonatingFlare2.cs +++ b/NPCs/Yharon/DetonatingFlare2.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.ID; using CalamityMod.Buffs.StatDebuffs; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Yharon { public class DetonatingFlare2 : ModNPC { diff --git a/NPCs/Yharon/YScreenShader.cs b/NPCs/Yharon/YScreenShader.cs index b4ebd532ed..7a8ce223fa 100644 --- a/NPCs/Yharon/YScreenShader.cs +++ b/NPCs/Yharon/YScreenShader.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Shaders; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Yharon { public class YScreenShaderData : ScreenShaderData { diff --git a/NPCs/Yharon/YSky.cs b/NPCs/Yharon/YSky.cs index d3df2431db..2597841d33 100644 --- a/NPCs/Yharon/YSky.cs +++ b/NPCs/Yharon/YSky.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ModLoader; using Terraria.Graphics.Effects; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Yharon { public class YSky : CustomSky { diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index c36d61f6d0..f9e556520b 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -29,7 +29,7 @@ using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Tiles.Ores; using CalamityMod.Projectiles.Boss; -namespace CalamityMod.NPCs +namespace CalamityMod.NPCs.Yharon { [AutoloadBossHead] public class Yharon : ModNPC diff --git a/Projectiles/Melee/CosmicDischargeFlail.cs b/Projectiles/Melee/CosmicDischargeFlail.cs index ced75afb68..d5010ed210 100644 --- a/Projectiles/Melee/CosmicDischargeFlail.cs +++ b/Projectiles/Melee/CosmicDischargeFlail.cs @@ -7,6 +7,7 @@ using Terraria.Enums; using Terraria.ID; using CalamityMod.Buffs.StatBuffs; using CalamityMod.Buffs.StatDebuffs; +using CalamityMod.Buffs.DamageOverTime; namespace CalamityMod.Projectiles.Melee { @@ -224,7 +225,7 @@ namespace CalamityMod.Projectiles.Melee { Player player = Main.player[projectile.owner]; target.AddBuff(BuffID.Frostburn, 300); - target.AddBuff(mod.BuffType("Nightwither"), 300); + target.AddBuff(ModContent.BuffType(), 300); if (Main.rand.NextBool(3)) { target.AddBuff(ModContent.BuffType(), 120); diff --git a/Projectiles/Melee/CosmicIceBurst.cs b/Projectiles/Melee/CosmicIceBurst.cs index e70b149492..dd7dbd1ede 100644 --- a/Projectiles/Melee/CosmicIceBurst.cs +++ b/Projectiles/Melee/CosmicIceBurst.cs @@ -3,6 +3,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ModLoader; using Terraria.ID; +using CalamityMod.Buffs.DamageOverTime; namespace CalamityMod.Projectiles.Melee { @@ -117,7 +118,7 @@ namespace CalamityMod.Projectiles.Melee public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { target.AddBuff(BuffID.Frostburn, 300); - target.AddBuff(mod.BuffType("Nightwither"), 300); + target.AddBuff(ModContent.BuffType(), 300); projectile.direction = Main.player[projectile.owner].direction; } } diff --git a/Tiles/Astral/AstralTree.cs b/Tiles/Astral/AstralTree.cs index befea9b4ee..dc42b6b5de 100644 --- a/Tiles/Astral/AstralTree.cs +++ b/Tiles/Astral/AstralTree.cs @@ -1,4 +1,5 @@ -using Microsoft.Xna.Framework.Graphics; +using CalamityMod.Dusts; +using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; namespace CalamityMod.Tiles.Astral { @@ -7,27 +8,27 @@ namespace CalamityMod.Tiles.Astral public override Texture2D GetTopTextures(int i, int j, ref int frame, ref int frameWidth, ref int frameHeight, ref int xOffsetLeft, ref int yOffset) { frame = (i + j * j) % 3; - return ModContent.GetInstance().GetTexture("Tiles/Astral/AstralTree_Tops"); + return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree_Tops"); } public override Texture2D GetBranchTextures(int i, int j, int trunkOffset, ref int frame) { - return ModContent.GetInstance().GetTexture("Tiles/Astral/AstralTree_Branches"); + return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree_Branches"); } public override Texture2D GetTexture() { - return ModContent.GetInstance().GetTexture("Tiles/Astral/AstralTree"); + return ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralTree"); } public override int DropWood() { - return ModContent.GetInstance().ItemType("AstralMonolith"); + return ModContent.ItemType(); } public override int CreateDust() { - return ModContent.GetInstance().DustType("AstralBasic"); + return ModContent.DustType(); } public override int GrowthFXGore() diff --git a/Tiles/AstralDesert/AstralPalmTree.cs b/Tiles/AstralDesert/AstralPalmTree.cs index b78af7950d..a48b85c300 100644 --- a/Tiles/AstralDesert/AstralPalmTree.cs +++ b/Tiles/AstralDesert/AstralPalmTree.cs @@ -1,4 +1,5 @@ -using Microsoft.Xna.Framework.Graphics; +using CalamityMod.Dusts; +using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; namespace CalamityMod.Tiles.AstralDesert { @@ -6,22 +7,22 @@ namespace CalamityMod.Tiles.AstralDesert { public override Texture2D GetTexture() { - return ModContent.GetInstance().GetTexture("Tiles/AstralDesert/AstralPalmTree"); + return ModContent.GetTexture("CalamityMod/Tiles/AstralDesert/AstralPalmTree"); } public override Texture2D GetTopTextures() { - return ModContent.GetInstance().GetTexture("Tiles/AstralDesert/AstralPalmTree_Tops"); + return ModContent.GetTexture("CalamityMod/Tiles/AstralDesert/AstralPalmTree_Tops"); } public override int DropWood() { - return ModContent.GetInstance().ItemType("AstralMonolith"); + return ModContent.ItemType(); } public override int CreateDust() { - return ModContent.GetInstance().DustType("AstralBasic"); + return ModContent.DustType(); } public override int GrowthFXGore() diff --git a/Tiles/UelibloomBrick.cs b/Tiles/UelibloomBrick.cs index d3e4f96574..8d1fbb6ccd 100644 --- a/Tiles/UelibloomBrick.cs +++ b/Tiles/UelibloomBrick.cs @@ -1,4 +1,5 @@  +using CalamityMod.Dusts.Furniture; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; @@ -27,8 +28,8 @@ namespace CalamityMod.Tiles public override bool CreateDust(int i, int j, ref int type) { - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, mod.DustType("BloomTileGold"), 0f, 0f, 1, new Color(255, 255, 255), 1f); - Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, mod.DustType("BloomTileLeaves"), 0f, 0f, 1, new Color(255, 255, 255), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, ModContent.DustType(), 0f, 0f, 1, new Color(255, 255, 255), 1f); + Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, ModContent.DustType(), 0f, 0f, 1, new Color(255, 255, 255), 1f); return false; }