diff --git a/Items/Materials/UnholyCore.cs b/Items/Materials/UnholyCore.cs index e338956835..be32536dc7 100644 --- a/Items/Materials/UnholyCore.cs +++ b/Items/Materials/UnholyCore.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(). - AddIngredient(4). + AddIngredient(4). AddIngredient(ItemID.Hellstone, 4). AddTile(TileID.Hellforge). Register(); diff --git a/Items/Placeables/Furniture/CraftingStations/AncientAltar.cs b/Items/Placeables/Furniture/CraftingStations/AncientAltar.cs index 1eaf883a7b..4b6a0bc31b 100644 --- a/Items/Placeables/Furniture/CraftingStations/AncientAltar.cs +++ b/Items/Placeables/Furniture/CraftingStations/AncientAltar.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations { CreateRecipe(). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Placeables/FurnitureAncient/AncientBasin.cs b/Items/Placeables/FurnitureAncient/AncientBasin.cs index b6b40475ac..3930de9c9f 100644 --- a/Items/Placeables/FurnitureAncient/AncientBasin.cs +++ b/Items/Placeables/FurnitureAncient/AncientBasin.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAncient public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAncient/AncientMonolith.cs b/Items/Placeables/FurnitureAncient/AncientMonolith.cs index 8a8635ea3f..63a3658836 100644 --- a/Items/Placeables/FurnitureAncient/AncientMonolith.cs +++ b/Items/Placeables/FurnitureAncient/AncientMonolith.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAncient public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 9).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 9).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/Ores/CharredOre.cs b/Items/Placeables/Ores/CharredOre.cs index 3f137708b7..40bc519480 100644 --- a/Items/Placeables/Ores/CharredOre.cs +++ b/Items/Placeables/Ores/CharredOre.cs @@ -4,18 +4,19 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Ores { - public class CharredOre : ModItem + [LegacyName("CharredOre")] + public class InfernalSuevite : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 100; - DisplayName.SetDefault("Charred Ore"); + DisplayName.SetDefault("Infernal Suevite"); ItemID.Sets.SortingPriorityMaterials[Type] = 90; // Chlorophyte Ore } public override void SetDefaults() { - Item.createTile = ModContent.TileType(); + Item.createTile = ModContent.TileType(); Item.useStyle = ItemUseStyleID.Swing; Item.useTurn = true; Item.useAnimation = 15; diff --git a/NPCs/Crags/CharredSlime.cs b/NPCs/Crags/CharredSlime.cs index 2b4b2addbc..95d2c0e153 100644 --- a/NPCs/Crags/CharredSlime.cs +++ b/NPCs/Crags/CharredSlime.cs @@ -92,7 +92,7 @@ namespace CalamityMod.NPCs.Crags public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 10, 26); + npcLoot.Add(ModContent.ItemType(), 1, 10, 26); npcLoot.Add(ModContent.ItemType(), 3); LeadingConditionRule postProv = npcLoot.DefineConditionalDropSet(DropHelper.PostProv()); postProv.Add(ModContent.ItemType(), 4); diff --git a/Systems/BiomeTileCounterSystem.cs b/Systems/BiomeTileCounterSystem.cs index 600d738a0b..64699e6bd6 100644 --- a/Systems/BiomeTileCounterSystem.cs +++ b/Systems/BiomeTileCounterSystem.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Systems public override void TileCountsAvailable(ReadOnlySpan tileCounts) { - BrimstoneCragTiles = tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()]; + BrimstoneCragTiles = tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()]; SunkenSeaTiles = tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()]; AbyssTiles = tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()]; SulphurTiles = tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()] + tileCounts[ModContent.TileType()]; diff --git a/Tiles/Crags/BrimstoneSlag.cs b/Tiles/Crags/BrimstoneSlag.cs index 2dcb5fbfff..3e5945cb29 100644 --- a/Tiles/Crags/BrimstoneSlag.cs +++ b/Tiles/Crags/BrimstoneSlag.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.Crags CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeWithHell(Type); - CalamityUtils.SetMerge(Type, ModContent.TileType()); + CalamityUtils.SetMerge(Type, ModContent.TileType()); HitSound = SoundID.Tink; MineResist = 3f; diff --git a/Tiles/Ores/CharredOre.cs b/Tiles/Ores/CharredOre.cs index 532653c361..2a5e5840f6 100644 --- a/Tiles/Ores/CharredOre.cs +++ b/Tiles/Ores/CharredOre.cs @@ -6,7 +6,8 @@ using Terraria.ID; namespace CalamityMod.Tiles.Ores { - public class CharredOre : ModTile + [LegacyName("CharredOre")] + public class InfernalSuevite : ModTile { private int sheetWidth = 288; private int sheetHeight = 270; @@ -23,9 +24,9 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); ModTranslation name = CreateMapEntryName(); - name.SetDefault("Charred Ore"); + name.SetDefault("Infernal Suevite"); AddMapEntry(new Color(17, 16, 26), name); MineResist = 6f; MinPick = 150; diff --git a/Utilities/TileFraming.cs b/Utilities/TileFraming.cs index 6cec98ca77..b68213bd3d 100644 --- a/Utilities/TileFraming.cs +++ b/Utilities/TileFraming.cs @@ -88,7 +88,7 @@ namespace CalamityMod tileMergeTypes[ModContent.TileType()][ModContent.TileType()] = true; tileMergeTypes[ModContent.TileType()][ModContent.TileType()] = true; - tileMergeTypes[ModContent.TileType()][ModContent.TileType()] = true; + tileMergeTypes[ModContent.TileType()][ModContent.TileType()] = true; tileMergeTypes[TileID.Sandstone][ModContent.TileType()] = true; tileMergeTypes[ModContent.TileType()][ModContent.TileType()] = true; diff --git a/Utilities/TileUtils.cs b/Utilities/TileUtils.cs index 8a6470392e..a94f32786e 100644 --- a/Utilities/TileUtils.cs +++ b/Utilities/TileUtils.cs @@ -367,7 +367,7 @@ namespace CalamityMod TileType(), TileType(), TileType(), - TileType(), + TileType(), TileType(), TileType(), TileType(), @@ -427,7 +427,7 @@ namespace CalamityMod }); /// - /// Makes the specified tile merge with all tiles which generate in hell. Does not include Charred Ore. + /// Makes the specified tile merge with all tiles which generate in hell. Does not include Infernal Suevite. /// /// The tile whose merging properties will be set. public static void MergeWithHell(int type) => MergeWithSet(type, new int[] { diff --git a/World/BrimstoneCrag.cs b/World/BrimstoneCrag.cs index c45210bef2..eb2093221d 100644 --- a/World/BrimstoneCrag.cs +++ b/World/BrimstoneCrag.cs @@ -220,7 +220,7 @@ namespace CalamityMod.World } } - //place clumps of charred ore + //place clumps of Infernal Suevite for (int x = biomeStart; x <= biomeEdge; x++) { for (int y = Main.maxTilesY - 150; y <= Main.maxTilesY - 45; y++) @@ -236,7 +236,7 @@ namespace CalamityMod.World tileDown.LiquidAmount > 0 || tileLeft.LiquidAmount > 0 || tileRight.LiquidAmount > 0)) { WorldGen.TileRunner(x + WorldGen.genRand.Next(-15, 15), y + WorldGen.genRand.Next(-15, 15), - WorldGen.genRand.Next(10, 12), WorldGen.genRand.Next(10, 12), ModContent.TileType(), false, 0f, 0f, false, true); + WorldGen.genRand.Next(10, 12), WorldGen.genRand.Next(10, 12), ModContent.TileType(), false, 0f, 0f, false, true); } } }