diff --git a/CalPlayer/CalamityPlayerFishing.cs b/CalPlayer/CalamityPlayerFishing.cs index 44236bee8c..eb48bd24de 100644 --- a/CalPlayer/CalamityPlayerFishing.cs +++ b/CalPlayer/CalamityPlayerFishing.cs @@ -581,7 +581,7 @@ namespace CalamityMod.CalPlayer ModContent.ItemType(), ModContent.ItemType() }; - uncommonCatches.AddWithCondition(ModContent.ItemType(), Main.hardMode); + uncommonCatches.AddWithCondition(ModContent.ItemType(), Main.hardMode); itemDrop = uncommonCatches[Main.rand.Next(uncommonCatches.Count)]; } else diff --git a/Items/Accessories/Abaddon.cs b/Items/Accessories/Abaddon.cs index f14059a7a0..a6d9991ee8 100644 --- a/Items/Accessories/Abaddon.cs +++ b/Items/Accessories/Abaddon.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddRecipeGroup("AnyGoldCrown"). AddIngredient(5). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/ProfanedSoulArtifact.cs b/Items/Accessories/ProfanedSoulArtifact.cs index d5e22d1623..c8a55657d5 100644 --- a/Items/Accessories/ProfanedSoulArtifact.cs +++ b/Items/Accessories/ProfanedSoulArtifact.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(25). - AddIngredient(25). + AddIngredient(25). AddIngredient(5). AddTile(TileID.DemonAltar). Register(); diff --git a/Items/Accessories/RuinMedallion.cs b/Items/Accessories/RuinMedallion.cs index 822847edf0..bd0b31734e 100644 --- a/Items/Accessories/RuinMedallion.cs +++ b/Items/Accessories/RuinMedallion.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(4). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/VoidofExtinction.cs b/Items/Accessories/VoidofExtinction.cs index 67e260a4d9..b298901d6d 100644 --- a/Items/Accessories/VoidofExtinction.cs +++ b/Items/Accessories/VoidofExtinction.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Ammo/NapalmArrow.cs b/Items/Ammo/NapalmArrow.cs index d40b0e1121..b7aa485b09 100644 --- a/Items/Ammo/NapalmArrow.cs +++ b/Items/Ammo/NapalmArrow.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(250). AddIngredient(ItemID.WoodenArrow, 250). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.Torch). AddTile(TileID.Anvils). Register(); diff --git a/Items/Armor/Hydrothermic/HydrothermicArmor.cs b/Items/Armor/Hydrothermic/HydrothermicArmor.cs index 25f3f63168..ae23c71630 100644 --- a/Items/Armor/Hydrothermic/HydrothermicArmor.cs +++ b/Items/Armor/Hydrothermic/HydrothermicArmor.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(15). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs index 4463b9e95a..511f16eaca 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(7). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs index b41e7a5005..af0cb054c7 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(7). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs index 3de1b3d6f7..850b1a363d 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(7). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs index 12f46a5c2c..56eb524c35 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(7). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs index 652637249f..af8843c8e4 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(7). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Hydrothermic/HydrothermicSubligar.cs b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs index a37616d53f..a8c4aa562d 100644 --- a/Items/Armor/Hydrothermic/HydrothermicSubligar.cs +++ b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic { CreateRecipe(). AddIngredient(10). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/CalamityGlobalItemLoot.cs b/Items/CalamityGlobalItemLoot.cs index 6b8267bbf7..383679ead7 100644 --- a/Items/CalamityGlobalItemLoot.cs +++ b/Items/CalamityGlobalItemLoot.cs @@ -342,7 +342,7 @@ namespace CalamityMod.Items case ItemID.LavaCrate: case ItemID.LavaCrateHard: - loot.AddIf(() => Main.hardMode, ModContent.ItemType(), 5, 2, 4); // 20% 2-4 Essence of Chaos + loot.AddIf(() => Main.hardMode, ModContent.ItemType(), 5, 2, 4); // 20% 2-4 Essence of Chaos break; // Calamity does not touch Oasis Crates yet diff --git a/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs b/Items/Fishing/BrimstoneCragCatches/Havocfish.cs similarity index 85% rename from Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs rename to Items/Fishing/BrimstoneCragCatches/Havocfish.cs index ee7fa8f668..9d90a12d64 100644 --- a/Items/Fishing/BrimstoneCragCatches/ChaoticFish.cs +++ b/Items/Fishing/BrimstoneCragCatches/Havocfish.cs @@ -5,11 +5,12 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Fishing.BrimstoneCragCatches { - public class ChaoticFish : ModItem + [LegacyName("ChaoticFish")] + public class Havocfish : ModItem { public override void SetStaticDefaults() { - DisplayName.SetDefault("Chaotic Fish"); + DisplayName.SetDefault("Havocfish"); Tooltip.SetDefault("The horns lay a curse on those who touch it\n" + "Right click to extract essence"); SacrificeTotal = 10; @@ -32,6 +33,6 @@ namespace CalamityMod.Items.Fishing.BrimstoneCragCatches } public override bool CanRightClick() => true; - public override void ModifyItemLoot(ItemLoot itemLoot) => itemLoot.Add(ModContent.ItemType(), 1, 5, 10); + public override void ModifyItemLoot(ItemLoot itemLoot) => itemLoot.Add(ModContent.ItemType(), 1, 5, 10); } } diff --git a/Items/Fishing/BrimstoneCragCatches/ChaoticFish.png b/Items/Fishing/BrimstoneCragCatches/Havocfish.png similarity index 100% rename from Items/Fishing/BrimstoneCragCatches/ChaoticFish.png rename to Items/Fishing/BrimstoneCragCatches/Havocfish.png diff --git a/Items/Materials/CoreofCalamity.cs b/Items/Materials/CoreofCalamity.cs index e71f9ea6f2..395796ddd5 100644 --- a/Items/Materials/CoreofCalamity.cs +++ b/Items/Materials/CoreofCalamity.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Materials CreateRecipe(). AddIngredient(3). AddIngredient(3). - AddIngredient(3). + AddIngredient(3). AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Materials/CoreofChaos.cs b/Items/Materials/CoreofHavoc.cs similarity index 88% rename from Items/Materials/CoreofChaos.cs rename to Items/Materials/CoreofHavoc.cs index 829a8b76b1..0472200446 100644 --- a/Items/Materials/CoreofChaos.cs +++ b/Items/Materials/CoreofHavoc.cs @@ -6,14 +6,15 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class CoreofChaos : ModItem + [LegacyName("CoreofChaos")] + public class CoreofHavoc : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 25; ItemID.Sets.ItemNoGravity[Item.type] = true; - DisplayName.SetDefault("Core of Chaos"); + DisplayName.SetDefault("Core of Havoc"); ItemID.Sets.SortingPriorityMaterials[Type] = 94; // Spectre Bar } @@ -27,7 +28,7 @@ namespace CalamityMod.Items.Materials } public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Materials/CoreofChaosGlow").Value); + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Materials/CoreofHavocGlow").Value); } public override void Update(ref float gravity, ref float maxFallSpeed) @@ -39,7 +40,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(3). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.Ectoplasm). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Materials/CoreofChaos.png b/Items/Materials/CoreofHavoc.png similarity index 100% rename from Items/Materials/CoreofChaos.png rename to Items/Materials/CoreofHavoc.png diff --git a/Items/Materials/CoreofChaosGlow.png b/Items/Materials/CoreofHavocGlow.png similarity index 100% rename from Items/Materials/CoreofChaosGlow.png rename to Items/Materials/CoreofHavocGlow.png diff --git a/Items/Materials/EssenceofChaos.cs b/Items/Materials/EssenceofHavoc.cs similarity index 90% rename from Items/Materials/EssenceofChaos.cs rename to Items/Materials/EssenceofHavoc.cs index 87fe4bada3..cf28af3bd5 100644 --- a/Items/Materials/EssenceofChaos.cs +++ b/Items/Materials/EssenceofHavoc.cs @@ -7,14 +7,15 @@ using Terraria.GameContent; namespace CalamityMod.Items.Materials { - public class EssenceofChaos : ModItem + [LegacyName("EssenceofChaos")] + public class EssenceofHavoc : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 25; ItemID.Sets.ItemNoGravity[Item.type] = true; - DisplayName.SetDefault("Essence of Chaos"); + DisplayName.SetDefault("Essence of Havoc"); Tooltip.SetDefault("The essence of chaotic creatures"); ItemID.Sets.SortingPriorityMaterials[Type] = 71; // Soul of Light } diff --git a/Items/Materials/EssenceofChaos.png b/Items/Materials/EssenceofHavoc.png similarity index 100% rename from Items/Materials/EssenceofChaos.png rename to Items/Materials/EssenceofHavoc.png diff --git a/Items/Placeables/Furniture/ChaosCandle.cs b/Items/Placeables/Furniture/ChaosCandle.cs index a443ceee9e..acf09a35c3 100644 --- a/Items/Placeables/Furniture/ChaosCandle.cs +++ b/Items/Placeables/Furniture/ChaosCandle.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Placeables.Furniture public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ItemID.WaterCandle, 3).AddIngredient(ItemID.SoulofNight, 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); + CreateRecipe(1).AddIngredient(ItemID.WaterCandle, 3).AddIngredient(ItemID.SoulofNight, 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); } } } diff --git a/Items/Placeables/Plates/Chaosplate.cs b/Items/Placeables/Plates/Havocplate.cs similarity index 80% rename from Items/Placeables/Plates/Chaosplate.cs rename to Items/Placeables/Plates/Havocplate.cs index c8bbc235e5..94163a42ad 100644 --- a/Items/Placeables/Plates/Chaosplate.cs +++ b/Items/Placeables/Plates/Havocplate.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 Chaosplate : ModItem + [LegacyName("Chaosplate")] + public class Havocplate : ModItem { public override void SetStaticDefaults() { @@ -17,7 +18,7 @@ namespace CalamityMod.Items.Placeables.Plates public override void SetDefaults() { - Item.createTile = ModContent.TileType(); + Item.createTile = ModContent.TileType(); Item.useStyle = ItemUseStyleID.Swing; Item.useTurn = true; Item.useAnimation = 15; @@ -35,11 +36,11 @@ namespace CalamityMod.Items.Placeables.Plates { CreateRecipe(25). AddIngredient(ItemID.Obsidian, 25). - AddIngredient(). + AddIngredient(). AddTile(TileID.Hellforge). Register(); CreateRecipe(). - AddIngredient(4). + AddIngredient(4). AddTile(TileID.WorkBenches). Register(); } diff --git a/Items/Placeables/Plates/Chaosplate.png b/Items/Placeables/Plates/Havocplate.png similarity index 100% rename from Items/Placeables/Plates/Chaosplate.png rename to Items/Placeables/Plates/Havocplate.png diff --git a/Items/Placeables/Walls/ChaosplateWall.cs b/Items/Placeables/Walls/HavocplateWall.cs similarity index 74% rename from Items/Placeables/Walls/ChaosplateWall.cs rename to Items/Placeables/Walls/HavocplateWall.cs index e6bb8039f1..8c9e7115dd 100644 --- a/Items/Placeables/Walls/ChaosplateWall.cs +++ b/Items/Placeables/Walls/HavocplateWall.cs @@ -1,10 +1,11 @@ -using Terraria.ModLoader; +using Terraria.ModLoader; using WallTiles = CalamityMod.Walls; using Terraria.ID; namespace CalamityMod.Items.Placeables.Walls { - public class ChaosplateWall : ModItem + [LegacyName("ChaosplateWall")] + public class HavocplateWall : ModItem { public override void SetStaticDefaults() { @@ -22,12 +23,12 @@ namespace CalamityMod.Items.Placeables.Walls Item.useTime = 7; Item.useStyle = ItemUseStyleID.Swing; Item.consumable = true; - Item.createWall = ModContent.WallType(); + Item.createWall = ModContent.WallType(); } 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/ChaosplateWall.png b/Items/Placeables/Walls/HavocplateWall.png similarity index 100% rename from Items/Placeables/Walls/ChaosplateWall.png rename to Items/Placeables/Walls/HavocplateWall.png diff --git a/Items/SummonItems/CharredIdol.cs b/Items/SummonItems/CharredIdol.cs index b6b90c5d53..c0dded0210 100644 --- a/Items/SummonItems/CharredIdol.cs +++ b/Items/SummonItems/CharredIdol.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(ItemID.SoulofNight, 5). - AddIngredient(7). + AddIngredient(7). AddIngredient(2). AddTile(TileID.Hellforge). Register(); diff --git a/Items/SummonItems/EyeofDesolation.cs b/Items/SummonItems/EyeofDesolation.cs index 6020e6077f..81c1c9010d 100644 --- a/Items/SummonItems/EyeofDesolation.cs +++ b/Items/SummonItems/EyeofDesolation.cs @@ -120,7 +120,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(ItemID.HellstoneBar, 10). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/InfernaCutter.cs b/Items/Tools/InfernaCutter.cs index f12a2bd51f..9438b9f5de 100644 --- a/Items/Tools/InfernaCutter.cs +++ b/Items/Tools/InfernaCutter.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Tools CreateRecipe(). AddIngredient(). AddIngredient(ItemID.SoulofFright, 8). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/TreasureBags/BrimstoneWaifuBag.cs b/Items/TreasureBags/BrimstoneWaifuBag.cs index 4f41e696ad..4645443380 100644 --- a/Items/TreasureBags/BrimstoneWaifuBag.cs +++ b/Items/TreasureBags/BrimstoneWaifuBag.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.TreasureBags itemLoot.Add(ItemDropRule.CoinsBasedOnNPCValue(ModContent.NPCType())); // Materials - itemLoot.Add(ModContent.ItemType(), 1, 5, 9); + itemLoot.Add(ModContent.ItemType(), 1, 5, 9); // Weapons itemLoot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, new int[] diff --git a/Items/TreasureBags/CalamitasCloneBag.cs b/Items/TreasureBags/CalamitasCloneBag.cs index 4a375f780c..5f242f4de3 100644 --- a/Items/TreasureBags/CalamitasCloneBag.cs +++ b/Items/TreasureBags/CalamitasCloneBag.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.TreasureBags // Materials itemLoot.Add(ModContent.ItemType(), 1, 30, 35); - itemLoot.Add(ModContent.ItemType(), 1, 10, 15); + itemLoot.Add(ModContent.ItemType(), 1, 10, 15); // Weapons itemLoot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, new int[] diff --git a/Items/TreasureBags/MiscGrabBags/FleshyGeode.cs b/Items/TreasureBags/MiscGrabBags/FleshyGeode.cs index 25ee21cd45..94eda798b8 100644 --- a/Items/TreasureBags/MiscGrabBags/FleshyGeode.cs +++ b/Items/TreasureBags/MiscGrabBags/FleshyGeode.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.TreasureBags.MiscGrabBags normalOnly.Add(ModContent.ItemType(), 1, 1, 3); normalOnly.Add(ModContent.ItemType(), 1, 1, 2); normalOnly.Add(ModContent.ItemType(), 1, 1, 2); - normalOnly.Add(ModContent.ItemType(), 1, 1, 2); + normalOnly.Add(ModContent.ItemType(), 1, 1, 2); var expertPlus = itemLoot.DefineConditionalDropSet(new Conditions.IsExpert()); expertPlus.Add(ModContent.ItemType(), 1, 2, 3); @@ -51,7 +51,7 @@ namespace CalamityMod.Items.TreasureBags.MiscGrabBags expertPlus.Add(ModContent.ItemType(), 1, 2, 3); expertPlus.Add(ModContent.ItemType(), 1, 1, 3); expertPlus.Add(ModContent.ItemType(), 1, 1, 3); - expertPlus.Add(ModContent.ItemType(), 1, 1, 3); + expertPlus.Add(ModContent.ItemType(), 1, 1, 3); } } } diff --git a/Items/TreasureBags/MiscGrabBags/NecromanticGeode.cs b/Items/TreasureBags/MiscGrabBags/NecromanticGeode.cs index 528913fc18..3b86317598 100644 --- a/Items/TreasureBags/MiscGrabBags/NecromanticGeode.cs +++ b/Items/TreasureBags/MiscGrabBags/NecromanticGeode.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.TreasureBags.MiscGrabBags normalOnly.Add(ModContent.ItemType(), 1, 5, 10); normalOnly.Add(ModContent.ItemType(), 1, 1, 3); normalOnly.Add(ModContent.ItemType(), 1, 1, 3); - normalOnly.Add(ModContent.ItemType(), 1, 1, 3); + normalOnly.Add(ModContent.ItemType(), 1, 1, 3); normalOnly.Add(ModContent.ItemType(), 2); normalOnly.Add(ModContent.ItemType(), 3); normalOnly.Add(ModContent.ItemType(), 1, 100, 120); @@ -58,7 +58,7 @@ namespace CalamityMod.Items.TreasureBags.MiscGrabBags expertPlus.Add(ModContent.ItemType(), 1, 7, 12); expertPlus.Add(ModContent.ItemType(), 1, 2, 4); expertPlus.Add(ModContent.ItemType(), 1, 2, 4); - expertPlus.Add(ModContent.ItemType(), 1, 2, 4); + expertPlus.Add(ModContent.ItemType(), 1, 2, 4); expertPlus.Add(ModContent.ItemType()); expertPlus.Add(ModContent.ItemType(), 2); expertPlus.Add(ModContent.ItemType(), 1, 120, 140); diff --git a/Items/Weapons/Magic/FrigidflashBolt.cs b/Items/Weapons/Magic/FrigidflashBolt.cs index 470dc7fbf3..b5e9cb1404 100644 --- a/Items/Weapons/Magic/FrigidflashBolt.cs +++ b/Items/Weapons/Magic/FrigidflashBolt.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(). AddIngredient(2). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/RecitationoftheBeast.cs b/Items/Weapons/Magic/RecitationoftheBeast.cs index dfe4e44228..0af8ec3095 100644 --- a/Items/Weapons/Magic/RecitationoftheBeast.cs +++ b/Items/Weapons/Magic/RecitationoftheBeast.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.DemonScythe). - AddIngredient(12). + AddIngredient(12). AddIngredient(8). AddIngredient(20). AddTile(TileID.Bookcases). diff --git a/Items/Weapons/Melee/AnarchyBlade.cs b/Items/Weapons/Melee/AnarchyBlade.cs index 7a526ad9f1..80c19a6e46 100644 --- a/Items/Weapons/Melee/AnarchyBlade.cs +++ b/Items/Weapons/Melee/AnarchyBlade.cs @@ -90,7 +90,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.BreakerBlade). AddIngredient(5). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/Mourningstar.cs b/Items/Weapons/Melee/Mourningstar.cs index 5557064fed..acd1235301 100644 --- a/Items/Weapons/Melee/Mourningstar.cs +++ b/Items/Weapons/Melee/Mourningstar.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.SolarEruption). - AddIngredient(6). + AddIngredient(6). AddIngredient(6). AddIngredient(6). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Melee/Roxcalibur.cs b/Items/Weapons/Melee/Roxcalibur.cs index 5f578b1720..9bcb81288b 100644 --- a/Items/Weapons/Melee/Roxcalibur.cs +++ b/Items/Weapons/Melee/Roxcalibur.cs @@ -309,7 +309,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.HellstoneBar, 25). AddIngredient(ItemID.SoulofNight, 10). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.Obsidian, 10). AddIngredient(ItemID.StoneBlock, 100). AddIngredient(ItemID.Amethyst, 2). diff --git a/Items/Weapons/Ranged/Butcher.cs b/Items/Weapons/Ranged/Butcher.cs index cdb25d677c..a7f7fc6127 100644 --- a/Items/Weapons/Ranged/Butcher.cs +++ b/Items/Weapons/Ranged/Butcher.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.Shotgun). AddIngredient(ItemID.IllegalGunParts). AddRecipeGroup("AnyCobaltBar", 5). - AddIngredient(4). + AddIngredient(4). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Weapons/Rogue/BlazingStar.cs b/Items/Weapons/Rogue/BlazingStar.cs index 4c63acc939..7cd7b84d46 100644 --- a/Items/Weapons/Rogue/BlazingStar.cs +++ b/Items/Weapons/Rogue/BlazingStar.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(ItemID.HellstoneBar, 5). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Weapons/Summon/IgneousExaltation.cs b/Items/Weapons/Summon/IgneousExaltation.cs index fa0b267bde..457b81fed4 100644 --- a/Items/Weapons/Summon/IgneousExaltation.cs +++ b/Items/Weapons/Summon/IgneousExaltation.cs @@ -95,7 +95,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(10). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/NPCs/BrimstoneElemental/BrimstoneElemental.cs b/NPCs/BrimstoneElemental/BrimstoneElemental.cs index 272cb5fb87..8896f2b6bd 100644 --- a/NPCs/BrimstoneElemental/BrimstoneElemental.cs +++ b/NPCs/BrimstoneElemental/BrimstoneElemental.cs @@ -204,7 +204,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental normalOnly.Add(ModContent.ItemType(), 10); // Materials - normalOnly.Add(ModContent.ItemType(), 1, 4, 8); + normalOnly.Add(ModContent.ItemType(), 1, 4, 8); // Equipment int[] accs = new int[] diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index 1ec856330b..0ede36a6e7 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -206,7 +206,7 @@ namespace CalamityMod.NPCs.CalClone normalOnly.Add(ModContent.ItemType(), 10); // Materials - normalOnly.Add(ModContent.ItemType(), 1, 5, 10); + normalOnly.Add(ModContent.ItemType(), 1, 5, 10); normalOnly.Add(ModContent.ItemType(), 1, 25, 30); // Vanity diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index e940d4f58f..499428dede 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -460,7 +460,7 @@ namespace CalamityMod.NPCs case NPCID.RedDevil: npcLoot.ChangeDropRate(ItemID.FireFeather, 1, 10); npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 3, 2)); - npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 2, 1)); + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 2, 1)); break; #endregion diff --git a/NPCs/Crags/CalamityEye.cs b/NPCs/Crags/CalamityEye.cs index f036df20f4..19f8d55f4c 100644 --- a/NPCs/Crags/CalamityEye.cs +++ b/NPCs/Crags/CalamityEye.cs @@ -101,7 +101,7 @@ namespace CalamityMod.NPCs.Crags npcLoot.Add(ItemID.Lens, 2); LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); - hardmode.Add(ModContent.ItemType(), 3); + hardmode.Add(ModContent.ItemType(), 3); postProv.Add(ModContent.ItemType(), 4); } } diff --git a/NPCs/Crags/CharredSlime.cs b/NPCs/Crags/CharredSlime.cs index 3b0946331e..2b4b2addbc 100644 --- a/NPCs/Crags/CharredSlime.cs +++ b/NPCs/Crags/CharredSlime.cs @@ -93,7 +93,7 @@ namespace CalamityMod.NPCs.Crags public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ModContent.ItemType(), 1, 10, 26); - npcLoot.Add(ModContent.ItemType(), 3); + npcLoot.Add(ModContent.ItemType(), 3); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); postProv.Add(ModContent.ItemType(), 4); } diff --git a/NPCs/Crags/CultistAssassin.cs b/NPCs/Crags/CultistAssassin.cs index 2f22f8b54a..d629072267 100644 --- a/NPCs/Crags/CultistAssassin.cs +++ b/NPCs/Crags/CultistAssassin.cs @@ -96,7 +96,7 @@ namespace CalamityMod.NPCs.Crags public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 3); + npcLoot.Add(ModContent.ItemType(), 3); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); postProv.Add(ModContent.ItemType(), 4); } diff --git a/NPCs/Crags/DespairStone.cs b/NPCs/Crags/DespairStone.cs index 4eab081036..0510373229 100644 --- a/NPCs/Crags/DespairStone.cs +++ b/NPCs/Crags/DespairStone.cs @@ -162,7 +162,7 @@ namespace CalamityMod.NPCs.Crags npcLoot.Add(ModContent.ItemType(), 5, 10, 30); LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); - hardmode.Add(ModContent.ItemType(), 3); + hardmode.Add(ModContent.ItemType(), 3); postProv.Add(ModContent.ItemType(), 4); } diff --git a/NPCs/Crags/HeatSpirit.cs b/NPCs/Crags/HeatSpirit.cs index 9a4fa13722..b318bba5be 100644 --- a/NPCs/Crags/HeatSpirit.cs +++ b/NPCs/Crags/HeatSpirit.cs @@ -117,7 +117,7 @@ namespace CalamityMod.NPCs.Crags public override void ModifyNPCLoot(NPCLoot npcLoot) { LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); - hardmode.Add(ModContent.ItemType(), 3); + hardmode.Add(ModContent.ItemType(), 3); } } } diff --git a/NPCs/Crags/Scryllar.cs b/NPCs/Crags/Scryllar.cs index 865d254326..0adc6789c6 100644 --- a/NPCs/Crags/Scryllar.cs +++ b/NPCs/Crags/Scryllar.cs @@ -269,7 +269,7 @@ namespace CalamityMod.NPCs.Crags { LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); - hardmode.Add(ModContent.ItemType(), 3); + hardmode.Add(ModContent.ItemType(), 3); postProv.Add(ModContent.ItemType(), 4); postProv.Add(ModContent.ItemType(), 20); } diff --git a/NPCs/Crags/SoulSlurper.cs b/NPCs/Crags/SoulSlurper.cs index 5997366271..5852a49696 100644 --- a/NPCs/Crags/SoulSlurper.cs +++ b/NPCs/Crags/SoulSlurper.cs @@ -297,7 +297,7 @@ namespace CalamityMod.NPCs.Crags LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); - hardmode.Add(ModContent.ItemType(), 3); + hardmode.Add(ModContent.ItemType(), 3); postProv.Add(ModContent.ItemType(), 4); } diff --git a/Scenes/MusicScenes/BioLabMusicScene.cs b/Scenes/MusicScenes/BioLabMusicScene.cs index 6fdb91091f..80c80e24fa 100644 --- a/Scenes/MusicScenes/BioLabMusicScene.cs +++ b/Scenes/MusicScenes/BioLabMusicScene.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Scenes.MusicScenes backWall.WallType == WallID.IronBrick || backWall.WallType == ModContent.WallType() || backWall.WallType == ModContent.WallType() || - backWall.WallType == ModContent.WallType() || + backWall.WallType == ModContent.WallType() || backWall.WallType == ModContent.WallType() || backWall.WallType == ModContent.WallType() || backWall.WallType == ModContent.WallType() || diff --git a/Tiles/Plates/Chaosplate.cs b/Tiles/Plates/Havocplate.cs similarity index 94% rename from Tiles/Plates/Chaosplate.cs rename to Tiles/Plates/Havocplate.cs index a881d2b6a7..ee37c5b21e 100644 --- a/Tiles/Plates/Chaosplate.cs +++ b/Tiles/Plates/Havocplate.cs @@ -8,7 +8,8 @@ using ReLogic.Content; namespace CalamityMod.Tiles.Plates { - public class Chaosplate : ModTile + [LegacyName("Chaosplate")] + public class Havocplate : ModTile { internal static Texture2D GlowTexture; internal static Texture2D PulseTexture; @@ -18,10 +19,10 @@ namespace CalamityMod.Tiles.Plates { if (!Main.dedServ) { - PulseTexture = ModContent.Request("CalamityMod/Tiles/Plates/ChaosplatePulse", AssetRequestMode.ImmediateLoad).Value; + PulseTexture = ModContent.Request("CalamityMod/Tiles/Plates/HavocplatePulse", AssetRequestMode.ImmediateLoad).Value; PulseColors = new Color[PulseTexture.Width]; Main.QueueMainThreadAction(() => PulseTexture.GetData(PulseColors)); - GlowTexture = ModContent.Request("CalamityMod/Tiles/Plates/ChaosplateGlow", AssetRequestMode.ImmediateLoad).Value; + GlowTexture = ModContent.Request("CalamityMod/Tiles/Plates/HavocplateGlow", AssetRequestMode.ImmediateLoad).Value; } Main.tileSolid[Type] = true; Main.tileMergeDirt[Type] = true; @@ -31,7 +32,7 @@ namespace CalamityMod.Tiles.Plates HitSound = SoundID.Tink; MineResist = 1f; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(235, 108, 108)); } diff --git a/Tiles/Plates/Chaosplate.png b/Tiles/Plates/Havocplate.png similarity index 100% rename from Tiles/Plates/Chaosplate.png rename to Tiles/Plates/Havocplate.png diff --git a/Tiles/Plates/ChaosplateGlow.png b/Tiles/Plates/HavocplateGlow.png similarity index 100% rename from Tiles/Plates/ChaosplateGlow.png rename to Tiles/Plates/HavocplateGlow.png diff --git a/Tiles/Plates/ChaosplatePulse.png b/Tiles/Plates/HavocplatePulse.png similarity index 100% rename from Tiles/Plates/ChaosplatePulse.png rename to Tiles/Plates/HavocplatePulse.png diff --git a/Walls/ChaosplateWall.cs b/Walls/HavocplateWall.cs similarity index 84% rename from Walls/ChaosplateWall.cs rename to Walls/HavocplateWall.cs index 53fe96b62b..0e23c6e88a 100644 --- a/Walls/ChaosplateWall.cs +++ b/Walls/HavocplateWall.cs @@ -1,16 +1,17 @@ -using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; namespace CalamityMod.Walls { - public class ChaosplateWall : ModWall + [LegacyName("ChaosplateWall")] + public class HavocplateWall : ModWall { public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(123, 50, 66)); } diff --git a/Walls/ChaosplateWall.png b/Walls/HavocplateWall.png similarity index 100% rename from Walls/ChaosplateWall.png rename to Walls/HavocplateWall.png