diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 7a5d1904fb..9ab071f6e4 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -5194,6 +5194,10 @@ namespace CalamityMod.CalPlayer auralisAuroraCooldown = CalamityUtils.SecondsToFrames(30f); } + // Torch God does 1 damage but inflicts a random fire debuff + if (proj.type == ProjectileID.TorchGod) + damage = 1; + // Reduce damage from vanilla traps // Explosives @@ -5469,7 +5473,41 @@ namespace CalamityMod.CalPlayer if (proj.hostile) { - if (proj.type == ProjectileID.Explosives) + if (proj.type == ProjectileID.TorchGod) + { + int fireDebuffTypes = 7; + switch (Main.rand.Next(fireDebuffTypes)) + { + case 0: + Player.AddBuff(BuffID.OnFire, 600); + break; + + case 1: + Player.AddBuff(BuffID.CursedInferno, 300); + break; + + case 2: + Player.AddBuff(ModContent.BuffType(), 300); + break; + + case 3: + Player.AddBuff(ModContent.BuffType(), 150); + break; + + case 4: + Player.AddBuff(ModContent.BuffType(), 150); + break; + + case 5: + Player.AddBuff(ModContent.BuffType(), 300); + break; + + case 6: + Player.AddBuff(ModContent.BuffType(), 150); + break; + } + } + else if (proj.type == ProjectileID.Explosives) { Player.AddBuff(BuffID.OnFire, 600); } diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 07bcb3ca60..beb4696f06 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -147,7 +147,7 @@ namespace CalamityMod.CalPlayer // This must be done here instead of in the item logic because these sets are not properly instanced // in the global classes. Attempting to update them there will cause multiple updates to one set for multiple items. CalamityGlobalItem.UpdateAllParticleSets(); - BiomeBlade.UpdateAllParticleSets(); + BrokenBiomeBlade.UpdateAllParticleSets(); TrueBiomeBlade.UpdateAllParticleSets(); OmegaBiomeBlade.UpdateAllParticleSets(); @@ -4086,8 +4086,8 @@ namespace CalamityMod.CalPlayer if (item is null || item.stack <= 0) continue; - if (item.type == ModContent.ItemType()) - CalamityUtils.ConsumeItemViaQuickBuff(Player, item, SunkenStew.BuffType, SunkenStew.BuffDuration, true); + if (item.type == ModContent.ItemType()) + CalamityUtils.ConsumeItemViaQuickBuff(Player, item, HadalStew.BuffType, HadalStew.BuffDuration, true); if (item.type == ModContent.ItemType()) CalamityUtils.ConsumeItemViaQuickBuff(Player, item, Margarita.BuffType, Margarita.BuffDuration, false); if (item.type == ModContent.ItemType()) diff --git a/CalamityLists.cs b/CalamityLists.cs index efa7544292..063021dc6d 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1742,7 +1742,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), diff --git a/DataStructures/Attunement.cs b/DataStructures/Attunement.cs index 63f8b90a0c..7c69e90b33 100644 --- a/DataStructures/Attunement.cs +++ b/DataStructures/Attunement.cs @@ -94,7 +94,7 @@ namespace CalamityMod.DataStructures energyParticleCenterColor = new Color(200, 184, 136); } - public override float DamageMultiplier => BiomeBlade.DefaultAttunement_BaseDamage / (float)BiomeBlade.BaseDamage; + public override float DamageMultiplier => BrokenBiomeBlade.DefaultAttunement_BaseDamage / (float)BrokenBiomeBlade.BaseDamage; public override void ApplyStats(Item item) { @@ -120,7 +120,7 @@ namespace CalamityMod.DataStructures energyParticleCenterColor = new Color(209, 154, 0); } - public override float DamageMultiplier => BiomeBlade.HotAttunement_BaseDamage / (float)BiomeBlade.BaseDamage; + public override float DamageMultiplier => BrokenBiomeBlade.HotAttunement_BaseDamage / (float)BrokenBiomeBlade.BaseDamage; public override void ApplyStats(Item item) { @@ -146,7 +146,7 @@ namespace CalamityMod.DataStructures energyParticleCenterColor = new Color(58, 110, 141); } - public override float DamageMultiplier => BiomeBlade.ColdAttunement_BaseDamage / (float)BiomeBlade.BaseDamage; + public override float DamageMultiplier => BrokenBiomeBlade.ColdAttunement_BaseDamage / (float)BrokenBiomeBlade.BaseDamage; public override void ApplyStats(Item item) { @@ -195,7 +195,7 @@ namespace CalamityMod.DataStructures energyParticleCenterColor = new Color(131, 173, 39); } - public override float DamageMultiplier => BiomeBlade.TropicalAttunement_BaseDamage / (float)BiomeBlade.BaseDamage; + public override float DamageMultiplier => BrokenBiomeBlade.TropicalAttunement_BaseDamage / (float)BrokenBiomeBlade.BaseDamage; public override void ApplyStats(Item item) { @@ -222,7 +222,7 @@ namespace CalamityMod.DataStructures energyParticleCenterColor = new Color(195, 42, 200); } - public override float DamageMultiplier => BiomeBlade.EvilAttunement_BaseDamage / (float)BiomeBlade.BaseDamage; + public override float DamageMultiplier => BrokenBiomeBlade.EvilAttunement_BaseDamage / (float)BrokenBiomeBlade.BaseDamage; public override void ApplyStats(Item item) { diff --git a/Items/Accessories/CelestialJewel.cs b/Items/Accessories/CelestialJewel.cs index c792c7b0cd..59322d1203 100644 --- a/Items/Accessories/CelestialJewel.cs +++ b/Items/Accessories/CelestialJewel.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(ItemID.TeleportationPotion, 3). - AddIngredient(15). + AddIngredient(15). AddIngredient(15). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Accessories/DimensionalSoulArtifact.cs b/Items/Accessories/DimensionalSoulArtifact.cs index 1ab86f1417..0ba2000eb6 100644 --- a/Items/Accessories/DimensionalSoulArtifact.cs +++ b/Items/Accessories/DimensionalSoulArtifact.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(25). + AddIngredient(25). AddIngredient(25). AddIngredient(5). AddTile(TileID.DemonAltar). diff --git a/Items/Accessories/EldritchSoulArtifact.cs b/Items/Accessories/EldritchSoulArtifact.cs index 1b22219fab..b477a59d6e 100644 --- a/Items/Accessories/EldritchSoulArtifact.cs +++ b/Items/Accessories/EldritchSoulArtifact.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(25). + AddIngredient(25). AddIngredient(25). AddIngredient(5). AddTile(TileID.DemonAltar). diff --git a/Items/Accessories/GodlySoulArtifact.cs b/Items/Accessories/GodlySoulArtifact.cs index e9daf55e19..420eeb31df 100644 --- a/Items/Accessories/GodlySoulArtifact.cs +++ b/Items/Accessories/GodlySoulArtifact.cs @@ -37,8 +37,8 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(25). - AddIngredient(25). + AddIngredient(25). + AddIngredient(25). AddIngredient(5). AddTile(TileID.DemonAltar). Register(); diff --git a/Items/Accessories/PhantomicArtifact.cs b/Items/Accessories/PhantomicArtifact.cs index ff544f62a8..dd413f5fe0 100644 --- a/Items/Accessories/PhantomicArtifact.cs +++ b/Items/Accessories/PhantomicArtifact.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(5). AddIngredient(10). - AddIngredient(20). + AddIngredient(20). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Accessories/ProfanedSoulArtifact.cs b/Items/Accessories/ProfanedSoulArtifact.cs index 6e0f0fdfb1..a5b92053bd 100644 --- a/Items/Accessories/ProfanedSoulArtifact.cs +++ b/Items/Accessories/ProfanedSoulArtifact.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(25). + AddIngredient(25). AddIngredient(25). AddIngredient(5). AddTile(TileID.DemonAltar). diff --git a/Items/Armor/Prismatic/PrismaticGreaves.cs b/Items/Armor/Prismatic/PrismaticGreaves.cs index f2cef48834..ebefe26a88 100644 --- a/Items/Armor/Prismatic/PrismaticGreaves.cs +++ b/Items/Armor/Prismatic/PrismaticGreaves.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Armor.Prismatic { CreateRecipe(). AddIngredient(3). - AddIngredient(5). + AddIngredient(5). AddIngredient(6). AddIngredient(ItemID.Nanites, 300). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Armor/Prismatic/PrismaticHelmet.cs b/Items/Armor/Prismatic/PrismaticHelmet.cs index f757d02fd6..aca187f42d 100644 --- a/Items/Armor/Prismatic/PrismaticHelmet.cs +++ b/Items/Armor/Prismatic/PrismaticHelmet.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Armor.Prismatic { CreateRecipe(). AddIngredient(3). - AddIngredient(5). + AddIngredient(5). AddIngredient(4). AddIngredient(ItemID.Nanites, 300). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Armor/Prismatic/PrismaticRegalia.cs b/Items/Armor/Prismatic/PrismaticRegalia.cs index 4a97561eb9..8590a6cefa 100644 --- a/Items/Armor/Prismatic/PrismaticRegalia.cs +++ b/Items/Armor/Prismatic/PrismaticRegalia.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Armor.Prismatic { CreateRecipe(). AddIngredient(3). - AddIngredient(5). + AddIngredient(5). AddIngredient(8). AddIngredient(ItemID.Nanites, 300). AddTile(TileID.LunarCraftingStation). diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 7cde7c355c..b181061302 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -95,10 +95,10 @@ namespace CalamityMod.Items #region Uniquely Colored Developer Items if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(Main.DiscoR, 100, 255); - if (item.type == ModContent.ItemType()) + if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(0, 0, 255); - if (item.type == ModContent.ItemType()) - nameLine.OverrideColor = Judgement.GetSyncedLightColor(); + if (item.type == ModContent.ItemType()) + nameLine.OverrideColor = TheDanceofLight.GetSyncedLightColor(); if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(0.34f, 0.34f + 0.66f * Main.DiscoG / 255f, 0.34f + 0.5f * Main.DiscoG / 255f); if (item.type == ModContent.ItemType()) @@ -125,7 +125,7 @@ namespace CalamityMod.Items nameLine.OverrideColor = new Color(207, 17, 117); if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(227, 226, 180); - if (item.type == ModContent.ItemType()) + if (item.type == ModContent.ItemType()) nameLine.OverrideColor = CalamityUtils.ColorSwap(new Color(154, 255, 151), new Color(228, 151, 255), 4f); if (item.type == ModContent.ItemType() || item.type == ModContent.ItemType() || item.type == ModContent.ItemType()) nameLine.OverrideColor = CalamityUtils.ColorSwap(new Color(255, 132, 22), new Color(221, 85, 7), 4f); diff --git a/Items/Dyes/StratusDye.cs b/Items/Dyes/StratusDye.cs index 300bf0c6f1..22ecc07d9f 100644 --- a/Items/Dyes/StratusDye.cs +++ b/Items/Dyes/StratusDye.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Dyes CreateRecipe(2). AddIngredient(ItemID.BottledWater, 2). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddTile(TileID.DyeVat). Register(); diff --git a/Items/Fishing/AstralCatches/AstralCrate.cs b/Items/Fishing/AstralCatches/AstralCrate.cs index 7842071e17..8528a32be3 100644 --- a/Items/Fishing/AstralCatches/AstralCrate.cs +++ b/Items/Fishing/AstralCatches/AstralCrate.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches DropHelper.DropItem(s, player, ItemID.FallenStar, 5, 10); DropHelper.DropItemChance(s, player, ItemID.Meteorite, 0.2f, 10, 20); DropHelper.DropItemChance(s, player, ItemID.MeteoriteBar, 0.1f, 1, 3); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumAureus, 0.2f, 2, 5); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumAureus, 0.2f, 2, 5); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.2f, 10, 20); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.25f, 5, 10); diff --git a/Items/Materials/ScoriaBar.cs b/Items/Materials/ScoriaBar.cs index 3e82c84fdd..ba13df58d3 100644 --- a/Items/Materials/ScoriaBar.cs +++ b/Items/Materials/ScoriaBar.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.AdamantiteForge). Register(); } diff --git a/Items/Mounts/GazeOfCrysthamyr.cs b/Items/Mounts/GazeOfCrysthamyr.cs index 88eef80377..4e724482d1 100644 --- a/Items/Mounts/GazeOfCrysthamyr.cs +++ b/Items/Mounts/GazeOfCrysthamyr.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Mounts AddIngredient(ItemID.DD2PetDragon). AddIngredient(ItemID.SoulofNight, 100). AddIngredient(10). - AddIngredient(25). + AddIngredient(25). AddTile(). Register(); } diff --git a/Items/NormalityRelocator.cs b/Items/NormalityRelocator.cs index 30cc45ca8e..d1d3464447 100644 --- a/Items/NormalityRelocator.cs +++ b/Items/NormalityRelocator.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items CreateRecipe(). AddIngredient(ItemID.RodofDiscord). AddIngredient(5). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.FragmentStardust, 30). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Placeables/Banners/RotdogBanner.cs b/Items/Placeables/Banners/RotdogBanner.cs index 528680ff07..acb1316204 100644 --- a/Items/Placeables/Banners/RotdogBanner.cs +++ b/Items/Placeables/Banners/RotdogBanner.cs @@ -4,6 +4,7 @@ using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Banners { + [LegacyName("PitbullBanner")] public class RotdogBanner : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/ChaoticBrick.cs b/Items/Placeables/ChaoticBrick.cs index 98142758c4..0bd9b0408d 100644 --- a/Items/Placeables/ChaoticBrick.cs +++ b/Items/Placeables/ChaoticBrick.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables { CreateRecipe(10). AddRecipeGroup("AnyStoneBlock"). - AddIngredient(). + AddIngredient(). AddTile(TileID.Furnaces). Register(); diff --git a/Items/Placeables/Furniture/AstralBeaconItem.cs b/Items/Placeables/Furniture/AstralBeaconItem.cs index d4a2ddabf6..3f4e7c9052 100644 --- a/Items/Placeables/Furniture/AstralBeaconItem.cs +++ b/Items/Placeables/Furniture/AstralBeaconItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Furniture } public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 30).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 30).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/Furniture/CraftingStations/CosmicAnvilItem.cs b/Items/Placeables/Furniture/CraftingStations/CosmicAnvilItem.cs index cb2e821872..f4aefe4dd6 100644 --- a/Items/Placeables/Furniture/CraftingStations/CosmicAnvilItem.cs +++ b/Items/Placeables/Furniture/CraftingStations/CosmicAnvilItem.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations public override void AddRecipes() { - CreateRecipe(1).AddRecipeGroup("HardmodeAnvil").AddIngredient(ModContent.ItemType(), 10).AddIngredient(ItemID.LunarBar, 10).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType(), 20).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddRecipeGroup("HardmodeAnvil").AddIngredient(ModContent.ItemType(), 10).AddIngredient(ItemID.LunarBar, 10).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType(), 20).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs b/Items/Placeables/FurniturePlagued/BrokenPlaguedBed.cs similarity index 75% rename from Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs rename to Items/Placeables/FurniturePlagued/BrokenPlaguedBed.cs index d71d3b6724..92f90d45aa 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs +++ b/Items/Placeables/FurniturePlagued/BrokenPlaguedBed.cs @@ -1,10 +1,11 @@ -using CalamityMod.Items.Materials; +using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurniturePlagued { - public class PlaguedPlateBasin : ModItem + [LegacyName("PlaguedPlateBasin")] + public class BrokenPlaguedBed : ModItem { public override void SetStaticDefaults() { @@ -28,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.png b/Items/Placeables/FurniturePlagued/BrokenPlaguedBed.png similarity index 100% rename from Items/Placeables/FurniturePlagued/PlaguedPlateBasin.png rename to Items/Placeables/FurniturePlagued/BrokenPlaguedBed.png diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlate.cs b/Items/Placeables/FurniturePlagued/PlaguedContainmentBrick.cs similarity index 94% rename from Items/Placeables/FurniturePlagued/PlaguedPlate.cs rename to Items/Placeables/FurniturePlagued/PlaguedContainmentBrick.cs index 169b30bc38..628a1497f9 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlate.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedContainmentBrick.cs @@ -5,7 +5,8 @@ using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurniturePlagued { - public class PlaguedPlate : ModItem + [LegacyName("PlaguedPlate")] + public class PlaguedContainmentBrick : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlate.png b/Items/Placeables/FurniturePlagued/PlaguedContainmentBrick.png similarity index 100% rename from Items/Placeables/FurniturePlagued/PlaguedPlate.png rename to Items/Placeables/FurniturePlagued/PlaguedContainmentBrick.png diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs index 38c27374a8..2f1114eb62 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 14).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 14).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs index 9895dc310d..064fda8aeb 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs index c5083a1bec..1e88e17f28 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs index 2a737a20d4..ff9201591f 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs index 766ef552eb..aa03bb6ddb 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs index c59f61ae03..5cbb60675b 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs index 1a9bb2bb7a..b239b2e29c 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs index 8b1bb54a45..1bd3760bc6 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.IronBar, 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.IronBar, 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs index 4b62f6fb23..fff076e553 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Glass, 6).AddIngredient(ItemID.IronBar, 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Glass, 6).AddIngredient(ItemID.IronBar, 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs index af6ed6c651..2028c4ec86 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs index c716c03585..2a742dcb38 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 16).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 16).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs index efb90ee9a4..b1d6b796f6 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs index ecc5b11016..005d59c7e2 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs b/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs index 7859b776df..af7623f08c 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Bone, 4).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Bone, 4).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs b/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs index 3c313d8593..34f7a12eeb 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(2).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(2).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs index ff531f0a2a..ee84271e6b 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.WaterBucket, 1).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.WaterBucket, 1).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs index ac0f5a9322..3c7be086e4 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Silk, 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Silk, 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs index 52d13317a2..5732bd6417 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs b/Items/Placeables/FurniturePlagued/PlaguedWorkBench.cs similarity index 77% rename from Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs rename to Items/Placeables/FurniturePlagued/PlaguedWorkBench.cs index cc06f2e978..d7d232b0bb 100644 --- a/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedWorkBench.cs @@ -1,10 +1,11 @@ -using CalamityMod.Items.Materials; +using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurniturePlagued { - public class PlaguedPlateWorkbench : ModItem + [LegacyName("PlaguedPlateWorkbench")] + public class PlaguedWorkBench : ModItem { public override void SetStaticDefaults() { @@ -28,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlagued public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.png b/Items/Placeables/FurniturePlagued/PlaguedWorkBench.png similarity index 100% rename from Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.png rename to Items/Placeables/FurniturePlagued/PlaguedWorkBench.png diff --git a/Items/Placeables/FurnitureProfaned/ProfanedBath.cs b/Items/Placeables/FurnitureProfaned/ProfanedBathtub.cs similarity index 87% rename from Items/Placeables/FurnitureProfaned/ProfanedBath.cs rename to Items/Placeables/FurnitureProfaned/ProfanedBathtub.cs index 481d735c75..126540c1df 100644 --- a/Items/Placeables/FurnitureProfaned/ProfanedBath.cs +++ b/Items/Placeables/FurnitureProfaned/ProfanedBathtub.cs @@ -1,9 +1,10 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureProfaned { - public class ProfanedBath : ModItem + [LegacyName("ProfanedBath")] + public class ProfanedBathtub : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/FurnitureProfaned/ProfanedBath.png b/Items/Placeables/FurnitureProfaned/ProfanedBathtub.png similarity index 100% rename from Items/Placeables/FurnitureProfaned/ProfanedBath.png rename to Items/Placeables/FurnitureProfaned/ProfanedBathtub.png diff --git a/Items/Placeables/FurnitureProfaned/ProfanedWorkbench.cs b/Items/Placeables/FurnitureProfaned/ProfanedWorkbench.cs index 72b486b69a..dad30d1cb7 100644 --- a/Items/Placeables/FurnitureProfaned/ProfanedWorkbench.cs +++ b/Items/Placeables/FurnitureProfaned/ProfanedWorkbench.cs @@ -1,8 +1,9 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureProfaned { + // TODO -- ProfanedWorkBench. I do not want to deal with capitalization issues public class ProfanedWorkbench : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/FurnitureStatigel/StatigelBath.cs b/Items/Placeables/FurnitureStatigel/StatigelBathtub.cs similarity index 87% rename from Items/Placeables/FurnitureStatigel/StatigelBath.cs rename to Items/Placeables/FurnitureStatigel/StatigelBathtub.cs index 853d5f5802..875423555b 100644 --- a/Items/Placeables/FurnitureStatigel/StatigelBath.cs +++ b/Items/Placeables/FurnitureStatigel/StatigelBathtub.cs @@ -1,9 +1,10 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureStatigel { - public class StatigelBath : ModItem + [LegacyName("StatigelBath")] + public class StatigelBathtub : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/FurnitureStatigel/StatigelBath.png b/Items/Placeables/FurnitureStatigel/StatigelBathtub.png similarity index 100% rename from Items/Placeables/FurnitureStatigel/StatigelBath.png rename to Items/Placeables/FurnitureStatigel/StatigelBathtub.png diff --git a/Items/Placeables/FurnitureStatigel/StatigelWorkbench.cs b/Items/Placeables/FurnitureStatigel/StatigelWorkbench.cs index 4bbc58fe95..2ccb04f70c 100644 --- a/Items/Placeables/FurnitureStatigel/StatigelWorkbench.cs +++ b/Items/Placeables/FurnitureStatigel/StatigelWorkbench.cs @@ -1,8 +1,9 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureStatigel { + // TODO -- StatigelWorkBench. I do not want to deal with capitalization issues. public class StatigelWorkbench : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/FurnitureStratus/StratusBricks.cs b/Items/Placeables/FurnitureStratus/StratusBricks.cs index eb624194ba..08de40fdb2 100644 --- a/Items/Placeables/FurnitureStratus/StratusBricks.cs +++ b/Items/Placeables/FurnitureStratus/StratusBricks.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(50).AddRecipeGroup("AnyStoneBlock", 50).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(50).AddRecipeGroup("AnyStoneBlock", 50).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.WorkBenches).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 2).AddTile(TileID.LunarCraftingStation).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 2).AddTile(TileID.LunarCraftingStation).Register(); diff --git a/Items/Placeables/FurnitureStratus/StratusWorkbench.cs b/Items/Placeables/FurnitureStratus/StratusWorkbench.cs index 39224eb864..a60d86fcc4 100644 --- a/Items/Placeables/FurnitureStratus/StratusWorkbench.cs +++ b/Items/Placeables/FurnitureStratus/StratusWorkbench.cs @@ -1,7 +1,8 @@ -using Terraria.ID; +using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureStratus { + // TODO -- StratusWorkBench. I do not want to deal with capitaliztion issues. public class StratusWorkbench : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/FurnitureVoid/VoidBath.cs b/Items/Placeables/FurnitureVoid/VoidBathtub.cs similarity index 88% rename from Items/Placeables/FurnitureVoid/VoidBath.cs rename to Items/Placeables/FurnitureVoid/VoidBathtub.cs index 67d2b8cbbd..0f5ab3b8f4 100644 --- a/Items/Placeables/FurnitureVoid/VoidBath.cs +++ b/Items/Placeables/FurnitureVoid/VoidBathtub.cs @@ -1,9 +1,10 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureVoid { - public class VoidBath : ModItem + [LegacyName("VoidBath")] + public class VoidBathtub : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/FurnitureVoid/VoidBath.png b/Items/Placeables/FurnitureVoid/VoidBathtub.png similarity index 100% rename from Items/Placeables/FurnitureVoid/VoidBath.png rename to Items/Placeables/FurnitureVoid/VoidBathtub.png diff --git a/Items/Placeables/FurnitureVoid/VoidClock.cs b/Items/Placeables/FurnitureVoid/VoidObelisk.cs similarity index 88% rename from Items/Placeables/FurnitureVoid/VoidClock.cs rename to Items/Placeables/FurnitureVoid/VoidObelisk.cs index ec1c9d6392..aea76e3bb7 100644 --- a/Items/Placeables/FurnitureVoid/VoidClock.cs +++ b/Items/Placeables/FurnitureVoid/VoidObelisk.cs @@ -1,9 +1,10 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureVoid { - public class VoidClock : ModItem + [LegacyName("VoidClock")] + public class VoidObelisk : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/FurnitureVoid/VoidClock.png b/Items/Placeables/FurnitureVoid/VoidObelisk.png similarity index 100% rename from Items/Placeables/FurnitureVoid/VoidClock.png rename to Items/Placeables/FurnitureVoid/VoidObelisk.png diff --git a/Items/Placeables/FurnitureVoid/VoidWorkbench.cs b/Items/Placeables/FurnitureVoid/VoidWorkbench.cs index 6b83a3e82d..0cf97e5f1d 100644 --- a/Items/Placeables/FurnitureVoid/VoidWorkbench.cs +++ b/Items/Placeables/FurnitureVoid/VoidWorkbench.cs @@ -1,8 +1,9 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.FurnitureVoid { + // TODO -- VoidWorkBench. I do not want to deal with capitalization issues. public class VoidWorkbench : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/Ores/ExodiumClusterOre.cs b/Items/Placeables/Ores/ExodiumCluster.cs similarity index 91% rename from Items/Placeables/Ores/ExodiumClusterOre.cs rename to Items/Placeables/Ores/ExodiumCluster.cs index bf77eefcb5..06f5dbb6ea 100644 --- a/Items/Placeables/Ores/ExodiumClusterOre.cs +++ b/Items/Placeables/Ores/ExodiumCluster.cs @@ -1,11 +1,12 @@ -using CalamityMod.Tiles.Ores; +using CalamityMod.Tiles.Ores; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Ores { - public class ExodiumClusterOre : ModItem + [LegacyName("ExodiumClusterOre")] + public class ExodiumCluster : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Ores/ExodiumClusterOre.png b/Items/Placeables/Ores/ExodiumCluster.png similarity index 100% rename from Items/Placeables/Ores/ExodiumClusterOre.png rename to Items/Placeables/Ores/ExodiumCluster.png diff --git a/Items/Placeables/Ores/ChaoticOre.cs b/Items/Placeables/Ores/ScoriaOre.cs similarity index 90% rename from Items/Placeables/Ores/ChaoticOre.cs rename to Items/Placeables/Ores/ScoriaOre.cs index d1cd8ac1fe..bbdcb7858f 100644 --- a/Items/Placeables/Ores/ChaoticOre.cs +++ b/Items/Placeables/Ores/ScoriaOre.cs @@ -1,10 +1,11 @@ -using Terraria; +using Terraria; using Terraria.ModLoader; using Terraria.ID; namespace CalamityMod.Items.Placeables.Ores { - public class ChaoticOre : ModItem + [LegacyName("ChaoticOre")] + public class ScoriaOre : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Ores/ChaoticOre.png b/Items/Placeables/Ores/ScoriaOre.png similarity index 100% rename from Items/Placeables/Ores/ChaoticOre.png rename to Items/Placeables/Ores/ScoriaOre.png diff --git a/Items/Placeables/Plates/PlagueContainmentCells.cs b/Items/Placeables/Plates/Plagueplate.cs similarity index 91% rename from Items/Placeables/Plates/PlagueContainmentCells.cs rename to Items/Placeables/Plates/Plagueplate.cs index d556a0984b..d233289498 100644 --- a/Items/Placeables/Plates/PlagueContainmentCells.cs +++ b/Items/Placeables/Plates/Plagueplate.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Placeables.Walls; +using CalamityMod.Items.Placeables.Walls; using CalamityMod.Items.Materials; using Terraria; using Terraria.ID; @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Plates { - public class PlagueContainmentCells : ModItem + [LegacyName("PlagueContainmentCells")] + public class Plagueplate : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Plates/PlagueContainmentCells.png b/Items/Placeables/Plates/Plagueplate.png similarity index 100% rename from Items/Placeables/Plates/PlagueContainmentCells.png rename to Items/Placeables/Plates/Plagueplate.png diff --git a/Items/Placeables/Walls/OtherworldlyStoneWall.cs b/Items/Placeables/Walls/OtherworldlyStoneWall.cs index d6dac25c6c..dc6972a8b5 100644 --- a/Items/Placeables/Walls/OtherworldlyStoneWall.cs +++ b/Items/Placeables/Walls/OtherworldlyStoneWall.cs @@ -1,9 +1,10 @@ -using CalamityMod.Items.Placeables.FurnitureOtherworldly; +using CalamityMod.Items.Placeables.FurnitureOtherworldly; using Terraria.ModLoader; using WallTiles = CalamityMod.Walls; using Terraria.ID; namespace CalamityMod.Items.Placeables.Walls { + [LegacyName("OccultStoneWall")] public class OtherworldlyStoneWall : ModItem { public override void SetStaticDefaults() diff --git a/Items/Placeables/Walls/PlagueContainmentCellsWall.cs b/Items/Placeables/Walls/PlagueContainmentCellsWall.cs index d51977da65..776304cdc8 100644 --- a/Items/Placeables/Walls/PlagueContainmentCellsWall.cs +++ b/Items/Placeables/Walls/PlagueContainmentCellsWall.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.Walls public override void AddRecipes() { - CreateRecipe(4).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); + CreateRecipe(4).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); } } } diff --git a/Items/Placeables/Walls/PlaguedPlateWall.cs b/Items/Placeables/Walls/PlaguedPlateWall.cs index 9a6808f5aa..32a2a7618b 100644 --- a/Items/Placeables/Walls/PlaguedPlateWall.cs +++ b/Items/Placeables/Walls/PlaguedPlateWall.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Walls public override void AddRecipes() { - CreateRecipe(4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Potions/AstralInjection.cs b/Items/Potions/AstralInjection.cs index e77c9827e4..590a3e824c 100644 --- a/Items/Potions/AstralInjection.cs +++ b/Items/Potions/AstralInjection.cs @@ -53,14 +53,14 @@ namespace CalamityMod.Items.Potions CreateRecipe(4). AddIngredient(ItemID.BottledWater, 4). AddIngredient(4). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); CreateRecipe(8). AddIngredient(ItemID.BottledWater, 4). AddIngredient(5). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/AstralJelly.cs b/Items/Potions/AureusCell.cs similarity index 96% rename from Items/Potions/AstralJelly.cs rename to Items/Potions/AureusCell.cs index acdfac8cfd..02ebebb271 100644 --- a/Items/Potions/AstralJelly.cs +++ b/Items/Potions/AureusCell.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Potions { - public class AstralJelly : ModItem + [LegacyName("AstralJelly")] + public class AureusCell : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Potions/AstralJelly.png b/Items/Potions/AureusCell.png similarity index 100% rename from Items/Potions/AstralJelly.png rename to Items/Potions/AureusCell.png diff --git a/Items/Potions/GravityNormalizerPotion.cs b/Items/Potions/GravityNormalizerPotion.cs index 249a8054f5..e0691c1397 100644 --- a/Items/Potions/GravityNormalizerPotion.cs +++ b/Items/Potions/GravityNormalizerPotion.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions { CreateRecipe(). AddIngredient(ItemID.GravitationPotion). - AddIngredient(). + AddIngredient(). AddIngredient(). AddTile(TileID.AlchemyTable). Register(); @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Potions CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(10). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/SunkenStew.cs b/Items/Potions/HadalStew.cs similarity index 97% rename from Items/Potions/SunkenStew.cs rename to Items/Potions/HadalStew.cs index 98b617d1da..abc9acae0e 100644 --- a/Items/Potions/SunkenStew.cs +++ b/Items/Potions/HadalStew.cs @@ -8,7 +8,8 @@ using System.Linq; namespace CalamityMod.Items.Potions { - public class SunkenStew : ModItem + [LegacyName("SunkenStew")] + public class HadalStew : ModItem { public static int BuffType = BuffID.WellFed2; public static int BuffDuration = 216000; diff --git a/Items/Potions/SunkenStew.png b/Items/Potions/HadalStew.png similarity index 100% rename from Items/Potions/SunkenStew.png rename to Items/Potions/HadalStew.png diff --git a/Items/SummonItems/Abomination.cs b/Items/SummonItems/Abombination.cs similarity index 96% rename from Items/SummonItems/Abomination.cs rename to Items/SummonItems/Abombination.cs index f37887a35d..3690c81e1c 100644 --- a/Items/SummonItems/Abomination.cs +++ b/Items/SummonItems/Abombination.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class Abomination : ModItem + [LegacyName("Abomination")] + public class Abombination : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/Abomination.png b/Items/SummonItems/Abombination.png similarity index 100% rename from Items/SummonItems/Abomination.png rename to Items/SummonItems/Abombination.png diff --git a/Items/SummonItems/EyeofExtinction.cs b/Items/SummonItems/CeremonialUrn.cs similarity index 92% rename from Items/SummonItems/EyeofExtinction.cs rename to Items/SummonItems/CeremonialUrn.cs index 26e1590cbb..d281431f42 100644 --- a/Items/SummonItems/EyeofExtinction.cs +++ b/Items/SummonItems/CeremonialUrn.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems { - public class EyeofExtinction : ModItem + [LegacyName("EyeofExtinction")] + public class CeremonialUrn : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/EyeofExtinction.png b/Items/SummonItems/CeremonialUrn.png similarity index 100% rename from Items/SummonItems/EyeofExtinction.png rename to Items/SummonItems/CeremonialUrn.png diff --git a/Items/SummonItems/AncientMedallion.cs b/Items/SummonItems/DeathWhistle.cs similarity index 96% rename from Items/SummonItems/AncientMedallion.cs rename to Items/SummonItems/DeathWhistle.cs index 6979423418..2ada9293d9 100644 --- a/Items/SummonItems/AncientMedallion.cs +++ b/Items/SummonItems/DeathWhistle.cs @@ -8,7 +8,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.SummonItems { - public class AncientMedallion : ModItem + [LegacyName("AncientMedallion")] + public class DeathWhistle : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/AncientMedallion.png b/Items/SummonItems/DeathWhistle.png similarity index 100% rename from Items/SummonItems/AncientMedallion.png rename to Items/SummonItems/DeathWhistle.png diff --git a/Items/SummonItems/DriedSeafood.cs b/Items/SummonItems/DesertMedallion.cs similarity index 97% rename from Items/SummonItems/DriedSeafood.cs rename to Items/SummonItems/DesertMedallion.cs index 355df70b74..2579426664 100644 --- a/Items/SummonItems/DriedSeafood.cs +++ b/Items/SummonItems/DesertMedallion.cs @@ -9,7 +9,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class DriedSeafood : ModItem + [LegacyName("DriedSeafood")] + public class DesertMedallion : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/DriedSeafood.png b/Items/SummonItems/DesertMedallion.png similarity index 100% rename from Items/SummonItems/DriedSeafood.png rename to Items/SummonItems/DesertMedallion.png diff --git a/Items/SummonItems/BirbPheromones.cs b/Items/SummonItems/ExoticPheromones.cs similarity index 95% rename from Items/SummonItems/BirbPheromones.cs rename to Items/SummonItems/ExoticPheromones.cs index e18c902728..37825f03b9 100644 --- a/Items/SummonItems/BirbPheromones.cs +++ b/Items/SummonItems/ExoticPheromones.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BirbPheromones : ModItem + [LegacyName("BirbPheromones")] + public class ExoticPheromones : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BirbPheromones.png b/Items/SummonItems/ExoticPheromones.png similarity index 100% rename from Items/SummonItems/BirbPheromones.png rename to Items/SummonItems/ExoticPheromones.png diff --git a/Items/SummonItems/BlightedEyeball.cs b/Items/SummonItems/EyeofDesolation.cs similarity index 95% rename from Items/SummonItems/BlightedEyeball.cs rename to Items/SummonItems/EyeofDesolation.cs index bfb8a540af..ccb89e036a 100644 --- a/Items/SummonItems/BlightedEyeball.cs +++ b/Items/SummonItems/EyeofDesolation.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BlightedEyeball : ModItem + [LegacyName("BlightedEyeball")] + public class EyeofDesolation : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BlightedEyeball.png b/Items/SummonItems/EyeofDesolation.png similarity index 100% rename from Items/SummonItems/BlightedEyeball.png rename to Items/SummonItems/EyeofDesolation.png diff --git a/Items/SummonItems/ChickenEgg.cs b/Items/SummonItems/JungleDragonEgg.cs similarity index 96% rename from Items/SummonItems/ChickenEgg.cs rename to Items/SummonItems/JungleDragonEgg.cs index e7a08e13bb..bb0f66b500 100644 --- a/Items/SummonItems/ChickenEgg.cs +++ b/Items/SummonItems/JungleDragonEgg.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class ChickenEgg : ModItem + [LegacyName("ChickenEgg")] + public class JungleDragonEgg : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/ChickenEgg.png b/Items/SummonItems/JungleDragonEgg.png similarity index 100% rename from Items/SummonItems/ChickenEgg.png rename to Items/SummonItems/JungleDragonEgg.png diff --git a/Items/SummonItems/BulbofDoom.cs b/Items/SummonItems/Portabulb.cs similarity index 96% rename from Items/SummonItems/BulbofDoom.cs rename to Items/SummonItems/Portabulb.cs index 975dcc3ec4..2d8aca8c63 100644 --- a/Items/SummonItems/BulbofDoom.cs +++ b/Items/SummonItems/Portabulb.cs @@ -7,7 +7,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BulbofDoom : ModItem + [LegacyName("BulbofDoom")] + public class Portabulb : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BulbofDoom.png b/Items/SummonItems/Portabulb.png similarity index 100% rename from Items/SummonItems/BulbofDoom.png rename to Items/SummonItems/Portabulb.png diff --git a/Items/SummonItems/ProfanedCoreUnlimited.cs b/Items/SummonItems/ProfanedCore.cs similarity index 95% rename from Items/SummonItems/ProfanedCoreUnlimited.cs rename to Items/SummonItems/ProfanedCore.cs index 9ba4cbad62..4f9d8bfc12 100644 --- a/Items/SummonItems/ProfanedCoreUnlimited.cs +++ b/Items/SummonItems/ProfanedCore.cs @@ -8,7 +8,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.SummonItems { - public class ProfanedCoreUnlimited : ModItem + [LegacyName("ProfanedCoreUnlimited")] + public class ProfanedCore : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/ProfanedCoreUnlimited.png b/Items/SummonItems/ProfanedCore.png similarity index 100% rename from Items/SummonItems/ProfanedCoreUnlimited.png rename to Items/SummonItems/ProfanedCore.png diff --git a/Items/SummonItems/RuneofCos.cs b/Items/SummonItems/RuneofKos.cs similarity index 97% rename from Items/SummonItems/RuneofCos.cs rename to Items/SummonItems/RuneofKos.cs index 805b282ce0..822a7caf68 100644 --- a/Items/SummonItems/RuneofCos.cs +++ b/Items/SummonItems/RuneofKos.cs @@ -10,7 +10,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class RuneofCos : ModItem + [LegacyName("RuneofCos")] + public class RuneofKos : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/RuneofCos.png b/Items/SummonItems/RuneofKos.png similarity index 100% rename from Items/SummonItems/RuneofCos.png rename to Items/SummonItems/RuneofKos.png diff --git a/Items/SummonItems/Starcore.cs b/Items/SummonItems/Starcore.cs index 13cd8cb101..62cab52239 100644 --- a/Items/SummonItems/Starcore.cs +++ b/Items/SummonItems/Starcore.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(25). - AddIngredient(8). + AddIngredient(8). AddIngredient(4). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/SummonItems/BossRush.cs b/Items/SummonItems/Terminus.cs similarity index 94% rename from Items/SummonItems/BossRush.cs rename to Items/SummonItems/Terminus.cs index 184a435b2c..80d44c3156 100644 --- a/Items/SummonItems/BossRush.cs +++ b/Items/SummonItems/Terminus.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems { - public class BossRush : ModItem + [LegacyName("BossRush")] + public class Terminus : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BossRush.png b/Items/SummonItems/Terminus.png similarity index 100% rename from Items/SummonItems/BossRush.png rename to Items/SummonItems/Terminus.png diff --git a/Items/Tools/PurityAxe.cs b/Items/Tools/AxeofPurity.cs similarity index 97% rename from Items/Tools/PurityAxe.cs rename to Items/Tools/AxeofPurity.cs index 9beeed5595..b1628c634b 100644 --- a/Items/Tools/PurityAxe.cs +++ b/Items/Tools/AxeofPurity.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Tools { - public class PurityAxe : ModItem + [LegacyName("PurityAxe")] + public class AxeofPurity : ModItem { private static int AxePower = 125 / 5; private static float PowderSpeed = 21f; diff --git a/Items/Tools/PurityAxe.png b/Items/Tools/AxeofPurity.png similarity index 100% rename from Items/Tools/PurityAxe.png rename to Items/Tools/AxeofPurity.png diff --git a/Items/Tools/GallantPickaxe.cs b/Items/Tools/GenesisPickaxe.cs similarity index 95% rename from Items/Tools/GallantPickaxe.cs rename to Items/Tools/GenesisPickaxe.cs index b8781b5147..40b718615c 100644 --- a/Items/Tools/GallantPickaxe.cs +++ b/Items/Tools/GenesisPickaxe.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Tools { - public class GallantPickaxe : ModItem + [LegacyName("GallantPickaxe")] + public class GenesisPickaxe : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Tools/GallantPickaxe.png b/Items/Tools/GenesisPickaxe.png similarity index 100% rename from Items/Tools/GallantPickaxe.png rename to Items/Tools/GenesisPickaxe.png diff --git a/Items/Tools/InfernaCutter.cs b/Items/Tools/InfernaCutter.cs index 846541aedf..3229f7f52f 100644 --- a/Items/Tools/InfernaCutter.cs +++ b/Items/Tools/InfernaCutter.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.SoulofFright, 8). AddIngredient(3). AddTile(TileID.MythrilAnvil). diff --git a/Items/Tools/FlamebeakHampick.cs b/Items/Tools/SeismicHampick.cs similarity index 97% rename from Items/Tools/FlamebeakHampick.cs rename to Items/Tools/SeismicHampick.cs index 3f28704f03..c01b8528e8 100644 --- a/Items/Tools/FlamebeakHampick.cs +++ b/Items/Tools/SeismicHampick.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Tools { - public class FlamebeakHampick : ModItem + [LegacyName("FlamebeakHampick")] + public class SeismicHampick : ModItem { private const int PickPower = 210; private const int HammerPower = 95; diff --git a/Items/Tools/FlamebeakHampick.png b/Items/Tools/SeismicHampick.png similarity index 100% rename from Items/Tools/FlamebeakHampick.png rename to Items/Tools/SeismicHampick.png diff --git a/Items/Tools/ChaoswarpedSlashaxe.cs b/Items/Tools/TectonicTruncator.cs similarity index 95% rename from Items/Tools/ChaoswarpedSlashaxe.cs rename to Items/Tools/TectonicTruncator.cs index 9845bb5071..b5fc61df97 100644 --- a/Items/Tools/ChaoswarpedSlashaxe.cs +++ b/Items/Tools/TectonicTruncator.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Tools { - public class ChaoswarpedSlashaxe : ModItem + [LegacyName("ChaoswarpedSlashaxe")] + public class TectonicTruncator : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Tools/ChaoswarpedSlashaxe.png b/Items/Tools/TectonicTruncator.png similarity index 100% rename from Items/Tools/ChaoswarpedSlashaxe.png rename to Items/Tools/TectonicTruncator.png diff --git a/Items/TreasureBags/AbyssalTreasure.cs b/Items/TreasureBags/AbyssalTreasure.cs index 7141d541f8..d20f2a5219 100644 --- a/Items/TreasureBags/AbyssalTreasure.cs +++ b/Items/TreasureBags/AbyssalTreasure.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(s, player, ItemID.HellfireArrow, 10, 20); break; case 2: - DropHelper.DropItem(s, player, ModContent.ItemType()); + DropHelper.DropItem(s, player, ModContent.ItemType()); break; case 3: DropHelper.DropItem(s, player, ItemID.StickyDynamite); diff --git a/Items/TreasureBags/AstrageldonBag.cs b/Items/TreasureBags/AstrumAureusBag.cs similarity index 96% rename from Items/TreasureBags/AstrageldonBag.cs rename to Items/TreasureBags/AstrumAureusBag.cs index 041ff4db7d..d0c861eba3 100644 --- a/Items/TreasureBags/AstrageldonBag.cs +++ b/Items/TreasureBags/AstrumAureusBag.cs @@ -19,7 +19,8 @@ using Microsoft.Xna.Framework; namespace CalamityMod.Items.TreasureBags { - public class AstrageldonBag : ModItem + [LegacyName("AstrageldonBag")] + public class AstrumAureusBag : ModItem { public override int BossBagNPC => ModContent.NPCType(); @@ -55,7 +56,7 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 12, 16); + DropHelper.DropItem(s, player, ModContent.ItemType(), 12, 16); DropHelper.DropItem(s, player, ModContent.ItemType(), 30, 40); DropHelper.DropItem(s, player, ItemID.FallenStar, 20, 30); diff --git a/Items/TreasureBags/AstrageldonBag.png b/Items/TreasureBags/AstrumAureusBag.png similarity index 100% rename from Items/TreasureBags/AstrageldonBag.png rename to Items/TreasureBags/AstrumAureusBag.png diff --git a/Items/TreasureBags/CalamitasBag.cs b/Items/TreasureBags/CalamitasBag.cs index f481292ea1..8e81b7b23f 100644 --- a/Items/TreasureBags/CalamitasBag.cs +++ b/Items/TreasureBags/CalamitasBag.cs @@ -57,9 +57,9 @@ namespace CalamityMod.Items.TreasureBags // Weapons float w = DropHelper.BagWeaponDropRateFloat; DropHelper.DropEntireWeightedSet(s, player, - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w) ); diff --git a/Items/TreasureBags/DraedonTreasureBag.cs b/Items/TreasureBags/DraedonBag.cs similarity index 97% rename from Items/TreasureBags/DraedonTreasureBag.cs rename to Items/TreasureBags/DraedonBag.cs index e9504cb987..8d25827a5f 100644 --- a/Items/TreasureBags/DraedonTreasureBag.cs +++ b/Items/TreasureBags/DraedonBag.cs @@ -14,7 +14,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.TreasureBags { - public class DraedonTreasureBag : ModItem + [LegacyName("DraedonTreasureBag")] + public class DraedonBag : ModItem { public override int BossBagNPC => ModContent.NPCType(); diff --git a/Items/TreasureBags/DraedonTreasureBag.png b/Items/TreasureBags/DraedonBag.png similarity index 100% rename from Items/TreasureBags/DraedonTreasureBag.png rename to Items/TreasureBags/DraedonBag.png diff --git a/Items/TreasureBags/BumblebirbBag.cs b/Items/TreasureBags/DragonfollyBag.cs similarity index 97% rename from Items/TreasureBags/BumblebirbBag.cs rename to Items/TreasureBags/DragonfollyBag.cs index 7eb06a5624..5add24dd11 100644 --- a/Items/TreasureBags/BumblebirbBag.cs +++ b/Items/TreasureBags/DragonfollyBag.cs @@ -16,7 +16,8 @@ using Microsoft.Xna.Framework; namespace CalamityMod.Items.TreasureBags { - public class BumblebirbBag : ModItem + [LegacyName("BumblebirbBag")] + public class DragonfollyBag : ModItem { public override int BossBagNPC => ModContent.NPCType(); diff --git a/Items/TreasureBags/BumblebirbBag.png b/Items/TreasureBags/DragonfollyBag.png similarity index 100% rename from Items/TreasureBags/BumblebirbBag.png rename to Items/TreasureBags/DragonfollyBag.png diff --git a/Items/TreasureBags/FleshyGeodeT1.cs b/Items/TreasureBags/FleshyGeode.cs similarity index 95% rename from Items/TreasureBags/FleshyGeodeT1.cs rename to Items/TreasureBags/FleshyGeode.cs index d55356dd2f..c8ae2df58e 100644 --- a/Items/TreasureBags/FleshyGeodeT1.cs +++ b/Items/TreasureBags/FleshyGeode.cs @@ -5,7 +5,8 @@ using Terraria.ID; namespace CalamityMod.Items.TreasureBags { - public class FleshyGeodeT1 : ModItem + [LegacyName("FleshyGeodeT1")] + public class FleshyGeode : ModItem { public override void SetStaticDefaults() { diff --git a/Items/TreasureBags/FleshyGeodeT1.png b/Items/TreasureBags/FleshyGeode.png similarity index 100% rename from Items/TreasureBags/FleshyGeodeT1.png rename to Items/TreasureBags/FleshyGeode.png diff --git a/Items/TreasureBags/LeviathanBag.cs b/Items/TreasureBags/LeviathanBag.cs index 6aed727064..906681d8e2 100644 --- a/Items/TreasureBags/LeviathanBag.cs +++ b/Items/TreasureBags/LeviathanBag.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropEntireWeightedSet(s, player, DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), diff --git a/Items/TreasureBags/FleshyGeodeT2.cs b/Items/TreasureBags/NecromanticGeode.cs similarity index 96% rename from Items/TreasureBags/FleshyGeodeT2.cs rename to Items/TreasureBags/NecromanticGeode.cs index 8a222b2bcc..c13fa072cd 100644 --- a/Items/TreasureBags/FleshyGeodeT2.cs +++ b/Items/TreasureBags/NecromanticGeode.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.TreasureBags { - public class FleshyGeodeT2 : ModItem + [LegacyName("FleshyGeodeT2")] + public class NecromanticGeode : ModItem { public override void SetStaticDefaults() { diff --git a/Items/TreasureBags/FleshyGeodeT2.png b/Items/TreasureBags/NecromanticGeode.png similarity index 100% rename from Items/TreasureBags/FleshyGeodeT2.png rename to Items/TreasureBags/NecromanticGeode.png diff --git a/Items/TreasureBags/PlaguebringerGoliathBag.cs b/Items/TreasureBags/PlaguebringerGoliathBag.cs index d4f57ba97e..01e64b34e1 100644 --- a/Items/TreasureBags/PlaguebringerGoliathBag.cs +++ b/Items/TreasureBags/PlaguebringerGoliathBag.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.TreasureBags // Weapons float w = DropHelper.BagWeaponDropRateFloat; DropHelper.DropEntireWeightedSet(s, player, - DropHelper.WeightStack(w), // Virulence + DropHelper.WeightStack(w), // Virulence DropHelper.WeightStack(w), DropHelper.WeightStack(w), // Pandemic DropHelper.WeightStack(w), diff --git a/Items/TreasureBags/RavagerBag.cs b/Items/TreasureBags/RavagerBag.cs index cc867e4bdc..1a7acdabfb 100644 --- a/Items/TreasureBags/RavagerBag.cs +++ b/Items/TreasureBags/RavagerBag.cs @@ -52,8 +52,8 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), !DownedBossSystem.downedProvidence); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), !DownedBossSystem.downedProvidence); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence); // Weapons float w = DropHelper.BagWeaponDropRateFloat; diff --git a/Items/TreasureBags/SCalBag.cs b/Items/TreasureBags/SupremeCalamitasCoffer.cs similarity index 95% rename from Items/TreasureBags/SCalBag.cs rename to Items/TreasureBags/SupremeCalamitasCoffer.cs index d04b688837..ae9ca3bef5 100644 --- a/Items/TreasureBags/SCalBag.cs +++ b/Items/TreasureBags/SupremeCalamitasCoffer.cs @@ -17,7 +17,8 @@ using SCalBoss = CalamityMod.NPCs.SupremeCalamitas.SupremeCalamitas; namespace CalamityMod.Items.TreasureBags { - public class SCalBag : ModItem + [LegacyName("SCalBag")] + public class SupremeCalamitasCoffer : ModItem { public override int BossBagNPC => ModContent.NPCType(); @@ -61,7 +62,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w) diff --git a/Items/TreasureBags/SCalBag.png b/Items/TreasureBags/SupremeCalamitasCoffer.png similarity index 100% rename from Items/TreasureBags/SCalBag.png rename to Items/TreasureBags/SupremeCalamitasCoffer.png diff --git a/Items/Weapons/Magic/T1000.cs b/Items/Weapons/Magic/AetherfluxCannon.cs similarity index 97% rename from Items/Weapons/Magic/T1000.cs rename to Items/Weapons/Magic/AetherfluxCannon.cs index 870e6eaa3d..0459172ea2 100644 --- a/Items/Weapons/Magic/T1000.cs +++ b/Items/Weapons/Magic/AetherfluxCannon.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class T1000 : ModItem + [LegacyName("T1000")] + public class AetherfluxCannon : ModItem { public const int UseTime = 36; diff --git a/Items/Weapons/Magic/T1000.png b/Items/Weapons/Magic/AetherfluxCannon.png similarity index 100% rename from Items/Weapons/Magic/T1000.png rename to Items/Weapons/Magic/AetherfluxCannon.png diff --git a/Items/Weapons/Magic/SirensSong.cs b/Items/Weapons/Magic/AnahitasArpeggio.cs similarity index 96% rename from Items/Weapons/Magic/SirensSong.cs rename to Items/Weapons/Magic/AnahitasArpeggio.cs index 7db7894e56..2bae10d8c3 100644 --- a/Items/Weapons/Magic/SirensSong.cs +++ b/Items/Weapons/Magic/AnahitasArpeggio.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class SirensSong : ModItem + [LegacyName("SirensSong")] + public class AnahitasArpeggio : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/SirensSong.png b/Items/Weapons/Magic/AnahitasArpeggio.png similarity index 100% rename from Items/Weapons/Magic/SirensSong.png rename to Items/Weapons/Magic/AnahitasArpeggio.png diff --git a/Items/Weapons/Magic/GammaFusillade.cs b/Items/Weapons/Magic/Biofusillade.cs similarity index 95% rename from Items/Weapons/Magic/GammaFusillade.cs rename to Items/Weapons/Magic/Biofusillade.cs index 9d680e7d14..4ed97a7d3c 100644 --- a/Items/Weapons/Magic/GammaFusillade.cs +++ b/Items/Weapons/Magic/Biofusillade.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class GammaFusillade : ModItem + [LegacyName("GammaFusillade")] + public class Biofusillade : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/GammaFusillade.png b/Items/Weapons/Magic/Biofusillade.png similarity index 100% rename from Items/Weapons/Magic/GammaFusillade.png rename to Items/Weapons/Magic/Biofusillade.png diff --git a/Items/Weapons/Magic/ClamorNoctus.cs b/Items/Weapons/Magic/ClamorNoctus.cs index 0530fc9a9f..097bcd33cd 100644 --- a/Items/Weapons/Magic/ClamorNoctus.cs +++ b/Items/Weapons/Magic/ClamorNoctus.cs @@ -110,7 +110,7 @@ Fires night wyverns and stars from the sky that stick to enemies and tiles and e AddIngredient(). AddIngredient(6). AddIngredient(5). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Magic/DeathValley.cs b/Items/Weapons/Magic/DeathValleyDuster.cs similarity index 95% rename from Items/Weapons/Magic/DeathValley.cs rename to Items/Weapons/Magic/DeathValleyDuster.cs index 1d78ea4be0..e0c135354b 100644 --- a/Items/Weapons/Magic/DeathValley.cs +++ b/Items/Weapons/Magic/DeathValleyDuster.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class DeathValley : ModItem + [LegacyName("DeathValley")] + public class DeathValleyDuster : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/DeathValley.png b/Items/Weapons/Magic/DeathValleyDuster.png similarity index 100% rename from Items/Weapons/Magic/DeathValley.png rename to Items/Weapons/Magic/DeathValleyDuster.png diff --git a/Items/Weapons/Magic/Eternity.cs b/Items/Weapons/Magic/Eternity.cs index 60e22137f8..522c67bb29 100644 --- a/Items/Weapons/Magic/Eternity.cs +++ b/Items/Weapons/Magic/Eternity.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(20). diff --git a/Items/Weapons/Magic/FaceMelter.cs b/Items/Weapons/Magic/FaceMelter.cs index 94a1a46c21..8fa3e78725 100644 --- a/Items/Weapons/Magic/FaceMelter.cs +++ b/Items/Weapons/Magic/FaceMelter.cs @@ -93,7 +93,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.TheAxe). AddIngredient(ItemID.MagicalHarp). - AddIngredient(). + AddIngredient(). AddIngredient(8). AddIngredient(20). AddTile(). diff --git a/Items/Weapons/Magic/HeliumFlash.cs b/Items/Weapons/Magic/HeliumFlash.cs index baea1fd7d2..e374d1e39e 100644 --- a/Items/Weapons/Magic/HeliumFlash.cs +++ b/Items/Weapons/Magic/HeliumFlash.cs @@ -99,7 +99,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(ItemID.FragmentSolar, 20). AddIngredient(ItemID.FragmentNebula, 5). diff --git a/Items/Weapons/Magic/CalamitasInferno.cs b/Items/Weapons/Magic/LashesofChaos.cs similarity index 93% rename from Items/Weapons/Magic/CalamitasInferno.cs rename to Items/Weapons/Magic/LashesofChaos.cs index 05096534c3..33464d06df 100644 --- a/Items/Weapons/Magic/CalamitasInferno.cs +++ b/Items/Weapons/Magic/LashesofChaos.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class CalamitasInferno : ModItem + [LegacyName("CalamitasInferno")] + public class LashesofChaos : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/CalamitasInferno.png b/Items/Weapons/Magic/LashesofChaos.png similarity index 100% rename from Items/Weapons/Magic/CalamitasInferno.png rename to Items/Weapons/Magic/LashesofChaos.png diff --git a/Items/Weapons/Magic/Lazhar.cs b/Items/Weapons/Magic/Lazhar.cs index 28aeb4e116..81bb9d5c0b 100644 --- a/Items/Weapons/Magic/Lazhar.cs +++ b/Items/Weapons/Magic/Lazhar.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(1). AddIngredient(ItemID.HeatRay). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.FragmentSolar, 10). AddIngredient(ItemID.ChlorophyteBar, 6). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Magic/Zapper.cs b/Items/Weapons/Magic/Lazinator.cs similarity index 97% rename from Items/Weapons/Magic/Zapper.cs rename to Items/Weapons/Magic/Lazinator.cs index 3c38563d9c..8ca7d27dbf 100644 --- a/Items/Weapons/Magic/Zapper.cs +++ b/Items/Weapons/Magic/Lazinator.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Zapper : ModItem + [LegacyName("Zapper")] + public class Lazinator : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/Zapper.png b/Items/Weapons/Magic/Lazinator.png similarity index 100% rename from Items/Weapons/Magic/Zapper.png rename to Items/Weapons/Magic/Lazinator.png diff --git a/Items/Weapons/Magic/PrimordialEarth.cs b/Items/Weapons/Magic/PrimordialEarth.cs index 5f379994e8..b7a825199e 100644 --- a/Items/Weapons/Magic/PrimordialEarth.cs +++ b/Items/Weapons/Magic/PrimordialEarth.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.AncientBattleArmorMaterial, 3). AddIngredient(ItemID.MeteoriteBar, 5). AddIngredient(ItemID.Ectoplasm, 5). diff --git a/Items/Weapons/Magic/BlushieStaff.cs b/Items/Weapons/Magic/StaffofBlushie.cs similarity index 95% rename from Items/Weapons/Magic/BlushieStaff.cs rename to Items/Weapons/Magic/StaffofBlushie.cs index dc458a106c..8b9c4183bd 100644 --- a/Items/Weapons/Magic/BlushieStaff.cs +++ b/Items/Weapons/Magic/StaffofBlushie.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class BlushieStaff : ModItem + [LegacyName("BlushieStaff")] + public class StaffofBlushie : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/BlushieStaff.png b/Items/Weapons/Magic/StaffofBlushie.png similarity index 100% rename from Items/Weapons/Magic/BlushieStaff.png rename to Items/Weapons/Magic/StaffofBlushie.png diff --git a/Items/Weapons/Magic/StratusSphere.cs b/Items/Weapons/Magic/StratusSphere.cs index 0864911e4a..37230ce032 100644 --- a/Items/Weapons/Magic/StratusSphere.cs +++ b/Items/Weapons/Magic/StratusSphere.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.NebulaArcanum). AddIngredient(5). AddIngredient(4). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Magic/Judgement.cs b/Items/Weapons/Magic/TheDanceofLight.cs similarity index 97% rename from Items/Weapons/Magic/Judgement.cs rename to Items/Weapons/Magic/TheDanceofLight.cs index 614f4d7fac..bcde5d2041 100644 --- a/Items/Weapons/Magic/Judgement.cs +++ b/Items/Weapons/Magic/TheDanceofLight.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Judgement : ModItem + [LegacyName("Judgement", "Judgment")] + public class TheDanceofLight : ModItem { public const int HitsPerFlash = 300; public const int FlashBaseDamage = 16000; diff --git a/Items/Weapons/Magic/Judgement.png b/Items/Weapons/Magic/TheDanceofLight.png similarity index 100% rename from Items/Weapons/Magic/Judgement.png rename to Items/Weapons/Magic/TheDanceofLight.png diff --git a/Items/Weapons/Magic/Vehemenc.cs b/Items/Weapons/Magic/Vehemence.cs similarity index 96% rename from Items/Weapons/Magic/Vehemenc.cs rename to Items/Weapons/Magic/Vehemence.cs index 1b62ffecb7..6d790bd7d0 100644 --- a/Items/Weapons/Magic/Vehemenc.cs +++ b/Items/Weapons/Magic/Vehemence.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Vehemenc : ModItem + [LegacyName("Vehemenc")] + public class Vehemence : ModItem { public const int BaseDamage = 5185; public const float SkullRatio = 0.08f; diff --git a/Items/Weapons/Magic/Vehemenc.png b/Items/Weapons/Magic/Vehemence.png similarity index 100% rename from Items/Weapons/Magic/Vehemenc.png rename to Items/Weapons/Magic/Vehemence.png diff --git a/Items/Weapons/Magic/VoidVortex.cs b/Items/Weapons/Magic/VoidVortex.cs index 58eb802c79..9472fb9168 100644 --- a/Items/Weapons/Magic/VoidVortex.cs +++ b/Items/Weapons/Magic/VoidVortex.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Magic/Climax.cs b/Items/Weapons/Magic/VoltaicClimax.cs similarity index 97% rename from Items/Weapons/Magic/Climax.cs rename to Items/Weapons/Magic/VoltaicClimax.cs index 79705e48a6..d1de652a3b 100644 --- a/Items/Weapons/Magic/Climax.cs +++ b/Items/Weapons/Magic/VoltaicClimax.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Climax : ModItem + [LegacyName("Climax")] + public class VoltaicClimax : ModItem { public const int OrbFireRate = 10; diff --git a/Items/Weapons/Magic/Climax.png b/Items/Weapons/Magic/VoltaicClimax.png similarity index 100% rename from Items/Weapons/Magic/Climax.png rename to Items/Weapons/Magic/VoltaicClimax.png diff --git a/Items/Weapons/Melee/AbyssBlade.cs b/Items/Weapons/Melee/AbyssBlade.cs index 1f082d6b15..262bfc5e22 100644 --- a/Items/Weapons/Melee/AbyssBlade.cs +++ b/Items/Weapons/Melee/AbyssBlade.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.BrokenHeroSword). AddIngredient(15). AddIngredient(10). diff --git a/Items/Weapons/Melee/ProfanedSword.cs b/Items/Weapons/Melee/BrimstoneSword.cs similarity index 97% rename from Items/Weapons/Melee/ProfanedSword.cs rename to Items/Weapons/Melee/BrimstoneSword.cs index d0363b1247..78e3d69a0b 100644 --- a/Items/Weapons/Melee/ProfanedSword.cs +++ b/Items/Weapons/Melee/BrimstoneSword.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class ProfanedSword : ModItem + [LegacyName("ProfanedSword")] + public class BrimstoneSword : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/ProfanedSword.png b/Items/Weapons/Melee/BrimstoneSword.png similarity index 100% rename from Items/Weapons/Melee/ProfanedSword.png rename to Items/Weapons/Melee/BrimstoneSword.png diff --git a/Items/Weapons/Melee/BiomeBlade.cs b/Items/Weapons/Melee/BrokenBiomeBlade.cs similarity index 98% rename from Items/Weapons/Melee/BiomeBlade.cs rename to Items/Weapons/Melee/BrokenBiomeBlade.cs index d4b573b54e..1ee6e528f6 100644 --- a/Items/Weapons/Melee/BiomeBlade.cs +++ b/Items/Weapons/Melee/BrokenBiomeBlade.cs @@ -18,7 +18,8 @@ using Terraria.GameContent; namespace CalamityMod.Items.Weapons.Melee { - public class BiomeBlade : ModItem + [LegacyName("BiomeBlade")] + public class BrokenBiomeBlade : ModItem { public Attunement mainAttunement = null; public Attunement secondaryAttunement = null; @@ -143,10 +144,10 @@ namespace CalamityMod.Items.Weapons.Melee { var clone = base.Clone(item); - if (Main.mouseItem.type == ItemType()) + if (Main.mouseItem.type == ItemType()) item.ModItem?.HoldItem(Main.player[Main.myPlayer]); - if (clone is BiomeBlade a && item.ModItem is BiomeBlade a2) + if (clone is BrokenBiomeBlade a && item.ModItem is BrokenBiomeBlade a2) { a.mainAttunement = a2.mainAttunement; a.secondaryAttunement = a2.secondaryAttunement; diff --git a/Items/Weapons/Melee/BiomeBlade.png b/Items/Weapons/Melee/BrokenBiomeBlade.png similarity index 100% rename from Items/Weapons/Melee/BiomeBlade.png rename to Items/Weapons/Melee/BrokenBiomeBlade.png diff --git a/Items/Weapons/Melee/CrescentMoon.cs b/Items/Weapons/Melee/CrescentMoon.cs index d836cc7487..2121003d44 100644 --- a/Items/Weapons/Melee/CrescentMoon.cs +++ b/Items/Weapons/Melee/CrescentMoon.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(8). AddIngredient(3). - AddIngredient(16). + AddIngredient(16). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/DepthBlade.cs b/Items/Weapons/Melee/DepthCrusher.cs similarity index 96% rename from Items/Weapons/Melee/DepthBlade.cs rename to Items/Weapons/Melee/DepthCrusher.cs index 04ae3feaa6..30b9f3b064 100644 --- a/Items/Weapons/Melee/DepthBlade.cs +++ b/Items/Weapons/Melee/DepthCrusher.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class DepthBlade : ModItem + [LegacyName("DepthBlade")] + public class DepthCrusher : ModItem { private const int HammerPower = 70; diff --git a/Items/Weapons/Melee/DepthBlade.png b/Items/Weapons/Melee/DepthCrusher.png similarity index 100% rename from Items/Weapons/Melee/DepthBlade.png rename to Items/Weapons/Melee/DepthCrusher.png diff --git a/Items/Weapons/Melee/Earth.cs b/Items/Weapons/Melee/Earth.cs index 09cc681881..6e8e23f7b4 100644 --- a/Items/Weapons/Melee/Earth.cs +++ b/Items/Weapons/Melee/Earth.cs @@ -165,7 +165,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Melee/XerocsGreatsword.cs b/Items/Weapons/Melee/EntropicClaymore.cs similarity index 97% rename from Items/Weapons/Melee/XerocsGreatsword.cs rename to Items/Weapons/Melee/EntropicClaymore.cs index 33963c41dd..8da0404d4c 100644 --- a/Items/Weapons/Melee/XerocsGreatsword.cs +++ b/Items/Weapons/Melee/EntropicClaymore.cs @@ -8,7 +8,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class XerocsGreatsword : ModItem + [LegacyName("XerocsGreatsword")] + public class EntropicClaymore : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/XerocsGreatsword.png b/Items/Weapons/Melee/EntropicClaymore.png similarity index 100% rename from Items/Weapons/Melee/XerocsGreatsword.png rename to Items/Weapons/Melee/EntropicClaymore.png diff --git a/Items/Weapons/Melee/DraedonsExoblade.cs b/Items/Weapons/Melee/Exoblade.cs similarity index 98% rename from Items/Weapons/Melee/DraedonsExoblade.cs rename to Items/Weapons/Melee/Exoblade.cs index a58c765219..06e7cb24f9 100644 --- a/Items/Weapons/Melee/DraedonsExoblade.cs +++ b/Items/Weapons/Melee/Exoblade.cs @@ -9,7 +9,8 @@ using Terraria.Audio; namespace CalamityMod.Items.Weapons.Melee { - public class DraedonsExoblade : ModItem + [LegacyName("DraedonsExoblade")] + public class Exoblade : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/DraedonsExoblade.png b/Items/Weapons/Melee/Exoblade.png similarity index 100% rename from Items/Weapons/Melee/DraedonsExoblade.png rename to Items/Weapons/Melee/Exoblade.png diff --git a/Items/Weapons/Melee/TruePaladinsHammerMelee.cs b/Items/Weapons/Melee/FallenPaladinsHammer.cs similarity index 88% rename from Items/Weapons/Melee/TruePaladinsHammerMelee.cs rename to Items/Weapons/Melee/FallenPaladinsHammer.cs index 8aad7dcaf4..5332182e0d 100644 --- a/Items/Weapons/Melee/TruePaladinsHammerMelee.cs +++ b/Items/Weapons/Melee/FallenPaladinsHammer.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class TruePaladinsHammerMelee : ModItem + [LegacyName("TruePaladinsHammer", "TruePaladinsHammerMelee", "TruePaladinsHammerRogue")] + public class FallenPaladinsHammer : ModItem { public override void SetStaticDefaults() { @@ -39,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.PaladinsHammer). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddIngredient(5). AddIngredient(5). diff --git a/Items/Weapons/Melee/TruePaladinsHammerMelee.png b/Items/Weapons/Melee/FallenPaladinsHammer.png similarity index 100% rename from Items/Weapons/Melee/TruePaladinsHammerMelee.png rename to Items/Weapons/Melee/FallenPaladinsHammer.png diff --git a/Items/Weapons/Melee/Chaotrix.cs b/Items/Weapons/Melee/FaultLine.cs similarity index 95% rename from Items/Weapons/Melee/Chaotrix.cs rename to Items/Weapons/Melee/FaultLine.cs index 63d89a7bcc..adfcc70e88 100644 --- a/Items/Weapons/Melee/Chaotrix.cs +++ b/Items/Weapons/Melee/FaultLine.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class Chaotrix : ModItem + [LegacyName("Chaotrix")] + public class FaultLine : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/Chaotrix.png b/Items/Weapons/Melee/FaultLine.png similarity index 100% rename from Items/Weapons/Melee/Chaotrix.png rename to Items/Weapons/Melee/FaultLine.png diff --git a/Items/Weapons/Melee/ArkoftheAncients.cs b/Items/Weapons/Melee/FracturedArk.cs similarity index 97% rename from Items/Weapons/Melee/ArkoftheAncients.cs rename to Items/Weapons/Melee/FracturedArk.cs index 0f821d0e7e..5d2c61f730 100644 --- a/Items/Weapons/Melee/ArkoftheAncients.cs +++ b/Items/Weapons/Melee/FracturedArk.cs @@ -14,7 +14,8 @@ using System.Collections.Generic; namespace CalamityMod.Items.Weapons.Melee { - public class ArkoftheAncients : ModItem + [LegacyName("ArkoftheAncients")] + public class FracturedArk : ModItem { public float Combo = 1f; public float Charge = 0f; @@ -111,7 +112,7 @@ namespace CalamityMod.Items.Weapons.Melee { var clone = base.Clone(item); - if (clone is ArkoftheAncients a && item.ModItem is ArkoftheAncients a2) + if (clone is FracturedArk a && item.ModItem is FracturedArk a2) a.Charge = a2.Charge; return clone; diff --git a/Items/Weapons/Melee/ArkoftheAncients.png b/Items/Weapons/Melee/FracturedArk.png similarity index 100% rename from Items/Weapons/Melee/ArkoftheAncients.png rename to Items/Weapons/Melee/FracturedArk.png diff --git a/Items/Weapons/Melee/ArkoftheAncientsGlow.png b/Items/Weapons/Melee/FracturedArkGlow.png similarity index 100% rename from Items/Weapons/Melee/ArkoftheAncientsGlow.png rename to Items/Weapons/Melee/FracturedArkGlow.png diff --git a/Items/Weapons/Melee/GalacticaBlade.cs b/Items/Weapons/Melee/GalactusBlade.cs similarity index 98% rename from Items/Weapons/Melee/GalacticaBlade.cs rename to Items/Weapons/Melee/GalactusBlade.cs index c4f8744977..8292d0c3af 100644 --- a/Items/Weapons/Melee/GalacticaBlade.cs +++ b/Items/Weapons/Melee/GalactusBlade.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class GalacticaBlade : ModItem + [LegacyName("GalacticaBlade")] + public class GalactusBlade : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/GalacticaBlade.png b/Items/Weapons/Melee/GalactusBlade.png similarity index 100% rename from Items/Weapons/Melee/GalacticaBlade.png rename to Items/Weapons/Melee/GalactusBlade.png diff --git a/Items/Weapons/Melee/GalaxySmasherMelee.cs b/Items/Weapons/Melee/GalaxySmasher.cs similarity index 92% rename from Items/Weapons/Melee/GalaxySmasherMelee.cs rename to Items/Weapons/Melee/GalaxySmasher.cs index 9c341bf776..bb6e95fa07 100644 --- a/Items/Weapons/Melee/GalaxySmasherMelee.cs +++ b/Items/Weapons/Melee/GalaxySmasher.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class GalaxySmasherMelee : ModItem + [LegacyName("GalaxySmasherMelee", "GalaxySmasherRogue")] + public class GalaxySmasher : ModItem { public static int BaseDamage = 264; public static float Speed = 18f; @@ -54,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(10). AddTile(). Register(); diff --git a/Items/Weapons/Melee/GalaxySmasherMelee.png b/Items/Weapons/Melee/GalaxySmasher.png similarity index 100% rename from Items/Weapons/Melee/GalaxySmasherMelee.png rename to Items/Weapons/Melee/GalaxySmasher.png diff --git a/Items/Weapons/Melee/GalileoGladius.cs b/Items/Weapons/Melee/GalileoGladius.cs index ad9a4d2303..425554b466 100644 --- a/Items/Weapons/Melee/GalileoGladius.cs +++ b/Items/Weapons/Melee/GalileoGladius.cs @@ -91,7 +91,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.Gladius). //This may be too rare for this recipe, we'll see I guess. - Merkalto AddIngredient(8). AddIngredient(5). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/RoyalKnivesMelee.cs b/Items/Weapons/Melee/IllustriousKnives.cs similarity index 97% rename from Items/Weapons/Melee/RoyalKnivesMelee.cs rename to Items/Weapons/Melee/IllustriousKnives.cs index 92a4f86ae1..d7714842c3 100644 --- a/Items/Weapons/Melee/RoyalKnivesMelee.cs +++ b/Items/Weapons/Melee/IllustriousKnives.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class RoyalKnivesMelee : ModItem + [LegacyName("RoyalKnives", "RoyalKnivesMelee", "RoyalKnivesRogue")] + public class IllustriousKnives : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/RoyalKnivesMelee.png b/Items/Weapons/Melee/IllustriousKnives.png similarity index 100% rename from Items/Weapons/Melee/RoyalKnivesMelee.png rename to Items/Weapons/Melee/IllustriousKnives.png diff --git a/Items/Weapons/Melee/TheEyeofCalamitas.cs b/Items/Weapons/Melee/Oblivion.cs similarity index 94% rename from Items/Weapons/Melee/TheEyeofCalamitas.cs rename to Items/Weapons/Melee/Oblivion.cs index d01f2084da..9cef3a131a 100644 --- a/Items/Weapons/Melee/TheEyeofCalamitas.cs +++ b/Items/Weapons/Melee/Oblivion.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class TheEyeofCalamitas : ModItem + [LegacyName("TheEyeofCalamitas")] + public class Oblivion : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/TheEyeofCalamitas.png b/Items/Weapons/Melee/Oblivion.png similarity index 100% rename from Items/Weapons/Melee/TheEyeofCalamitas.png rename to Items/Weapons/Melee/Oblivion.png diff --git a/Items/Weapons/Melee/OmegaBiomeBlade.cs b/Items/Weapons/Melee/OmegaBiomeBlade.cs index ce88668232..c8f13151b2 100644 --- a/Items/Weapons/Melee/OmegaBiomeBlade.cs +++ b/Items/Weapons/Melee/OmegaBiomeBlade.cs @@ -18,6 +18,7 @@ using static Terraria.ModLoader.ModContent; namespace CalamityMod.Items.Weapons.Melee { + // TODO -- CANNOT RENAME this and True Biome Blade to "TrueBiomeBlade" and "BiomeBlade" internally without corrupting existing items public class OmegaBiomeBlade : ModItem { public Attunement mainAttunement = null; diff --git a/Items/Weapons/Melee/PlagueKeeper.cs b/Items/Weapons/Melee/PlagueKeeper.cs index 5b788e67f0..3dbfd785ec 100644 --- a/Items/Weapons/Melee/PlagueKeeper.cs +++ b/Items/Weapons/Melee/PlagueKeeper.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.BeeKeeper). AddIngredient(ItemID.FragmentSolar, 10). AddIngredient(5). diff --git a/Items/Weapons/Melee/PwnagehammerMelee.cs b/Items/Weapons/Melee/Pwnagehammer.cs similarity index 96% rename from Items/Weapons/Melee/PwnagehammerMelee.cs rename to Items/Weapons/Melee/Pwnagehammer.cs index af33e1b449..d84dddd76d 100644 --- a/Items/Weapons/Melee/PwnagehammerMelee.cs +++ b/Items/Weapons/Melee/Pwnagehammer.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class PwnagehammerMelee : ModItem + [LegacyName("PwnagehammerMelee", "PwnagehammerRogue")] + public class Pwnagehammer : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/PwnagehammerMelee.png b/Items/Weapons/Melee/Pwnagehammer.png similarity index 100% rename from Items/Weapons/Melee/PwnagehammerMelee.png rename to Items/Weapons/Melee/Pwnagehammer.png diff --git a/Items/Weapons/Melee/Whirlpool.cs b/Items/Weapons/Melee/Riptide.cs similarity index 96% rename from Items/Weapons/Melee/Whirlpool.cs rename to Items/Weapons/Melee/Riptide.cs index d590bba5b9..f2caa1f011 100644 --- a/Items/Weapons/Melee/Whirlpool.cs +++ b/Items/Weapons/Melee/Riptide.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class Whirlpool : ModItem + [LegacyName("Whirlpool")] + public class Riptide : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/Whirlpool.png b/Items/Weapons/Melee/Riptide.png similarity index 100% rename from Items/Weapons/Melee/Whirlpool.png rename to Items/Weapons/Melee/Riptide.png diff --git a/Items/Weapons/Melee/DivineHatchet.cs b/Items/Weapons/Melee/SeekingScorcher.cs similarity index 95% rename from Items/Weapons/Melee/DivineHatchet.cs rename to Items/Weapons/Melee/SeekingScorcher.cs index 21217d0bb5..7628551bba 100644 --- a/Items/Weapons/Melee/DivineHatchet.cs +++ b/Items/Weapons/Melee/SeekingScorcher.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class DivineHatchet : ModItem + [LegacyName("DivineHatchet")] + public class SeekingScorcher : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/DivineHatchet.png b/Items/Weapons/Melee/SeekingScorcher.png similarity index 100% rename from Items/Weapons/Melee/DivineHatchet.png rename to Items/Weapons/Melee/SeekingScorcher.png diff --git a/Items/Weapons/Melee/StellarContemptMelee.cs b/Items/Weapons/Melee/StellarContempt.cs similarity index 88% rename from Items/Weapons/Melee/StellarContemptMelee.cs rename to Items/Weapons/Melee/StellarContempt.cs index 664f86bedf..bcb6d23deb 100644 --- a/Items/Weapons/Melee/StellarContemptMelee.cs +++ b/Items/Weapons/Melee/StellarContempt.cs @@ -4,10 +4,9 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class StellarContemptMelee : ModItem + [LegacyName("StellarContemptMelee", "StellarContemptRogue")] + public class StellarContempt : ModItem { - public override string Texture => "CalamityMod/Items/Weapons/Melee/StellarContempt"; - public static int BaseDamage = 300; public static float Speed = 18f; @@ -44,7 +43,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.LunarBar, 5). AddIngredient(ItemID.FragmentSolar, 10). AddIngredient(ItemID.FragmentNebula, 10). diff --git a/Items/Weapons/Melee/TriactisTruePaladinianMageHammerofMightMelee.cs b/Items/Weapons/Melee/TriactisTruePaladinianMageHammerofMightMelee.cs index 28c4be77c6..bd73eb3bec 100644 --- a/Items/Weapons/Melee/TriactisTruePaladinianMageHammerofMightMelee.cs +++ b/Items/Weapons/Melee/TriactisTruePaladinianMageHammerofMightMelee.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.SoulofMight, 30). AddIngredient(5). AddTile(). diff --git a/Items/Weapons/Melee/TrueArkoftheAncients.cs b/Items/Weapons/Melee/TrueArkoftheAncients.cs index abf41fc517..78e0609d6f 100644 --- a/Items/Weapons/Melee/TrueArkoftheAncients.cs +++ b/Items/Weapons/Melee/TrueArkoftheAncients.cs @@ -14,6 +14,7 @@ using static Terraria.ModLoader.ModContent; namespace CalamityMod.Items.Weapons.Melee { + // TODO -- CANNOT RENAME THIS to ArkoftheAncients without corrupting existing items public class TrueArkoftheAncients : ModItem { public float Combo = 1f; @@ -180,7 +181,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.TrueExcalibur). AddIngredient(). AddIngredient(3). diff --git a/Items/Weapons/Melee/TrueBiomeBlade.cs b/Items/Weapons/Melee/TrueBiomeBlade.cs index ec364bce6e..d7820b0dde 100644 --- a/Items/Weapons/Melee/TrueBiomeBlade.cs +++ b/Items/Weapons/Melee/TrueBiomeBlade.cs @@ -384,7 +384,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.SoulofFright, 1). AddIngredient(ItemID.SoulofMight, 1). AddIngredient(ItemID.SoulofSight, 1). diff --git a/Items/Weapons/Melee/VirulentKatana.cs b/Items/Weapons/Melee/Virulence.cs similarity index 96% rename from Items/Weapons/Melee/VirulentKatana.cs rename to Items/Weapons/Melee/Virulence.cs index 58b48c43e1..6b5c7da9aa 100644 --- a/Items/Weapons/Melee/VirulentKatana.cs +++ b/Items/Weapons/Melee/Virulence.cs @@ -8,7 +8,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class VirulentKatana : ModItem + [LegacyName("VirulentKatana")] + public class Virulence : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/VirulentKatana.png b/Items/Weapons/Melee/Virulence.png similarity index 100% rename from Items/Weapons/Melee/VirulentKatana.png rename to Items/Weapons/Melee/Virulence.png diff --git a/Items/Weapons/Melee/ExsanguinationLance.cs b/Items/Weapons/Melee/VulcaniteLance.cs similarity index 95% rename from Items/Weapons/Melee/ExsanguinationLance.cs rename to Items/Weapons/Melee/VulcaniteLance.cs index 28314579ea..377f792bd9 100644 --- a/Items/Weapons/Melee/ExsanguinationLance.cs +++ b/Items/Weapons/Melee/VulcaniteLance.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class ExsanguinationLance : ModItem + [LegacyName("ExsanguinationLance")] + public class VulcaniteLance : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Melee/ExsanguinationLance.png b/Items/Weapons/Melee/VulcaniteLance.png similarity index 100% rename from Items/Weapons/Melee/ExsanguinationLance.png rename to Items/Weapons/Melee/VulcaniteLance.png diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index a400f05613..9f54e6ea86 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.SniperRifle). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(50). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Ranged/HalleysInferno.cs b/Items/Weapons/Ranged/HalleysInferno.cs index b7800935ed..0c92d030cd 100644 --- a/Items/Weapons/Ranged/HalleysInferno.cs +++ b/Items/Weapons/Ranged/HalleysInferno.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.SniperScope). AddIngredient(6). AddIngredient(4). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/StarCannonEX.cs b/Items/Weapons/Ranged/StarCannonEX.cs index 249fac95ef..93cdb26194 100644 --- a/Items/Weapons/Ranged/StarCannonEX.cs +++ b/Items/Weapons/Ranged/StarCannonEX.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(ItemID.SuperStarCannon). - AddIngredient(10). + AddIngredient(10). AddIngredient(25). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Ranged/StarfleetMK2.cs b/Items/Weapons/Ranged/StarfleetMK2.cs index 6d0e7d87a1..e37ef5db05 100644 --- a/Items/Weapons/Ranged/StarfleetMK2.cs +++ b/Items/Weapons/Ranged/StarfleetMK2.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddIngredient(8). AddIngredient(8). AddTile(ModContent.TileType()). diff --git a/Items/Weapons/Ranged/Ultima.cs b/Items/Weapons/Ranged/Ultima.cs index 3678b2b821..49bceec011 100644 --- a/Items/Weapons/Ranged/Ultima.cs +++ b/Items/Weapons/Ranged/Ultima.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.LaserRifle). AddIngredient(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddIngredient(8). AddIngredient(8). AddTile(). diff --git a/Items/Weapons/Rogue/NightsGaze.cs b/Items/Weapons/Rogue/NightsGaze.cs index 2196d602a7..f2ce812b5e 100644 --- a/Items/Weapons/Rogue/NightsGaze.cs +++ b/Items/Weapons/Rogue/NightsGaze.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(ItemID.DayBreak). AddIngredient(7). AddIngredient(4). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Summon/CosmicViperEngine.cs b/Items/Weapons/Summon/CosmicViperEngine.cs index ef29069bc0..32b2411d5c 100644 --- a/Items/Weapons/Summon/CosmicViperEngine.cs +++ b/Items/Weapons/Summon/CosmicViperEngine.cs @@ -82,7 +82,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(). - AddIngredient(20). + AddIngredient(20). AddIngredient(10). AddTile(). Register(); diff --git a/Items/Weapons/Summon/Sirius.cs b/Items/Weapons/Summon/Sirius.cs index d2a958efe3..f4622e1fbe 100644 --- a/Items/Weapons/Summon/Sirius.cs +++ b/Items/Weapons/Summon/Sirius.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(). AddIngredient(5). AddIngredient(2). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Summon/UniverseSplitter.cs b/Items/Weapons/Summon/UniverseSplitter.cs index 8934a32375..30dfcb1ba4 100644 --- a/Items/Weapons/Summon/UniverseSplitter.cs +++ b/Items/Weapons/Summon/UniverseSplitter.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddTile(). Register(); diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index dc5d878a9c..e243d0e9ba 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -269,7 +269,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("DesertScourge", out float order); List segments = new List() { NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemID.SandBlock, ItemType(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.LesserHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Desert Biome"; @@ -378,8 +378,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Calamitas", out float order); int type = NPCType(); - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night"; string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00)); @@ -402,7 +402,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Leviathan", out float order); List bosses = new List() { NPCType(), NPCType() }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = "By killing an unknown entity in the Ocean Biome"; string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4)); @@ -415,7 +415,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("AstrumAureus", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night in the Astral Biome"; string despawn = CalamityUtils.ColorMessage("Astrum Aureus’ program has been executed. Initiate recall.", new Color(0xFF, 0xD7, 0x00)); @@ -427,8 +427,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("PlaguebringerGoliath", out float order); int type = NPCType(); - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemID.Stinger, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemID.Stinger, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] in the Jungle Biome"; string despawn = CalamityUtils.ColorMessage("HOSTILE SPECIMENS TERMINATED. INITIATE RECALL TO HOME BASE.", new Color(0x00, 0xFF, 0x00)); @@ -440,8 +440,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Ravager", out float order); List segments = new List() { NPCType(), NPCType(), NPCType(), NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}]"; string despawn = CalamityUtils.ColorMessage("The automaton of misshapen victims went looking for the true perpetrator.", new Color(0xB2, 0x22, 0x22)); @@ -470,7 +470,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("ProfanedGuardians", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Hallow or Underworld Biomes"; string despawn = CalamityUtils.ColorMessage("The guardians must protect their goddess at all costs.", new Color(0xFF, 0xA5, 0x00)); @@ -482,8 +482,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Dragonfolly", out float order); int type = NPCType(); - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Jungle Biome"; string despawn = CalamityUtils.ColorMessage("The failed experiment returns to its reproductive routine.", new Color(0xFF, 0xD7, 0x00)); @@ -494,8 +494,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Providence", out float order); int type = NPCType(); - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Hallow or Underworld Biomes"; string despawn = CalamityUtils.ColorMessage("The Profaned Goddess vanishes in a burning blaze.", new Color(0xFF, 0xA5, 0x00)); @@ -507,7 +507,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("CeaselessVoid", out float order); List bosses = new List() { NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Dungeon"; @@ -519,7 +519,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("StormWeaver", out float order); List segments = new List() { NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in Space"; @@ -532,7 +532,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Signus", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Underworld"; @@ -582,7 +582,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Yharon", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), /*ItemType(), */ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Jungle Biome"; @@ -598,7 +598,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("ExoMechs", out float order); List bosses = new List() { NPCType(), NPCType(), NPCType(), NPCType() }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = "By using a high-tech computer"; string despawn = CalamityUtils.ColorMessage("An imperfection after all... what a shame.", new Color(0x7F, 0xFF, 0xD4)); @@ -611,10 +611,10 @@ namespace CalamityMod BossDifficulty.TryGetValue("SupremeCalamitas", out float order); int type = NPCType(); int summon1 = ItemType(); - int summon2 = ItemType(); + int summon2 = ItemType(); int altar = ItemType(); List summons = new List() { summon1, summon2 }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon1}] or a [i:{summon2}] as offering at an [i:{altar}]"; string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00)); @@ -753,7 +753,7 @@ namespace CalamityMod new List() { ItemType(), ItemType(), ItemType(), ItemID.JungleKey }, new List() { ItemType() } ); - AddSummons(bossChecklist, "Plantera", new List() { ItemType() }); + AddSummons(bossChecklist, "Plantera", new List() { ItemType() }); // Golem AddLoot(bossChecklist, "Golem", diff --git a/NPCs/Abyss/ChaoticPuffer.cs b/NPCs/Abyss/ChaoticPuffer.cs index 55d2af3d4b..f11fc5aabd 100644 --- a/NPCs/Abyss/ChaoticPuffer.cs +++ b/NPCs/Abyss/ChaoticPuffer.cs @@ -234,7 +234,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.AddIf(() => NPC.downedGolemBoss, ModContent.ItemType(), 1, 10, 26); + npcLoot.AddIf(() => NPC.downedGolemBoss, ModContent.ItemType(), 1, 10, 26); } public override void OnHitPlayer(Player player, int damage, bool crit) diff --git a/NPCs/Abyss/DevilFish.cs b/NPCs/Abyss/DevilFish.cs index 711f79015c..a65250298c 100644 --- a/NPCs/Abyss/DevilFish.cs +++ b/NPCs/Abyss/DevilFish.cs @@ -313,7 +313,7 @@ namespace CalamityMod.NPCs.Abyss var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 2, 3)); postClone.Add(ModContent.ItemType(), 2); - npcLoot.AddIf(() => NPC.downedGolemBoss, ModContent.ItemType(), 1, 3, 9); + npcLoot.AddIf(() => NPC.downedGolemBoss, ModContent.ItemType(), 1, 3, 9); } public override void ModifyNPCLoot(NPCLoot npcLoot) => DefineDevilFishLoot(npcLoot); diff --git a/NPCs/Abyss/MorayEel.cs b/NPCs/Abyss/MorayEel.cs index 05e2e5630b..e6d339cb14 100644 --- a/NPCs/Abyss/MorayEel.cs +++ b/NPCs/Abyss/MorayEel.cs @@ -105,7 +105,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ItemID.Flipper, 20); - npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 15, 10)); + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 15, 10)); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 145baebd39..8801acf822 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -325,7 +325,7 @@ namespace CalamityMod.NPCs.AstrumAureus public override void ModifyNPCLoot(NPCLoot npcLoot) { // Boss bag - npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); + npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); // Normal drops: Everything that would otherwise be in the bag var normalOnly = npcLoot.DefineNormalOnlyDropSet(); @@ -348,7 +348,7 @@ namespace CalamityMod.NPCs.AstrumAureus normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); // Other - normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 9, 12)); + normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 9, 12)); normalOnly.Add(ModContent.ItemType(), 10); normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => NPC.downedMoonlord), ModContent.ItemType())); diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index 0d768cf26b..2befa5f7ea 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -408,7 +408,7 @@ namespace CalamityMod.NPCs.Bumblebirb public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); + npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); // Normal drops: Everything that would otherwise be in the bag var normalOnly = npcLoot.DefineNormalOnlyDropSet(); diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index 96f1aba20c..dd5fb16ea5 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -197,9 +197,9 @@ namespace CalamityMod.NPCs.Calamitas // Items int[] items = new int[] { - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), }; diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index f5792f9e07..8ed83d06d0 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -1337,7 +1337,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedExoMechs), ModContent.ItemType())); // Treasure bag - npcLoot.Add(ItemDropRule.BossBagByCondition(DropHelper.If(CanDropLoot), ModContent.ItemType())); + npcLoot.Add(ItemDropRule.BossBagByCondition(DropHelper.If(CanDropLoot), ModContent.ItemType())); // All other drops are contained in the bag, so they only drop directly on Normal if (!Main.expertMode) diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 26a2e1d219..fbb32d68a1 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -755,7 +755,7 @@ namespace CalamityMod.NPCs.Leviathan { ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index de74849cec..1ba1bdc82e 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -1238,7 +1238,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath // Weapons int[] weapons = new int[] { - ModContent.ItemType(), // Virulence + ModContent.ItemType(), // Virulence ModContent.ItemType(), ModContent.ItemType(), // Pandemic ModContent.ItemType(), diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs index 82ea345ba2..3a34459452 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs @@ -478,7 +478,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians npcLoot.Add(ModContent.ItemType(), 7); npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType(), 10); - npcLoot.Add(ModContent.ItemType()); + npcLoot.Add(ModContent.ItemType()); // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedGuardians, ModContent.ItemType()); diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 236641fdb2..3329701f0b 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1535,7 +1535,7 @@ namespace CalamityMod.NPCs.Providence npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); // Drops Rune of Cos on first kill - npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType()); + npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType()); npcLoot.AddIf(info => { diff --git a/NPCs/Ravager/RavagerBody.cs b/NPCs/Ravager/RavagerBody.cs index 66a748fa87..0ee53fa372 100644 --- a/NPCs/Ravager/RavagerBody.cs +++ b/NPCs/Ravager/RavagerBody.cs @@ -837,8 +837,8 @@ namespace CalamityMod.NPCs.Ravager normalOnly.Add(ModContent.ItemType(), 20); // Materials - normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedProvidence), ModContent.ItemType())); - normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedProvidence), ModContent.ItemType())); + normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedProvidence), ModContent.ItemType())); + normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedProvidence), ModContent.ItemType())); // Equipment normalOnly.Add(ModContent.ItemType(), 3); diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 6278d7ffd9..bc227e91a5 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -2499,7 +2499,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); + npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); // Normal drops: Everything that would otherwise be in the bag var normalOnly = npcLoot.DefineNormalOnlyDropSet(); @@ -2510,7 +2510,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/NPCs/VanillaNPCOverrides/Bosses/WallOfFleshAI.cs b/NPCs/VanillaNPCOverrides/Bosses/WallOfFleshAI.cs index 113fe63839..c69eed8792 100644 --- a/NPCs/VanillaNPCOverrides/Bosses/WallOfFleshAI.cs +++ b/NPCs/VanillaNPCOverrides/Bosses/WallOfFleshAI.cs @@ -23,10 +23,6 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses if (npc.position.X < 160f || npc.position.X > ((Main.maxTilesX - 10) * 16)) npc.active = false; - // Get a target - if (npc.target < 0 || npc.target == Main.maxPlayers || Main.player[npc.target].dead || !Main.player[npc.target].active) - npc.TargetClosest(); - // Set Wall of Flesh variables if (npc.localAI[0] == 0f) { @@ -106,7 +102,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses int num334 = (int)((npc.position.Y + (npc.height / 2)) / 16f); int num335 = 0; int num336 = num334 + 7; - while (num335 < 15 && num336 > Main.maxTilesY - 200) + while (num335 < 15 && num336 > Main.UnderworldLayer) { num336++; int num; @@ -249,7 +245,6 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses // Return to normal if very close to target if (distanceFromTarget < distanceBeforeSlowingDown) { - npc.TargetClosest(); calamityGlobalNPC.newAI[0] = 0f; calamityGlobalNPC.newAI[1] = 0f; npc.ai[3] = 0f; @@ -328,7 +323,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses } else { - npc.localAI[1] = MathHelper.Clamp(npc.localAI[1] - 71f / (678f * (float)Math.PI), 0f, 1f); + npc.localAI[1] = MathHelper.Clamp(npc.localAI[1] - 1f / 30f, 0f, 1f); } // Direction @@ -414,7 +409,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses } if (num348 >= 0) { - int num353 = NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.position.X, (int)num339, NPCID.TheHungry, npc.whoAmI, 0f, 0f, 0f, 0f, 255); + int num353 = NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.position.X, (int)num339, NPCID.TheHungry, npc.whoAmI); Main.npc[num353].ai[0] = num348 * 0.1f - 0.05f; } } diff --git a/Projectiles/Magic/AetherfluxCannonHoldout.cs b/Projectiles/Magic/AetherfluxCannonHoldout.cs index 03658af086..c4966e8f81 100644 --- a/Projectiles/Magic/AetherfluxCannonHoldout.cs +++ b/Projectiles/Magic/AetherfluxCannonHoldout.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Magic Projectile.damage = (int)Owner.GetTotalDamage().ApplyTo(weaponItem?.damage ?? 0); // Get the original weapon's use time. - int itemUseTime = weaponItem?.useAnimation ?? T1000.UseTime; + int itemUseTime = weaponItem?.useAnimation ?? AetherfluxCannon.UseTime; // 36, base use time, will result in 5. Speed increasing reforges push it to 4. int framesPerShot = itemUseTime / 7; diff --git a/Projectiles/Magic/ClimaxProj.cs b/Projectiles/Magic/ClimaxProj.cs index 1995337b66..e57117da70 100644 --- a/Projectiles/Magic/ClimaxProj.cs +++ b/Projectiles/Magic/ClimaxProj.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Magic // but once it's past that then it can fire constantly --Projectile.ai[0]; if (Projectile.ai[0] < 0f) - CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, Climax.OrbFireRate, 2, ModContent.ProjectileType(), 1D, true); + CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, VoltaicClimax.OrbFireRate, 2, ModContent.ProjectileType(), 1D, true); } public override Color? GetAlpha(Color lightColor) diff --git a/Projectiles/Magic/LightBlade.cs b/Projectiles/Magic/LightBlade.cs index 27e1b19141..86d79444d9 100644 --- a/Projectiles/Magic/LightBlade.cs +++ b/Projectiles/Magic/LightBlade.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Magic { // Pick a random sword sprite and a random color to use. Projectile.frame = Main.rand.Next(14); - lightColor = Judgement.GetRandomLightColor(); + lightColor = TheDanceofLight.GetRandomLightColor(); // Spawn starting dust. Vector2 baseOffsetVec = new Vector2(1f, 4f); @@ -115,12 +115,12 @@ namespace CalamityMod.Projectiles.Magic Player player = Main.player[Projectile.owner]; CalamityPlayer calPlayer = player.Calamity(); calPlayer.danceOfLightCharge++; - if (calPlayer.danceOfLightCharge >= Judgement.HitsPerFlash) + if (calPlayer.danceOfLightCharge >= TheDanceofLight.HitsPerFlash) { calPlayer.danceOfLightCharge = 0; if (Projectile.owner == Main.myPlayer) { - int flashDamage = (int)player.GetTotalDamage().ApplyTo(Judgement.FlashBaseDamage); + int flashDamage = (int)player.GetTotalDamage().ApplyTo(TheDanceofLight.FlashBaseDamage); Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), flashDamage, 0f, Projectile.owner); } } diff --git a/Projectiles/Magic/Vehemence.cs b/Projectiles/Magic/Vehemence.cs index 7baca80d57..d87b4a25a8 100644 --- a/Projectiles/Magic/Vehemence.cs +++ b/Projectiles/Magic/Vehemence.cs @@ -85,7 +85,7 @@ namespace CalamityMod.Projectiles.Magic if (Main.myPlayer == Projectile.owner) { int skullID = ModContent.ProjectileType(); - int damage = (int)(Projectile.damage * Vehemenc.SkullRatio); + int damage = (int)(Projectile.damage * Items.Weapons.Magic.Vehemence.SkullRatio); for (int i = 0; i < 18; i++) Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Main.rand.NextVector2Circular(12f, 12f), skullID, damage, Projectile.knockBack, Projectile.owner); } diff --git a/Projectiles/Melee/AncientBeam.cs b/Projectiles/Melee/AncientBeam.cs index 4d76af771a..a19e0b3596 100644 --- a/Projectiles/Melee/AncientBeam.cs +++ b/Projectiles/Melee/AncientBeam.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Projectiles.Melee { public class AncientBeam : ModProjectile { - public override string Texture => "CalamityMod/Items/Weapons/Melee/ArkoftheAncientsGlow"; + public override string Texture => "CalamityMod/Items/Weapons/Melee/FracturedArkGlow"; public override void SetStaticDefaults() { diff --git a/Projectiles/Melee/ArkOfTheAncients_ParryHoldout.cs b/Projectiles/Melee/ArkOfTheAncients_ParryHoldout.cs index 79853aef05..ea5743a470 100644 --- a/Projectiles/Melee/ArkOfTheAncients_ParryHoldout.cs +++ b/Projectiles/Melee/ArkOfTheAncients_ParryHoldout.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Projectiles.Melee { public class ArkoftheAncientsParryHoldout : ModProjectile { - public override string Texture => "CalamityMod/Items/Weapons/Melee/ArkoftheAncients"; + public override string Texture => "CalamityMod/Items/Weapons/Melee/FracturedArk"; private bool initialized = false; const float MaxTime = 340; @@ -51,7 +51,7 @@ namespace CalamityMod.Projectiles.Melee public void GeneralParryEffects() { - ArkoftheAncients sword = (Owner.HeldItem.ModItem as ArkoftheAncients); + FracturedArk sword = (Owner.HeldItem.ModItem as FracturedArk); if (sword != null) sword.Charge = 10f; @@ -173,8 +173,8 @@ namespace CalamityMod.Projectiles.Melee } return false; } - Texture2D sword = Request("CalamityMod/Items/Weapons/Melee/ArkoftheAncients").Value; - Texture2D glowmask = Request("CalamityMod/Items/Weapons/Melee/ArkoftheAncientsGlow").Value; + Texture2D sword = Request("CalamityMod/Items/Weapons/Melee/FracturedArk").Value; + Texture2D glowmask = Request("CalamityMod/Items/Weapons/Melee/FracturedArkGlow").Value; float drawRotation = Projectile.rotation + MathHelper.PiOver4; Vector2 drawOrigin = new Vector2(0f, sword.Height); diff --git a/Projectiles/Melee/ArkOfTheAncients_SwungBlade.cs b/Projectiles/Melee/ArkOfTheAncients_SwungBlade.cs index 63c003d56e..c2b963a68e 100644 --- a/Projectiles/Melee/ArkOfTheAncients_SwungBlade.cs +++ b/Projectiles/Melee/ArkOfTheAncients_SwungBlade.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Projectiles.Melee { public class ArkoftheAncientsSwungBlade : ModProjectile { - public override string Texture => "CalamityMod/Items/Weapons/Melee/ArkoftheAncients"; + public override string Texture => "CalamityMod/Items/Weapons/Melee/FracturedArk"; private bool initialized = false; Vector2 direction = Vector2.Zero; @@ -93,7 +93,7 @@ namespace CalamityMod.Projectiles.Melee if (Owner.whoAmI == Main.myPlayer && SwingRatio() > 0.5f && HasFired == 0f && Charge > 0) { - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Owner.Center + direction * 30f, Projectile.velocity * 1.25f, ProjectileType(), (int)(Projectile.damage * ArkoftheAncients.beamDamageMultiplier), 2f, Owner.whoAmI) ; + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Owner.Center + direction * 30f, Projectile.velocity * 1.25f, ProjectileType(), (int)(Projectile.damage * FracturedArk.beamDamageMultiplier), 2f, Owner.whoAmI) ; HasFired = 1f; } @@ -119,8 +119,8 @@ namespace CalamityMod.Projectiles.Melee public override bool PreDraw(ref Color lightColor) { - Texture2D sword = Request("CalamityMod/Items/Weapons/Melee/ArkoftheAncients").Value; - Texture2D glowmask = Request("CalamityMod/Items/Weapons/Melee/ArkoftheAncientsGlow").Value; + Texture2D sword = Request("CalamityMod/Items/Weapons/Melee/FracturedArk").Value; + Texture2D glowmask = Request("CalamityMod/Items/Weapons/Melee/FracturedArkGlow").Value; SpriteEffects flip = Owner.direction < 0 ? SpriteEffects.FlipHorizontally : SpriteEffects.None; float extraAngle = Owner.direction < 0 ? MathHelper.PiOver2 : 0f; diff --git a/Projectiles/Melee/BrokenBiomeBladeHoldout.cs b/Projectiles/Melee/BrokenBiomeBladeHoldout.cs index 9eaacc2acf..e285f6289c 100644 --- a/Projectiles/Melee/BrokenBiomeBladeHoldout.cs +++ b/Projectiles/Melee/BrokenBiomeBladeHoldout.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Projectiles.Melee { private Player Owner => Main.player[Projectile.owner]; - public bool OwnerCanUseItem => Owner.HeldItem == associatedItem ? (Owner.HeldItem.ModItem as BiomeBlade).CanUseItem(Owner) : false; + public bool OwnerCanUseItem => Owner.HeldItem == associatedItem ? (Owner.HeldItem.ModItem as BrokenBiomeBlade).CanUseItem(Owner) : false; public bool OwnerMayChannel => Owner.itemAnimation == 0 && OwnerCanUseItem && Owner.Calamity().mouseRight && Owner.active && !Owner.dead && Owner.StandingStill() && !Owner.mount.Active && Owner.CheckSolidGround(1, 3); public ref float ChanneledState => ref Projectile.ai[0]; public ref float ChannelTimer => ref Projectile.ai[1]; @@ -30,7 +30,7 @@ namespace CalamityMod.Projectiles.Melee { DisplayName.SetDefault("Broken Biome Blade"); } - public override string Texture => "CalamityMod/Items/Weapons/Melee/BiomeBlade"; + public override string Texture => "CalamityMod/Items/Weapons/Melee/BrokenBiomeBlade"; public bool drawIndrawHeldProjInFrontOfHeldItemAndArms = true; public override void SetDefaults() { @@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles.Melee if (Initialized == 0f) { //If dropped, kill it instantly - if (Owner.HeldItem.type != ItemType()) + if (Owner.HeldItem.type != ItemType()) { Projectile.Kill(); return; @@ -67,9 +67,9 @@ namespace CalamityMod.Projectiles.Melee associatedItem = Owner.HeldItem; //Switch up the attunements - Attunement temporaryAttunementStorage = (associatedItem.ModItem as BiomeBlade).mainAttunement; - (associatedItem.ModItem as BiomeBlade).mainAttunement = (associatedItem.ModItem as BiomeBlade).secondaryAttunement; - (associatedItem.ModItem as BiomeBlade).secondaryAttunement = temporaryAttunementStorage; + Attunement temporaryAttunementStorage = (associatedItem.ModItem as BrokenBiomeBlade).mainAttunement; + (associatedItem.ModItem as BrokenBiomeBlade).mainAttunement = (associatedItem.ModItem as BrokenBiomeBlade).secondaryAttunement; + (associatedItem.ModItem as BrokenBiomeBlade).secondaryAttunement = temporaryAttunementStorage; Initialized = 1f; } @@ -92,11 +92,11 @@ namespace CalamityMod.Projectiles.Melee if (ChannelTimer >= ChannelTime) { - Attune((BiomeBlade)associatedItem.ModItem); + Attune((BrokenBiomeBlade)associatedItem.ModItem); Projectile.timeLeft = 120; ChanneledState = 2f; //State where it stays invisible doing nothing. Acts as a cooldown - Color particleColor = (associatedItem.ModItem as BiomeBlade).mainAttunement.tooltipColor; + Color particleColor = (associatedItem.ModItem as BrokenBiomeBlade).mainAttunement.tooltipColor; for (int i = 0; i <= 5; i++) { @@ -117,7 +117,7 @@ namespace CalamityMod.Projectiles.Melee Projectile.position += Vector2.UnitY * -0.3f * (1f + Projectile.timeLeft / 60f); } - public void Attune(BiomeBlade item) + public void Attune(BrokenBiomeBlade item) { bool jungle = Owner.ZoneJungle; bool snow = Owner.ZoneSnow; @@ -166,10 +166,10 @@ namespace CalamityMod.Projectiles.Melee } //If we swapped out the main attunement for the second one despite the second attunement being empty at the time, unswap them. - if ((associatedItem.ModItem as BiomeBlade).mainAttunement == null && (associatedItem.ModItem as BiomeBlade).secondaryAttunement != null) + if ((associatedItem.ModItem as BrokenBiomeBlade).mainAttunement == null && (associatedItem.ModItem as BrokenBiomeBlade).secondaryAttunement != null) { - (associatedItem.ModItem as BiomeBlade).mainAttunement = (associatedItem.ModItem as BiomeBlade).secondaryAttunement; - (associatedItem.ModItem as BiomeBlade).secondaryAttunement = null; + (associatedItem.ModItem as BrokenBiomeBlade).mainAttunement = (associatedItem.ModItem as BrokenBiomeBlade).secondaryAttunement; + (associatedItem.ModItem as BrokenBiomeBlade).secondaryAttunement = null; } //Cool particles diff --git a/Projectiles/Melee/BrokenBiomeBlade_AridGrandeur.cs b/Projectiles/Melee/BrokenBiomeBlade_AridGrandeur.cs index 21902180ab..21a9600b0d 100644 --- a/Projectiles/Melee/BrokenBiomeBlade_AridGrandeur.cs +++ b/Projectiles/Melee/BrokenBiomeBlade_AridGrandeur.cs @@ -41,8 +41,8 @@ namespace CalamityMod.Projectiles.Melee Projectile.penetrate = -1; Projectile.extraUpdates = 1; Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = BiomeBlade.HotAttunement_LocalIFrames; - Projectile.timeLeft = BiomeBlade.HotAttunement_LocalIFrames; + Projectile.localNPCHitCooldown = BrokenBiomeBlade.HotAttunement_LocalIFrames; + Projectile.timeLeft = BrokenBiomeBlade.HotAttunement_LocalIFrames; } public override bool? CanDamage() @@ -89,8 +89,8 @@ namespace CalamityMod.Projectiles.Melee GeneralParticleHandler.SpawnParticle(Rock); } - if (Owner.HeldItem.type == ItemType()) - (Owner.HeldItem.ModItem as BiomeBlade).CanLunge = 1; // Reset the lunge counter on pogo. This should make for more interesting and fun synergies + if (Owner.HeldItem.type == ItemType()) + (Owner.HeldItem.ModItem as BrokenBiomeBlade).CanLunge = 1; // Reset the lunge counter on pogo. This should make for more interesting and fun synergies } } @@ -122,7 +122,7 @@ namespace CalamityMod.Projectiles.Melee Projectile.Center = Owner.Center + (direction * 60); //Scaling based on shred - Projectile.localNPCHitCooldown = BiomeBlade.HotAttunement_LocalIFrames - (int)(MathHelper.Lerp(0, BiomeBlade.HotAttunement_LocalIFrames - BiomeBlade.HotAttunement_LocalIFramesCharged, ShredRatio)); //Increase the hit frequency + Projectile.localNPCHitCooldown = BrokenBiomeBlade.HotAttunement_LocalIFrames - (int)(MathHelper.Lerp(0, BrokenBiomeBlade.HotAttunement_LocalIFrames - BrokenBiomeBlade.HotAttunement_LocalIFramesCharged, ShredRatio)); //Increase the hit frequency Projectile.scale = 1f + (ShredRatio * 1f); //SWAGGER @@ -145,7 +145,7 @@ namespace CalamityMod.Projectiles.Melee Owner.itemTime = 2; Owner.itemAnimation = 2; - Shred -= BiomeBlade.HotAttunement_ShredDecayRate; + Shred -= BrokenBiomeBlade.HotAttunement_ShredDecayRate; PogoCooldown--; if (Projectile.timeLeft <= 2) Projectile.timeLeft = 2; @@ -154,22 +154,22 @@ namespace CalamityMod.Projectiles.Melee //Since the iframes vary, adjust the damage to be consistent no matter the iframes. The true scaling happens between the BaseDamage and the FulLChargeDamage public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) { - float deviationFromBaseDamage = damage / (float)BiomeBlade.HotAttunement_BaseDamage; - float currentDamage = (int)(MathHelper.Lerp(BiomeBlade.HotAttunement_BaseDamage * deviationFromBaseDamage, BiomeBlade.HotAttunement_FullChargeDamage * deviationFromBaseDamage, ShredRatio)); + float deviationFromBaseDamage = damage / (float)BrokenBiomeBlade.HotAttunement_BaseDamage; + float currentDamage = (int)(MathHelper.Lerp(BrokenBiomeBlade.HotAttunement_BaseDamage * deviationFromBaseDamage, BrokenBiomeBlade.HotAttunement_FullChargeDamage * deviationFromBaseDamage, ShredRatio)); //Adjust the damage to make it constant based on the local iframes - float damageReduction = Projectile.localNPCHitCooldown / (float)BiomeBlade.HotAttunement_LocalIFrames; + float damageReduction = Projectile.localNPCHitCooldown / (float)BrokenBiomeBlade.HotAttunement_LocalIFrames; damage = (int)(currentDamage * damageReduction); } public override void ModifyHitPlayer(Player target, ref int damage, ref bool crit) { - float deviationFromBaseDamage = damage / (float)BiomeBlade.HotAttunement_BaseDamage; - float currentDamage = (int)(MathHelper.Lerp(BiomeBlade.HotAttunement_BaseDamage * deviationFromBaseDamage, BiomeBlade.HotAttunement_FullChargeDamage * deviationFromBaseDamage, ShredRatio)); + float deviationFromBaseDamage = damage / (float)BrokenBiomeBlade.HotAttunement_BaseDamage; + float currentDamage = (int)(MathHelper.Lerp(BrokenBiomeBlade.HotAttunement_BaseDamage * deviationFromBaseDamage, BrokenBiomeBlade.HotAttunement_FullChargeDamage * deviationFromBaseDamage, ShredRatio)); //Adjust the damage to make it constant based on the local iframes - float damageReduction = Projectile.localNPCHitCooldown / (float)BiomeBlade.HotAttunement_LocalIFrames; + float damageReduction = Projectile.localNPCHitCooldown / (float)BrokenBiomeBlade.HotAttunement_LocalIFrames; damage = (int)(currentDamage * damageReduction); } @@ -188,7 +188,7 @@ namespace CalamityMod.Projectiles.Melee Shred += 62; //Augment the shredspeed if (Owner.velocity.Y > 0) Owner.velocity.Y = -2f; //Get "stuck" into the enemy partly - Owner.GiveIFrames(BiomeBlade.HotAttunement_ShredIFrames); // i framez. + Owner.GiveIFrames(BrokenBiomeBlade.HotAttunement_ShredIFrames); // i framez. PogoCooldown = 20; } } @@ -200,7 +200,7 @@ namespace CalamityMod.Projectiles.Melee public override bool PreDraw(ref Color lightColor) { - Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BiomeBlade").Value; + Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BrokenBiomeBlade").Value; Texture2D blade = Request("CalamityMod/Projectiles/Melee/BrokenBiomeBlade_AridGrandeur").Value; int bladeAmount = 4; diff --git a/Projectiles/Melee/BrokenBiomeBlade_BitingEmbrace.cs b/Projectiles/Melee/BrokenBiomeBlade_BitingEmbrace.cs index 4160fd77c3..cb42030743 100644 --- a/Projectiles/Melee/BrokenBiomeBlade_BitingEmbrace.cs +++ b/Projectiles/Melee/BrokenBiomeBlade_BitingEmbrace.cs @@ -119,12 +119,12 @@ namespace CalamityMod.Projectiles.Melee case 1: Projectile.width = Projectile.height = 140; SoundEngine.PlaySound(SoundID.DD2_OgreSpit, Projectile.Center); - Projectile.damage = (int)(Projectile.damage * BiomeBlade.ColdAttunement_SecondSwingBoost); + Projectile.damage = (int)(Projectile.damage * BrokenBiomeBlade.ColdAttunement_SecondSwingBoost); break; case 2: Projectile.width = Projectile.height = 130; SoundEngine.PlaySound(SoundID.DD2_PhantomPhoenixShot, Projectile.Center); - Projectile.damage = (int)(Projectile.damage * BiomeBlade.ColdAttunement_ThirdSwingBoost); + Projectile.damage = (int)(Projectile.damage * BrokenBiomeBlade.ColdAttunement_ThirdSwingBoost); break; } @@ -199,7 +199,7 @@ namespace CalamityMod.Projectiles.Melee public override bool PreDraw(ref Color lightColor) { - Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BiomeBlade").Value; + Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BrokenBiomeBlade").Value; if (SwingMode != 2) { diff --git a/Projectiles/Melee/BrokenBiomeBlade_DecaysRetort.cs b/Projectiles/Melee/BrokenBiomeBlade_DecaysRetort.cs index fb886c79e0..a8d63e0d82 100644 --- a/Projectiles/Melee/BrokenBiomeBlade_DecaysRetort.cs +++ b/Projectiles/Melee/BrokenBiomeBlade_DecaysRetort.cs @@ -104,8 +104,8 @@ namespace CalamityMod.Projectiles.Melee if (!cannotLifesteal) //trolled { - Owner.statLife += BiomeBlade.EvilAttunement_Lifesteal; - Owner.HealEffect(BiomeBlade.EvilAttunement_Lifesteal); //Idk if its too much or what but at the same time its close range as fuck + Owner.statLife += BrokenBiomeBlade.EvilAttunement_Lifesteal; + Owner.HealEffect(BrokenBiomeBlade.EvilAttunement_Lifesteal); //Idk if its too much or what but at the same time its close range as fuck } // Bounce off @@ -113,12 +113,12 @@ namespace CalamityMod.Projectiles.Melee bounceStrength *= Owner.velocity.Y == 0 ? 0.2f : 1f; //Reduce the bounce if the player is on the ground Owner.velocity = -direction.SafeNormalize(Vector2.Zero) * MathHelper.Clamp(bounceStrength, 0f, 22f); CanBounce = 0f; - Owner.GiveIFrames(BiomeBlade.EvilAttunement_BounceIFrames); // i frames for free! + Owner.GiveIFrames(BrokenBiomeBlade.EvilAttunement_BounceIFrames); // i frames for free! } public override bool PreDraw(ref Color lightColor) { - Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BiomeBlade").Value; + Texture2D handle = Request("CalamityMod/Items/Weapons/Melee/BrokenBiomeBlade").Value; Texture2D tex = Request("CalamityMod/Projectiles/Melee/BrokenBiomeBlade_DecaysRetort").Value; float drawAngle = direction.ToRotation(); diff --git a/Projectiles/Melee/BrokenBiomeBlade_GrovetendersTouch.cs b/Projectiles/Melee/BrokenBiomeBlade_GrovetendersTouch.cs index 21e6ca7393..a3493bd109 100644 --- a/Projectiles/Melee/BrokenBiomeBlade_GrovetendersTouch.cs +++ b/Projectiles/Melee/BrokenBiomeBlade_GrovetendersTouch.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Projectiles.Melee Projectile.penetrate = -1; Projectile.extraUpdates = 2; Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = BiomeBlade.TropicalAttunement_LocalIFrames; + Projectile.localNPCHitCooldown = BrokenBiomeBlade.TropicalAttunement_LocalIFrames; } public override bool? CanCutTiles() => false; //Itd be quite counterproductive to make the whip cut the tiles it just grew @@ -81,7 +81,7 @@ namespace CalamityMod.Projectiles.Melee { if (SnapCoyoteTime > 0f) { - damage = (int)(damage * BiomeBlade.TropicalAttunement_SweetSpotDamageMultiplier); + damage = (int)(damage * BrokenBiomeBlade.TropicalAttunement_SweetSpotDamageMultiplier); crit = true; for (int i = 0; i < 3; i++) { @@ -93,7 +93,7 @@ namespace CalamityMod.Projectiles.Melee } } else - damage = (int)(damage * BiomeBlade.TropicalAttunement_ChainDamageReduction); //If the enemy is hit with the chain of the whip, the damage gets reduced + damage = (int)(damage * BrokenBiomeBlade.TropicalAttunement_ChainDamageReduction); //If the enemy is hit with the chain of the whip, the damage gets reduced } public override void AI() diff --git a/Projectiles/Melee/GalaxySmasherHammer.cs b/Projectiles/Melee/GalaxySmasherHammer.cs index 1250569ead..168239179f 100644 --- a/Projectiles/Melee/GalaxySmasherHammer.cs +++ b/Projectiles/Melee/GalaxySmasherHammer.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Projectiles.Melee else { Projectile.tileCollide = false; - float returnSpeed = GalaxySmasherMelee.Speed; + float returnSpeed = GalaxySmasher.Speed; float acceleration = 3.2f; Player owner = Main.player[Projectile.owner]; diff --git a/Projectiles/Melee/StellarContemptHammer.cs b/Projectiles/Melee/StellarContemptHammer.cs index 2540866b1f..872f6741f8 100644 --- a/Projectiles/Melee/StellarContemptHammer.cs +++ b/Projectiles/Melee/StellarContemptHammer.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Melee else { Projectile.tileCollide = false; - float returnSpeed = StellarContemptMelee.Speed; + float returnSpeed = StellarContempt.Speed; float acceleration = 3.2f; Player owner = Main.player[Projectile.owner]; diff --git a/Tiles/BaseTiles/BaseBossRelic.cs b/Tiles/BaseTiles/BaseBossRelic.cs index 3437446e5d..e985a82d83 100644 --- a/Tiles/BaseTiles/BaseBossRelic.cs +++ b/Tiles/BaseTiles/BaseBossRelic.cs @@ -142,7 +142,7 @@ namespace CalamityMod.Tiles.BaseTiles Color effectColor = color; effectColor.A = 0; effectColor = effectColor * 0.1f * scale; - for (float num5 = 0f; num5 < 1f; num5 += 355f / (678f * (float)Math.PI)) + for (float num5 = 0f; num5 < 1f; num5 += 1f / 6f) { spriteBatch.Draw(texture, drawPos + (TwoPi * num5).ToRotationVector2() * (6f + offset * 2f), frame, effectColor, 0f, origin, 1f, effects, 0f); } diff --git a/Tiles/Furniture/SCalAltar.cs b/Tiles/Furniture/SCalAltar.cs index d89027c8db..6399d21565 100644 --- a/Tiles/Furniture/SCalAltar.cs +++ b/Tiles/Furniture/SCalAltar.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Tiles.Furniture int top = j - tile.TileFrameY / 18; if (!Main.LocalPlayer.HasItem(ModContent.ItemType()) && - !Main.LocalPlayer.HasItem(ModContent.ItemType())) + !Main.LocalPlayer.HasItem(ModContent.ItemType())) { return true; } @@ -73,7 +73,7 @@ namespace CalamityMod.Tiles.Furniture if (CalamityUtils.CountProjectiles(ModContent.ProjectileType()) > 0) return true; - bool usingSpecialItem = Main.LocalPlayer.HasItem(ModContent.ItemType()); + bool usingSpecialItem = Main.LocalPlayer.HasItem(ModContent.ItemType()); Vector2 ritualSpawnPosition = new Vector2(left + Width / 2, top).ToWorldCoordinates(); ritualSpawnPosition += new Vector2(-10f, -24f); @@ -89,8 +89,8 @@ namespace CalamityMod.Tiles.Furniture public override void MouseOver(int i, int j) { - if (Main.LocalPlayer.HasItem(ModContent.ItemType())) - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + if (Main.LocalPlayer.HasItem(ModContent.ItemType())) + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); @@ -100,8 +100,8 @@ namespace CalamityMod.Tiles.Furniture public override void MouseOverFar(int i, int j) { - if (Main.LocalPlayer.HasItem(ModContent.ItemType())) - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + if (Main.LocalPlayer.HasItem(ModContent.ItemType())) + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs index 92afafefe8..cdd1d560d4 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs @@ -1,4 +1,4 @@ - +using CalamityMod.Items.Placeables.FurniturePlagued; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; @@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; MineResist = 2.1f; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(51, 99, 75)); } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs index 5947f5a75b..1fd320cb7d 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } public override void HitWire(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs index c6c8c6c3e6..189cf93a2d 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType()); } } } diff --git a/Tiles/FurnitureProfaned/ProfanedBath.cs b/Tiles/FurnitureProfaned/ProfanedBath.cs index 375b6c2ee5..3674f9de24 100644 --- a/Tiles/FurnitureProfaned/ProfanedBath.cs +++ b/Tiles/FurnitureProfaned/ProfanedBath.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurnitureStatigel/StatigelBath.cs b/Tiles/FurnitureStatigel/StatigelBath.cs index c0901f0066..ffc9d1cc5a 100644 --- a/Tiles/FurnitureStatigel/StatigelBath.cs +++ b/Tiles/FurnitureStatigel/StatigelBath.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Tiles.FurnitureStatigel public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurnitureVoid/VoidBath.cs b/Tiles/FurnitureVoid/VoidBath.cs index 94e32cc1f7..2959d05a05 100644 --- a/Tiles/FurnitureVoid/VoidBath.cs +++ b/Tiles/FurnitureVoid/VoidBath.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Tiles.FurnitureVoid public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurnitureVoid/VoidClock.cs b/Tiles/FurnitureVoid/VoidClock.cs index c3fdd5d959..de424aee3e 100644 --- a/Tiles/FurnitureVoid/VoidClock.cs +++ b/Tiles/FurnitureVoid/VoidClock.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Tiles.FurnitureVoid public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 32, ModContent.ItemType()); } } } diff --git a/Tiles/Ores/ChaoticOre.cs b/Tiles/Ores/ChaoticOre.cs index f0de40a6b9..774a192afd 100644 --- a/Tiles/Ores/ChaoticOre.cs +++ b/Tiles/Ores/ChaoticOre.cs @@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.Ores CalamityUtils.MergeWithAbyss(Type); DustType = 105; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); ModTranslation name = CreateMapEntryName(); name.SetDefault("Scoria"); AddMapEntry(new Color(255, 0, 0), name); diff --git a/Tiles/Ores/ExodiumOre.cs b/Tiles/Ores/ExodiumOre.cs index 67f1de1d7a..8a6a892d06 100644 --- a/Tiles/Ores/ExodiumOre.cs +++ b/Tiles/Ores/ExodiumOre.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.Ores HitSound = SoundID.Tink; Main.tileOreFinderPriority[Type] = 760; Main.tileSpelunker[Type] = true; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); base.SetStaticDefaults(); TileID.Sets.ChecksForMerge[Type] = true; diff --git a/Tiles/Plates/PlagueContainmentCells.cs b/Tiles/Plates/PlagueContainmentCells.cs index 1c355efdec..3cd7c463b6 100644 --- a/Tiles/Plates/PlagueContainmentCells.cs +++ b/Tiles/Plates/PlagueContainmentCells.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Tiles.Plates HitSound = SoundID.Tink; MineResist = 1f; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 188, 67)); } diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 2d323b100e..bb813d6313 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -98,7 +98,7 @@ namespace CalamityMod ItemID.PumpkinPie, ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType() + ModContent.ItemType() }); RecipeGroup.RegisterGroup("AnyFood", group); } @@ -333,7 +333,7 @@ namespace CalamityMod ItemID.VortexPickaxe, ItemID.NebulaPickaxe, ItemID.StardustPickaxe, - ModContent.ItemType() + ModContent.ItemType() }); RecipeGroup.RegisterGroup("LunarPickaxe", group); diff --git a/World/MiscWorldgenRoutines.cs b/World/MiscWorldgenRoutines.cs index 784aa85847..6ebd5642fe 100644 --- a/World/MiscWorldgenRoutines.cs +++ b/World/MiscWorldgenRoutines.cs @@ -110,7 +110,7 @@ namespace CalamityMod.World if (type == ModContent.TileType()) { PutItemInChest(ref chest, ModContent.ItemType(), 30, 80); - PutItemInChest(ref chest, ModContent.ItemType(), 10, 14); + PutItemInChest(ref chest, ModContent.ItemType(), 10, 14); PutItemInChest(ref chest, ModContent.ItemType(), 8); PutItemInChest(ref chest, ModContent.ItemType(), 3, 5); PutItemInChest(ref chest, ItemID.FallenStar, 12, 30); @@ -132,7 +132,7 @@ namespace CalamityMod.World // 50% chance of 1 or 2 of the following potions int[] potions = new int[] { - ModContent.ItemType(), ItemID.WaterWalkingPotion, ItemID.ShinePotion, ItemID.GillsPotion, ItemID.FlipperPotion + ModContent.ItemType(), ItemID.WaterWalkingPotion, ItemID.ShinePotion, ItemID.GillsPotion, ItemID.FlipperPotion }; PutItemInChest(ref chest, ModContent.ItemType(), 4, 7, WorldGen.genRand.NextBool()); PutItemInChest(ref chest, WorldGen.genRand.Next(potions), 1, 2, WorldGen.genRand.NextBool()); diff --git a/World/UndergroundShrines.cs b/World/UndergroundShrines.cs index ba8650b67f..f2bbf73d97 100644 --- a/World/UndergroundShrines.cs +++ b/World/UndergroundShrines.cs @@ -146,7 +146,7 @@ namespace CalamityMod.World chestType = 51; break; case UndergroundShrineType.Abyss: - item = ModContent.ItemType(); + item = ModContent.ItemType(); chestType = 4; break; }