From 4c24f6ddbf66a2c898dfcac7495d408ca7e0693c Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sun, 23 Apr 2023 04:47:05 +0700 Subject: [PATCH] Tile map localization complete - Consistent cage map colors to vanilla - Consistent map entry with Thank You painting - Removed map entry names from vines - Removed map entry names from some common decorative blocks - Cleaned up the other furnitures and item drops --- Localization/en-US/Mods.CalamityMod.hjson | 372 ------------------ Localization/en-US/Tiles.hjson | 107 ++--- Tiles/Abyss/AbyssAmbient/PirateCrate.cs | 6 +- Tiles/Abyss/AbyssGravel.cs | 1 - Tiles/Abyss/AcidwoodTile.cs | 1 - Tiles/Abyss/HardenedSulphurousSandstone.cs | 1 - Tiles/Abyss/PlantyMush.cs | 3 - Tiles/Abyss/PyreMantle.cs | 1 - Tiles/Abyss/PyreMantleMolten.cs | 1 - Tiles/Abyss/SulphuricFossil1.cs | 2 - Tiles/Abyss/SulphurousPots.cs | 3 - Tiles/Abyss/SulphurousSand.cs | 1 - Tiles/Abyss/SulphurousSandstone.cs | 1 - Tiles/Abyss/SulphurousShale.cs | 1 - Tiles/Abyss/SulphurousTorch.cs | 11 +- Tiles/Abyss/SulphurousVines.cs | 2 +- Tiles/Abyss/ViperVines.cs | 2 +- Tiles/Abyss/Voidstone.cs | 1 - Tiles/AerialiteBarTile.cs | 1 - Tiles/AerialiteBrick.cs | 1 - Tiles/ArenaTile.cs | 4 +- Tiles/Astral/AstralBeacon.cs | 4 +- Tiles/Astral/AstralClay.cs | 1 - Tiles/Astral/AstralDirt.cs | 1 - Tiles/Astral/AstralMonolith.cs | 2 - Tiles/Astral/AstralStone.cs | 1 - Tiles/Astral/AstralTorch.cs | 11 +- Tiles/Astral/AstralVines.cs | 2 +- Tiles/Astral/NovaeSlag.cs | 1 - Tiles/AstralBar.cs | 1 - Tiles/AstralBrick.cs | 1 - Tiles/AstralDesert/AstralSand.cs | 1 - Tiles/AstralDesert/AstralSandstone.cs | 1 - Tiles/AstralDesert/CelestialRemains.cs | 3 +- Tiles/AstralDesert/HardenedAstralSand.cs | 1 - Tiles/AstralSnow/AstralIce.cs | 1 - Tiles/AstralSnow/AstralSnow.cs | 1 - Tiles/AuricTeslaBar.cs | 1 - Tiles/ChaoticBarPlaced.cs | 1 - Tiles/CosmiliteBarTile.cs | 1 - Tiles/Crags/BrimstoneSlab.cs | 3 +- Tiles/Crags/BrimstoneSlag.cs | 1 - Tiles/Crags/GloomTorch.cs | 11 +- Tiles/Crags/ScorchedBone.cs | 1 - Tiles/Crags/ScorchedRemains.cs | 1 - Tiles/Crags/Tree/SpineSapling.cs | 4 +- Tiles/Crags/Tree/SpineTree.cs | 4 +- Tiles/CryonicBarTile.cs | 1 - Tiles/CryonicBrick.cs | 1 - .../AgedLaboratoryConsole.cs | 4 +- .../AgedLaboratoryContainmentBox.cs | 4 +- .../AgedLaboratoryDisplay.cs | 4 +- .../AgedLaboratoryDoorClosed.cs | 4 +- .../AgedLaboratoryDoorOpen.cs | 4 +- .../AgedLaboratoryElectricPanel.cs | 4 +- .../DraedonStructures/AgedLaboratoryScreen.cs | 4 +- .../DraedonStructures/AgedLaboratoryServer.cs | 4 +- .../AgedLaboratoryTerminal.cs | 4 +- .../DraedonStructures/AgedReinforcedCrate.cs | 4 +- Tiles/DraedonStructures/ChargingStation.cs | 4 +- Tiles/DraedonStructures/DraedonLabTurret.cs | 4 +- .../DraedonStructures/HazardChevronPanels.cs | 1 - Tiles/DraedonStructures/HostileFireTurret .cs | 4 +- Tiles/DraedonStructures/HostileIceTurret .cs | 4 +- .../DraedonStructures/HostileLaserTurret .cs | 4 +- Tiles/DraedonStructures/HostileOnyxTurret.cs | 4 +- .../DraedonStructures/HostilePlagueTurret.cs | 4 +- Tiles/DraedonStructures/HostileWaterTurret.cs | 4 +- .../InactivePowerCellFactory.cs | 4 +- .../DraedonStructures/LabHologramProjector.cs | 4 +- Tiles/DraedonStructures/LaboratoryConsole.cs | 4 +- .../LaboratoryContainmentBox.cs | 4 +- Tiles/DraedonStructures/LaboratoryDisplay.cs | 4 +- .../DraedonStructures/LaboratoryDoorClosed.cs | 4 +- Tiles/DraedonStructures/LaboratoryDoorOpen.cs | 4 +- .../LaboratoryElectricPanel.cs | 4 +- Tiles/DraedonStructures/LaboratoryPanels.cs | 1 - .../LaboratoryPipePlating.cs | 1 - Tiles/DraedonStructures/LaboratoryPlating.cs | 1 - Tiles/DraedonStructures/LaboratoryScreen.cs | 4 +- Tiles/DraedonStructures/LaboratoryServer.cs | 4 +- Tiles/DraedonStructures/LaboratoryTerminal.cs | 4 +- Tiles/DraedonStructures/OnyxExcavatorTile.cs | 4 +- Tiles/DraedonStructures/PowerCellFactory.cs | 4 +- Tiles/DraedonStructures/ReinforcedCrate.cs | 4 +- Tiles/DraedonStructures/RustedPipes.cs | 1 - Tiles/DraedonStructures/RustedPlating.cs | 1 - Tiles/DraedonSummoner/CodebreakerTile.cs | 4 +- Tiles/Furniture/BabyFlakCrabCageTile.cs | 2 +- .../DevPaintings/ThankYouPaintingTile.cs | 2 +- Tiles/Furniture/PiggyCageTile.cs | 4 +- Tiles/FurnitureAbyss/AbyssTorch.cs | 11 +- Tiles/FurnitureAbyss/SmoothAbyssGravel.cs | 1 - .../FurnitureAcidwood/AcidwoodDresserTile.cs | 2 - Tiles/FurnitureAncient/AncientBasin.cs | 4 +- Tiles/FurnitureAncient/AncientPipeOrgan.cs | 4 +- Tiles/FurnitureAshen/AshenAccentSlab.cs | 1 - Tiles/FurnitureAshen/AshenBasin.cs | 4 +- Tiles/FurnitureAshen/AshenPipeOrgan.cs | 4 +- Tiles/FurnitureAshen/AshenSlab.cs | 1 - Tiles/FurnitureAshen/SmoothBrimstoneSlag.cs | 1 - .../FurnitureCosmilite/CosmiliteBasinTile.cs | 4 +- Tiles/FurnitureCosmilite/CosmiliteBrick.cs | 1 - Tiles/FurnitureCosmilite/CosmiliteSconce.cs | 5 +- Tiles/FurnitureEutrophic/EutrophicDresser.cs | 2 - Tiles/FurnitureEutrophic/SmoothNavystone.cs | 1 - Tiles/FurnitureExo/ExoConsoleTile.cs | 4 +- Tiles/FurnitureExo/ExoDisplayTile.cs | 4 +- Tiles/FurnitureExo/ExoDoorClosed.cs | 4 +- Tiles/FurnitureExo/ExoDoorOpen.cs | 4 +- Tiles/FurnitureExo/ExoPlatingTile.cs | 1 - Tiles/FurnitureExo/ExoPrismPanelTile.cs | 1 - Tiles/FurnitureExo/ExoScreenTile.cs | 4 +- Tiles/FurnitureExo/ExoServerTile.cs | 4 +- Tiles/FurnitureExo/ExoTerminalTile.cs | 4 +- .../OtherworldlyStone.cs | 1 - Tiles/FurniturePlaguedPlate/PlaguedPlate.cs | 1 - .../PlaguedPlateBasin.cs | 4 +- .../FurniturePlaguedPlate/PlaguedPlateBed.cs | 4 +- Tiles/FurnitureProfaned/ProfanedCrystal.cs | 1 - Tiles/FurnitureProfaned/ProfanedPiano.cs | 4 +- Tiles/FurnitureProfaned/ProfanedRock.cs | 1 - Tiles/FurnitureProfaned/ProfanedSlab.cs | 1 - Tiles/FurnitureProfaned/RunicProfanedBrick.cs | 1 - .../MonolithOfTheAccursedTile.cs | 4 +- .../FurnitureSacrilegious/OccultBrickTile.cs | 1 - .../SacrilegiousOrganTile.cs | 4 +- Tiles/FurnitureSilva/SilvaCrystal.cs | 1 - Tiles/FurnitureStatigel/StatigelBlock.cs | 1 - Tiles/FurnitureStratus/StratusBricks.cs | 1 - Tiles/FurnitureVoid/SmoothVoidstone.cs | 1 - Tiles/FurnitureVoid/VoidstoneSlab.cs | 1 - Tiles/FurnitureWulfrum/WulfrumPlating.cs | 1 - .../LivingBrimstoneFireBlockTile.cs | 1 - .../LivingGodSlayerFireBlockTile.cs | 1 - Tiles/LivingFire/LivingHolyFireBlockTile.cs | 1 - Tiles/Ores/AerialiteOre.cs | 5 +- Tiles/Ores/AstralOre.cs | 5 +- Tiles/Ores/AuricOre.cs | 5 +- Tiles/Ores/CryonicOre.cs | 5 +- Tiles/Ores/ExodiumOre.cs | 5 +- Tiles/Ores/HallowedOre.cs | 5 +- Tiles/Ores/InfernalSuevite.cs | 5 +- Tiles/Ores/PerennialOre.cs | 5 +- Tiles/Ores/ScoriaOre.cs | 5 +- Tiles/Ores/UelibloomOre.cs | 5 +- Tiles/PerennialBar.cs | 1 - Tiles/PerennialBrick.cs | 1 - Tiles/PlacedRock.cs | 1 - Tiles/Plates/Cinderplate.cs | 1 - Tiles/Plates/Elumplate.cs | 1 - Tiles/Plates/Havocplate.cs | 1 - Tiles/Plates/Navyplate.cs | 1 - Tiles/Plates/Onyxplate.cs | 1 - Tiles/Plates/PlagueContainmentCells.cs | 1 - Tiles/PlayerTurrets/PlayerFireTurret .cs | 4 +- Tiles/PlayerTurrets/PlayerIceTurret .cs | 4 +- Tiles/PlayerTurrets/PlayerLabTurret.cs | 4 +- Tiles/PlayerTurrets/PlayerLaserTurret .cs | 4 +- Tiles/PlayerTurrets/PlayerOnyxTurret.cs | 4 +- Tiles/PlayerTurrets/PlayerPlagueTurret.cs | 4 +- Tiles/PlayerTurrets/PlayerWaterTurret.cs | 4 +- Tiles/RoxTile.cs | 4 +- Tiles/ScoriaBrick.cs | 1 - Tiles/ShadowspecBarTile.cs | 1 - Tiles/SunkenSea/AlgalPrismTorch.cs | 11 +- Tiles/SunkenSea/EutrophicGlass.cs | 3 +- Tiles/SunkenSea/EutrophicSand.cs | 5 +- Tiles/SunkenSea/HardenedEutrophicSand.cs | 5 +- Tiles/SunkenSea/NavyPrismTorch.cs | 11 +- Tiles/SunkenSea/Navystone.cs | 3 +- Tiles/SunkenSea/RefractivePrismTorch.cs | 13 +- Tiles/SunkenSea/SeaPrism.cs | 3 +- Tiles/SunkenSea/SeaPrismBrick.cs | 3 +- Tiles/SunkenSea/SeaPrismCrystals.cs | 4 +- Tiles/SunkenSea/TableCoral.cs | 2 - Tiles/SunkenSea/TubeCoral.cs | 2 - Tiles/UelibloomBar.cs | 1 - Tiles/UelibloomBrick.cs | 1 - Tiles/VernalSoil.cs | 5 +- Utilities/FurnitureSetupUtils.cs | 5 + Walls/AbyssGravelWallSafe.cs | 1 - Walls/AcidwoodWall.cs | 1 - Walls/AerialiteBrickWall.cs | 1 - Walls/AshenSlabWall.cs | 1 - Walls/AstralBrickWall.cs | 1 - Walls/AstralDirtWallSafe.cs | 1 - Walls/AstralGrassWall.cs | 1 - Walls/AstralIceWallSafe.cs | 1 - Walls/AstralMonolithWall.cs | 1 - Walls/AstralSandstoneWallSafe.cs | 1 - Walls/AstralSnowWallSafe.cs | 1 - Walls/AstralStoneWallSafe.cs | 1 - Walls/BrimstoneSlabWall.cs | 1 - Walls/BrimstoneSlagWall.cs | 1 - Walls/BrimstoneSlagWallUnsafe.cs | 1 - Walls/CelestialRemainsWall.cs | 1 - Walls/CinderplateWall.cs | 1 - Walls/CosmiliteBrickWall.cs | 1 - Walls/CryonicBrickWall.cs | 1 - Walls/DraedonStructures/HazardChevronWall.cs | 1 - .../DraedonStructures/LaboratoryPanelWall.cs | 1 - .../DraedonStructures/LaboratoryPlateBeam.cs | 1 - .../LaboratoryPlatePillar.cs | 1 - .../LaboratoryPlatingWall.cs | 1 - Walls/DraedonStructures/RustedPlateBeam.cs | 1 - Walls/DraedonStructures/RustedPlatePillar.cs | 1 - Walls/DraedonStructures/RustedPlatingWall.cs | 1 - Walls/ElumplateWall.cs | 1 - Walls/EutrophicSandWallSafe.cs | 1 - Walls/ExoPlatingWall.cs | 1 - Walls/ExoPrismPanelWall.cs | 1 - Walls/FloralWall.cs | 1 - Walls/HardenedAstralSandWallSafe.cs | 1 - Walls/HardenedSulphurousSandstoneWall.cs | 1 - Walls/HavocplateWall.cs | 1 - Walls/NavyplateWall.cs | 1 - Walls/NavystoneWallSafe.cs | 1 - Walls/OccultBrickWall.cs | 1 - Walls/OnyxplateWall.cs | 1 - Walls/OtherworldlyStoneWall.cs | 1 - Walls/PerennialBrickWall.cs | 1 - Walls/PlagueContainmentCellsWall.cs | 1 - Walls/PlaguedPlateWall.cs | 1 - Walls/ProfanedCrystalWall.cs | 1 - Walls/ProfanedRockWall.cs | 1 - Walls/ProfanedSlabWall.cs | 1 - Walls/RunicProfanedBrickWall.cs | 1 - Walls/ScorchedBoneWall.cs | 1 - Walls/ScoriaBrickWall.cs | 1 - Walls/SilvaWall.cs | 1 - Walls/SmoothAbyssGravelWall.cs | 1 - Walls/SmoothBrimstoneSlagWall.cs | 1 - Walls/SmoothNavystoneWall.cs | 1 - Walls/SmoothVoidstoneWall.cs | 1 - Walls/StatigelWall.cs | 1 - Walls/StratusWall.cs | 1 - Walls/SulphurousSandWallSafe.cs | 1 - Walls/SulphurousSandstoneWallSafe.cs | 1 - Walls/SulphurousShaleWallSafe.cs | 1 - Walls/UelibloomBrickWall.cs | 1 - Walls/VoidstoneSlabWall.cs | 1 - Walls/VoidstoneWall.cs | 1 - 243 files changed, 138 insertions(+), 938 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.hjson b/Localization/en-US/Mods.CalamityMod.hjson index e3eb292452..5a751f0ed3 100644 --- a/Localization/en-US/Mods.CalamityMod.hjson +++ b/Localization/en-US/Mods.CalamityMod.hjson @@ -1,375 +1,3 @@ -Tiles: { - AstralPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.AstralPylon}" - CragsPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.CragsPylon}" - SulphurPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.SulphurPylon}" - SunkenPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.SunkenPylon}" - AbyssalPots.MapEntry: Pot - AbyssVent1.MapEntry: Steam Vent - AbyssVent2.MapEntry: Steam Vent - AbyssVent3.MapEntry: Steam Vent - PirateCrate1.MapEntry: Abandoned Crate - PirateCrate2.MapEntry: Abandoned Crate - PirateCrate3.MapEntry: Abandoned Crate - PirateCrate4.MapEntry: Abandoned Crate - PirateCrate5.MapEntry: Abandoned Crate - PirateCrate6.MapEntry: Abandoned Crate - ThermalVent1.MapEntry: Thermal Vent - ThermalVent2.MapEntry: Thermal Vent - ThermalVent3.MapEntry: Thermal Vent - AbyssFossilTile.MapEntry: Abyss Shell Fossil - AbyssTreasureChest.MapEntry: Ancient Treasure Chest - AcidWoodTreeSapling.MapEntry: MapObject.Sapling - LumenylCrystals.MapEntry: Lumenyl - PlantyMush.MapEntry: Planty Mush - RustyChestTile.MapEntry: Rusty Chest - SulphurousStalacmite1.MapEntry: Stalacmite - SulphurousStalacmite2.MapEntry: Stalacmite - SulphurousStalacmite3.MapEntry: Stalacmite - SulphurousStalacmite4.MapEntry: Stalacmite - SulphurousStalacmite5.MapEntry: Stalacmite - SulphurousStalacmite6.MapEntry: Stalacmite - SulphurousStalactite1.MapEntry: Stalactite - SulphurousStalactite2.MapEntry: Stalactite - SulphurousStalactite3.MapEntry: Stalactite - SulphurousStalactite4.MapEntry: Stalactite - SulphurousStalactite5.MapEntry: Stalactite - SulphurousStalactite6.MapEntry: Stalactite - SteamGeyser1.MapEntry: Geyser - SteamGeyser2.MapEntry: Geyser - SteamGeyser3.MapEntry: Geyser - SulphuricFossil1.MapEntry: Fossil - SulphuricFossil2.MapEntry: Fossil - SulphuricFossil3.MapEntry: Fossil - SulphurousColumn.MapEntry: Column - SulphurousCrateTile.MapEntry: Sulphurous Crate - SulphurousPots.MapEntry: Pot - SulphurousRib1.MapEntry: Ribs - SulphurousRib2.MapEntry: Ribs - SulphurousRib3.MapEntry: Ribs - SulphurousRib4.MapEntry: Ribs - SulphurousRib5.MapEntry: Ribs - SulphurousTorch.MapEntry: Torch - SulphurousVines.MapEntry: Sulphurous Vines - ViperVines.MapEntry: Viper Vines - ArenaTile.MapEntry: Arena - AstralBeacon.MapEntry: Astral Beacon - AstralChestLocked: { - MapEntry0: Ashen Chest - MapEntry1: Locked Ashen Chest - } - AstralCrateTile.MapEntry: Astral Crate - AstralTorch.MapEntry: Torch - AstralTreeSapling.MapEntry: MapObject.Sapling - AstralVines.MapEntry: Astral Vines - NovaeSlag.MapEntry: Novae Slag - AstralPalmSapling.MapEntry: MapObject.Sapling - CelestialRemains.MapEntry: Celestial Remains - AstralSnowTreeSapling.MapEntry: MapObject.Sapling - BrimstoneCrateTile.MapEntry: Brimstone Crate - BrimstoneSlab.MapEntry: Brimstone Slab - GloomTorch.MapEntry: Torch - SpineSapling.MapEntry: Spine Sapling - SpineTree.MapEntry: Giant Spine - AgedLaboratoryConsole.MapEntry: Aged Console - AgedLaboratoryContainmentBox.MapEntry: Aged Laboratory Containment Box - AgedLaboratoryDisplay.MapEntry: Aged Display - AgedLaboratoryDoorClosed.MapEntry: Laboratory Door - AgedLaboratoryDoorOpen.MapEntry: Laboratory Door - AgedLaboratoryElectricPanel.MapEntry: Aged Electric Panel - AgedLaboratoryScreen.MapEntry: Aged Screen - AgedLaboratoryServer.MapEntry: Aged Server - AgedLaboratoryTerminal.MapEntry: Aged Terminal - AgedReinforcedCrate.MapEntry: Aged Reinforced Crate - AgedSecurityChestTile.MapEntry: Aged Security Chest - ChargingStation.MapEntry: Charging Station - DraedonLabTurret.MapEntry: Lab Turret - InactivePowerCellFactory.MapEntry: Inactive Power Cell Factory - LabHologramProjector.MapEntry: Lab Hologram Projector - LaboratoryConsole.MapEntry: Console - LaboratoryContainmentBox.MapEntry: Laboratory Containment Box - LaboratoryDisplay.MapEntry: Display - LaboratoryDoorClosed.MapEntry: Laboratory Door - LaboratoryDoorOpen.MapEntry: Laboratory Door - LaboratoryElectricPanel.MapEntry: Electric Panel - LaboratoryScreen.MapEntry: Screen - LaboratoryServer.MapEntry: Server - LaboratoryTerminal.MapEntry: Terminal - OnyxExcavatorTile.MapEntry: Onyx Excavator - PowerCellFactory.MapEntry: Power Cell Factory - ReinforcedCrate.MapEntry: Reinforced Crate - SecurityChestTile.MapEntry: Security Chest - CodebreakerTile.MapEntry: The Codebreaker - AuricToiletTile.MapEntry: Auric Toilet - BabyFlakCrabCageTile.MapEntry: Baby Flak Crab Cage - BabyGhostBellJarTile.MapEntry: Baby Ghost Bell Jar - BlueCandle.MapEntry: Weightless Candle - BossTrophy.MapEntry: Trophy - ChaosCandle.MapEntry: Chaos Candle - CorruptionEffigy.MapEntry: Corruption Effigy - AncientAltar.MapEntry: Ancient Altar - AshenAltar.MapEntry: Ashen Altar - BotanicPlanter.MapEntry: Botanic Planter - CosmicAnvil.MapEntry: Cosmic Anvil - DraedonsForge.MapEntry: Draedon's Forge - EutrophicShelf.MapEntry: Eutrophic Shelf - MonolithAmalgam.MapEntry: Monolith Amalgam - PlagueInfuser.MapEntry: Plague Infuser - ProfanedCrucible.MapEntry: Profaned Crucible - SCalAltar.MapEntry: Altar - SilvaBasin.MapEntry: Effulgent Manipulator - StaticRefiner.MapEntry: Static Refiner - VoidCondenser.MapEntry: Void Condenser - WulfrumLabstation.MapEntry: Wulfrum Labstation - CrimsonEffigy.MapEntry: Crimson Effigy - ThankYouPaintingTile.MapEntry: Thank You Painting - EffigyOfDecayPlaceable.MapEntry: Effigy of Decay - LanternCenterTile.MapEntry: Lantern Center - PiggyCageTile.MapEntry: Piggy Cage - PinkCandle.MapEntry: Vigorous Candle - PurpleCandle.MapEntry: Resilient Candle - SeaMinnowJarTile.MapEntry: Sea Minnow Jar - TranquilityCandle.MapEntry: Tranquility Candle - TwinklerInABottleTile.MapEntry: Twinkler in a Bottle - WulfrumLure.MapEntry: Wulfrum Lure - YellowCandle.MapEntry: Spiteful Candle - AbyssBathtub.MapEntry: Bathtub - AbyssBed.MapEntry: Bed - AbyssBookcase.MapEntry: Bookcase - AbyssCandelabra.MapEntry: Candelabra - AbyssCandle.MapEntry: Candle - AbyssChest.MapEntry: Abyss Chest - AbyssClock.MapEntry: Grandfather Clock - AbyssDresser.MapEntry: Abyss Dresser - AbyssSynth.MapEntry: Abyss Synth - AbyssTorch.MapEntry: Torch - AbyssWorkBench.MapEntry: Work Bench - AcidwoodBathTile.MapEntry: Bathtub - AcidwoodBedTile.MapEntry: Bed - AcidwoodBookcaseTile.MapEntry: Bookcase - AcidwoodCandelabraTile.MapEntry: Candelabra - AcidwoodCandleTile.MapEntry: Candle - AcidwoodChestTile.MapEntry: Acidwood Chest - AcidwoodClockTile.MapEntry: Grandfather Clock - AcidwoodDresserTile.MapEntry: Acidwood Dresser - AcidwoodPianoTile.MapEntry: Piano - AcidwoodWorkBenchTile.MapEntry: Work Bench - AncientBasin.MapEntry: Ancient Basin - AncientBathtub.MapEntry: Bathtub - AncientBed.MapEntry: Bed - AncientBookcase.MapEntry: Bookcase - AncientDresser.MapEntry: Ancient Dresser - AncientMonolith.MapEntry: Ancient Monolith - AncientPipeOrgan.MapEntry: Ancient Pipe Organ - AncientWorkBench.MapEntry: Work Bench - AshenBasin.MapEntry: Ashen Basin - AshenBathtub.MapEntry: Bathtub - AshenBed.MapEntry: Bed - AshenBookcase.MapEntry: Bookcase - AshenCandelabra.MapEntry: Candelabra - AshenCandle.MapEntry: Candle - - AshenChest: { - MapEntry0: Ashen Chest - MapEntry1: Locked Ashen Chest - } - - AshenDresser.MapEntry: Ashen Dresser - AshenMonolith.MapEntry: Ashen Monolith - AshenPipeOrgan.MapEntry: Ashen Pipe Organ - AshenWorkBench.MapEntry: Work Bench - BotanicBathtub.MapEntry: Bathtub - BotanicBed.MapEntry: Bed - BotanicBookcase.MapEntry: Bookcase - BotanicCandelabra.MapEntry: Candelabra - BotanicCandle.MapEntry: Candle - BotanicChest.MapEntry: Botanic Chest - BotanicClock.MapEntry: Grandfather Clock - BotanicDresser.MapEntry: Botanic Dresser - BotanicPiano.MapEntry: Piano - BotanicWorkBench.MapEntry: Work Bench - CosmiliteBasinTile.MapEntry: Cosmilite Basin - CosmiliteBathtub.MapEntry: Bathtub - CosmiliteBed.MapEntry: Bed - CosmiliteBookcase.MapEntry: Bookcase - CosmiliteCandelabra.MapEntry: Candelabra - CosmiliteCandle.MapEntry: Candle - CosmiliteChest.MapEntry: Cosmilite Chest - CosmiliteClock.MapEntry: Grandfather Clock - CosmiliteDresser.MapEntry: Cosmilite Dresser - CosmilitePiano.MapEntry: Piano - CosmiliteSconce.MapEntry: Cosmilite Sconce - CosmiliteWorkBench.MapEntry: Work Bench - EutrophicBathtub.MapEntry: Bathtub - EutrophicBed.MapEntry: Bed - EutrophicBookcase.MapEntry: Bookcase - EutrophicCandelabra.MapEntry: Candelabra - EutrophicCandle.MapEntry: Candle - EutrophicChest.MapEntry: Eutrophic Chest - EutrophicClock.MapEntry: Grandfather Clock - EutrophicDresser.MapEntry: Eutrophic Dresser - EutrophicPiano.MapEntry: Piano - EutrophicWorkBench.MapEntry: Work Bench - ExoBathtubTile.MapEntry: Bathtub - ExoBedTile.MapEntry: Bed - ExoBookcaseTile.MapEntry: Bookcase - ExoCandelabraTile.MapEntry: Candelabra - ExoCandleTile.MapEntry: Candle - ExoChestTile.MapEntry: Exo Chest - ExoClockTile.MapEntry: Grandfather Clock - ExoConsoleTile.MapEntry: Console - ExoDisplayTile.MapEntry: Display - ExoDoorClosed.MapEntry: Exo Door - ExoDoorOpen.MapEntry: Exo Door - ExoDresserTile.MapEntry: Exo Dresser - ExoKeyboardTile.MapEntry: Exo Keyboard - ExoScreenTile.MapEntry: Screen - ExoServerTile.MapEntry: Server - ExoTerminalTile.MapEntry: Terminal - ExoToiletTile.MapEntry: Exo Toilet - ExoWorkbenchTile.MapEntry: Work Bench - MonolithBathtub.MapEntry: Bathtub - MonolithBed.MapEntry: Bed - MonolithBookcase.MapEntry: Bookcase - MonolithCandelabra.MapEntry: Candelabra - MonolithCandle.MapEntry: Candle - MonolithChest.MapEntry: Monolith Chest - MonolithClock.MapEntry: Grandfather Clock - MonolithDresser.MapEntry: Monolith Dresser - MonolithPiano.MapEntry: Piano - MonolithWorkBench.MapEntry: Work Bench - OtherworldlyBathtub.MapEntry: Bathtub - OtherworldlyBed.MapEntry: Bed - OtherworldlyBookcase.MapEntry: Bookcase - OtherworldlyCandelabra.MapEntry: Candelabra - OtherworldlyCandle.MapEntry: Candle - OtherworldlyChest.MapEntry: Otherworldly Chest - OtherworldlyClock.MapEntry: Grandfather Clock - OtherworldlyDresser.MapEntry: Otherworldly Dresser - OtherworldlyPiano.MapEntry: Piano - OtherworldlyWorkBench.MapEntry: Work Bench - PlaguedPlateBasin.MapEntry: Broken Plagued 'Bed' - PlaguedPlateBathtub.MapEntry: Bathtub - PlaguedPlateBed.MapEntry: "'Bed'" - PlaguedPlateBookcase.MapEntry: Bookcase - PlaguedPlateCandelabra.MapEntry: Candelabra - PlaguedPlateCandle.MapEntry: Candle - PlaguedPlateChest.MapEntry: Plagued Chest - PlaguedPlateClock.MapEntry: Grandfather Clock - PlaguedPlateDresser.MapEntry: Plagued Dresser - PlaguedPlatePiano.MapEntry: Piano - PlaguedPlateWorkbench.MapEntry: Work Bench - ProfanedBath.MapEntry: Bathtub - ProfanedBed.MapEntry: Bed - ProfanedBookcase.MapEntry: Bookcase - ProfanedCandelabra.MapEntry: Candelabra - ProfanedCandle.MapEntry: Candle - ProfanedChest.MapEntry: Profaned Chest - ProfanedClock.MapEntry: Grandfather Clock - ProfanedDresser.MapEntry: Profaned Dresser - ProfanedPiano.MapEntry: Piano - ProfanedWorkbench.MapEntry: Work Bench - MonolithOfTheAccursedTile.MapEntry: Monolith of the Accursed - SacrilegiousBathtubTile.MapEntry: Bathtub - SacrilegiousBedTile.MapEntry: Bed - SacrilegiousBookcaseTile.MapEntry: Bookcase - SacrilegiousCandelabraTile.MapEntry: Candelabra - SacrilegiousCandleTile.MapEntry: Candle - SacrilegiousChestTile.MapEntry: Sacrilegious Chest - SacrilegiousClockTile.MapEntry: Grandfather Clock - SacrilegiousDresserTile.MapEntry: Sacrilegious Dresser - SacrilegiousOrganTile.MapEntry: Piano - SacrilegiousWorkBenchTile.MapEntry: Work Bench - SilvaBathtub.MapEntry: Bathtub - SilvaBed.MapEntry: Bed - SilvaBookcase.MapEntry: Bookcase - SilvaCandelabra.MapEntry: Candelabra - SilvaCandle.MapEntry: Candle - SilvaChest.MapEntry: Silva Chest - SilvaClock.MapEntry: Grandfather Clock - SilvaDresser.MapEntry: Silva Dresser - SilvaPiano.MapEntry: Piano - SilvaWorkBench.MapEntry: Work Bench - StatigelBath.MapEntry: Bathtub - StatigelBed.MapEntry: Bed - StatigelBookcase.MapEntry: Bookcase - StatigelCandelabra.MapEntry: Candelabra - StatigelCandle.MapEntry: Candle - StatigelChest.MapEntry: Statigel Chest - StatigelClock.MapEntry: Grandfather Clock - StatigelDresser.MapEntry: Statigel Dresser - StatigelPiano.MapEntry: Piano - StatigelWorkbench.MapEntry: Work Bench - StratusBathtub.MapEntry: Bathtub - StratusBed.MapEntry: Bed - StratusBookcase.MapEntry: Bookcase - StratusCandelabra.MapEntry: Candelabra - StratusCandle.MapEntry: Candle - StratusChest.MapEntry: Stratus Chest - StratusClock.MapEntry: Grandfather Clock - StratusDresser.MapEntry: Stratus Dresser - StratusPiano.MapEntry: Piano - StratusWorkbench.MapEntry: Work Bench - VoidBath.MapEntry: Bathtub - VoidBed.MapEntry: Bed - VoidBookcase.MapEntry: Bookcase - VoidCandelabra.MapEntry: Candelabra - VoidCandle.MapEntry: Candle - VoidChest.MapEntry: Void Chest - VoidClock.MapEntry: Void Obelisk - VoidDresser.MapEntry: Void Dresser - VoidPiano.MapEntry: Piano - VoidWorkbench.MapEntry: Work Bench - WulfrumBathtub.MapEntry: Bathtub - WulfrumBed.MapEntry: Bed - WulfrumBookcase.MapEntry: Bookcase - WulfrumCandelabra.MapEntry: Candelabra - WulfrumCandle.MapEntry: Candle - WulfrumClock.MapEntry: Grandfather Clock - WulfrumDresser.MapEntry: Wulfrum Dresser - WulfrumPiano.MapEntry: Piano - WulfrumToilet.MapEntry: Wulfrum Toilet - WulfrumWorkbench.MapEntry: Work Bench - DraedonsAmbienceMusicBox.MapEntry: Music Box - AerialiteOre.MapEntry: Aerialite - AerialiteOreDisenchanted.MapEntry: Disenchanted Aerialite - AstralOre.MapEntry: Astral Ore - AuricOre.MapEntry: Auric - CryonicOre.MapEntry: Cryonic - ExodiumOre.MapEntry: Exodium - HallowedOre.MapEntry: Hallowed Ore - InfernalSuevite.MapEntry: Infernal Suevite - PerennialOre.MapEntry: Perennial - ScoriaOre.MapEntry: Scoria - UelibloomOre.MapEntry: Uelibloom - RoxTile.MapEntry: Roxcalibur - AlgalPrismTorch.MapEntry: Torch - BrainCoral.MapEntry: Brain Coral - EutrophicGlass.MapEntry: Mods.CalamityMod.MapObject.EutrophicGlass - EutrophicSand.MapEntry: Eutrophic Sand - FanCoral.MapEntry: Fan Coral - NavyPrismTorch.MapEntry: Torch - Navystone.MapEntry: Navystone - RefractivePrismTorch.MapEntry: Torch - SeaAnemone.MapEntry: Sea Anemone - SeaPrism.MapEntry: Sea Prism - SeaPrismBrick.MapEntry: Sea Prism Brick - SeaPrismCrystals.MapEntry: Sea Prism Crystal - SmallBrainCoral.MapEntry: Small Brain Coral - SmallTubeCoral.MapEntry: Small Tube Coral - SunkenCrateTile.MapEntry: Sunken Crate - SunkenStalactite1.MapEntry: Mods.CalamityMod.MapObject.SunkenStalactite1 - SunkenStalactite2.MapEntry: Mods.CalamityMod.MapObject.SunkenStalactite2 - SunkenStalactite3.MapEntry: Mods.CalamityMod.MapObject.SunkenStalactite3 - SunkenStalactitesSmall.MapEntry: Mods.CalamityMod.MapObject.SunkenStalactitesSmall - SunkenStalagmite1.MapEntry: Mods.CalamityMod.MapObject.SunkenStalagmite1 - SunkenStalagmite2.MapEntry: Mods.CalamityMod.MapObject.SunkenStalagmite2 - SunkenStalagmite3.MapEntry: Mods.CalamityMod.MapObject.SunkenStalagmite3 - SunkenStalagmitesSmall.MapEntry: Mods.CalamityMod.MapObject.SunkenStalagmitesSmall - TableCoral.MapEntry: Table Coral - TubeCoral.MapEntry: Tube Coral - VernalSoil.MapEntry: Vernal Soil -} - /* Difficulty and UI */ DefenseDamage: Defense Damage RevengeText: Revengeance is active. diff --git a/Localization/en-US/Tiles.hjson b/Localization/en-US/Tiles.hjson index e08d8979b5..c4e3b5e061 100644 --- a/Localization/en-US/Tiles.hjson +++ b/Localization/en-US/Tiles.hjson @@ -1,71 +1,45 @@ Mods: { CalamityMod: { Tiles: { - /* Common Entries shared by multiple tiles */ + /* Common entries shared by multiple tiles */ + /* Ambient Objects */ Fossil: Fossil Column: Column Ribs: Ribs Stalagmite: Stalagmite Stalactite: Stalactite + PirateCrate: Abandoned Crate + + /* Basic Calamity Furniture */ + Basin: Basin + PipeOrgan: Pipe Organ + Sconce: Sconce + + /* Draedon Lab Furniture */ + Console: Console + ContainmentBox: Containment Box + Display: Display + ElectricPanel: Electric Panel + ReinforcedCrate: Reinforced Crate + Screen: Screen + Server: Server + Terminal: Terminal - /* Individual Tile entries */ - /* Sulphurous Sea / Abyss */ - SulphurousVines.MapEntry: Sulphurous Vines - ViperVines.MapEntry: Viper Vines - SteamGeyser.MapEntry: Geyser - AbyssVent.MapEntry: Steam Vent - ThermalVent.MapEntry: Thermal Vent - PirateCrate.MapEntry: Abandoned Crate - - /* Astral */ - ArenaTile.MapEntry: Arena - AstralBeacon.MapEntry: Astral Beacon - AstralChestLocked: { - MapEntry0: "{$ItemName.AstralChest}" - MapEntry1: "Locked Astral Chest" - } - AstralVines.MapEntry: Astral Vines - CelestialRemains.MapEntry: Celestial Remains + /* Individual entries */ + /* Sulphurous Sea & Abyss */ + SteamGeyser1.MapEntry: Geyser + AbyssVent1.MapEntry: Steam Vent + ThermalVent1.MapEntry: Thermal Vent /* Brimstone Crags */ - BrimstoneSlab.MapEntry: Brimstone Slab SpineSapling.MapEntry: Spine Sapling SpineTree.MapEntry: Giant Spine /* Draedon */ - AgedLaboratoryConsole.MapEntry: Aged Console - AgedLaboratoryContainmentBox.MapEntry: Aged Laboratory Containment Box - AgedLaboratoryDisplay.MapEntry: Aged Display - AgedLaboratoryDoorClosed.MapEntry: Laboratory Door - AgedLaboratoryDoorOpen.MapEntry: Laboratory Door - AgedLaboratoryElectricPanel.MapEntry: Aged Electric Panel - AgedLaboratoryScreen.MapEntry: Aged Screen - AgedLaboratoryServer.MapEntry: Aged Server - AgedLaboratoryTerminal.MapEntry: Aged Terminal - AgedReinforcedCrate.MapEntry: Aged Reinforced Crate - AgedSecurityChestTile.MapEntry: Aged Security Chest - ChargingStation.MapEntry: Charging Station - DraedonLabTurret.MapEntry: Lab Turret InactivePowerCellFactory.MapEntry: Inactive Power Cell Factory - LabHologramProjector.MapEntry: Lab Hologram Projector - LaboratoryConsole.MapEntry: Console - LaboratoryContainmentBox.MapEntry: Laboratory Containment Box - LaboratoryDisplay.MapEntry: Display - LaboratoryDoorClosed.MapEntry: Laboratory Door - LaboratoryDoorOpen.MapEntry: Laboratory Door - LaboratoryElectricPanel.MapEntry: Electric Panel - LaboratoryScreen.MapEntry: Screen - LaboratoryServer.MapEntry: Server - LaboratoryTerminal.MapEntry: Terminal OnyxExcavatorTile.MapEntry: Onyx Excavator - PowerCellFactory.MapEntry: Power Cell Factory - ReinforcedCrate.MapEntry: Reinforced Crate - SecurityChestTile.MapEntry: Security Chest CodebreakerTile.MapEntry: The Codebreaker - /* Sunken Sea */ - SeaPrismCrystals.MapEntry: Sea Prism Crystal - /* Ores */ AerialiteOre.MapEntry: Aerialite AerialiteOreDisenchanted.MapEntry: Disenchanted Aerialite @@ -78,29 +52,18 @@ Mods: { PerennialOre.MapEntry: Perennial ScoriaOre.MapEntry: Scoria UelibloomOre.MapEntry: Uelibloom - - /* Misc */ - AncientAltar.MapEntry: Ancient Altar - AshenAltar.MapEntry: Ashen Altar - BotanicPlanter.MapEntry: Botanic Planter - CosmicAnvil.MapEntry: Cosmic Anvil - DraedonsForge.MapEntry: Draedon's Forge - EutrophicShelf.MapEntry: Eutrophic Shelf - MonolithAmalgam.MapEntry: Monolith Amalgam - PlagueInfuser.MapEntry: Plague Infuser - ProfanedCrucible.MapEntry: Profaned Crucible - SCalAltar.MapEntry: Altar - SilvaBasin.MapEntry: Effulgent Manipulator - StaticRefiner.MapEntry: Static Refiner - VoidCondenser.MapEntry: Void Condenser - WulfrumLabstation.MapEntry: Wulfrum Labstation - ThankYouPaintingTile.MapEntry: Thank You Painting - AstralPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.AstralPylon}" - CragsPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.CragsPylon}" - SulphurPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.SulphurPylon}" - SunkenPylonTile.MapEntry: "{$Mods.CalamityMod.ItemName.SunkenPylon}" - - /* TODO: Make all furniture tiles use common MapObject/ItemName entries instead of registering their own indivdual entries */ + + /* Misc */ + ArenaTile.MapEntry: Arena + AshenChest: { + MapEntry0: "{$ItemName.AshenChest}" + MapEntry1: Locked Ashen Chest + } + AstralChestLocked: { + MapEntry0: "{$ItemName.AstralChest}" + MapEntry1: "Locked Astral Chest" + } + PlaguedPlateBed.MapEntry: "'Bed'" } } } \ No newline at end of file diff --git a/Tiles/Abyss/AbyssAmbient/PirateCrate.cs b/Tiles/Abyss/AbyssAmbient/PirateCrate.cs index a53a2a801d..7b6d13a205 100644 --- a/Tiles/Abyss/AbyssAmbient/PirateCrate.cs +++ b/Tiles/Abyss/AbyssAmbient/PirateCrate.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.Abyss.AbyssAmbient TileObjectData.newTile.DrawYOffset = 2; TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); TileObjectData.addTile(Type); - AddMapEntry(new Color(97, 69, 52), CreateMapEntryName()); + AddMapEntry(new Color(97, 69, 52), CalamityUtils.GetText("Tiles.PirateCrate")); DustType = DustID.WoodFurniture; HitSound = MineSound; @@ -91,9 +91,7 @@ namespace CalamityMod.Tiles.Abyss.AbyssAmbient TileObjectData.newTile.DrawYOffset = 2; TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Abandoned Crate"); - AddMapEntry(new Color(97, 69, 52), name); + AddMapEntry(new Color(97, 69, 52), CalamityUtils.GetText("Tiles.PirateCrate")); DustType = DustID.WoodFurniture; HitSound = MineSound; diff --git a/Tiles/Abyss/AbyssGravel.cs b/Tiles/Abyss/AbyssGravel.cs index f117c19b5e..a4bf2b0766 100644 --- a/Tiles/Abyss/AbyssGravel.cs +++ b/Tiles/Abyss/AbyssGravel.cs @@ -25,7 +25,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeWithAbyss(Type); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(25, 28, 54)); MineResist = 5f; MinPick = 65; diff --git a/Tiles/Abyss/AcidwoodTile.cs b/Tiles/Abyss/AcidwoodTile.cs index 89bc2514e5..a43e13f96b 100644 --- a/Tiles/Abyss/AcidwoodTile.cs +++ b/Tiles/Abyss/AcidwoodTile.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeDecorativeTiles(Type); CalamityUtils.MergeWithAbyss(Type); - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Dig; AddMapEntry(new Color(218, 169, 97)); AnimationFrameHeight = 270; diff --git a/Tiles/Abyss/HardenedSulphurousSandstone.cs b/Tiles/Abyss/HardenedSulphurousSandstone.cs index eedd621506..42d8d20fad 100644 --- a/Tiles/Abyss/HardenedSulphurousSandstone.cs +++ b/Tiles/Abyss/HardenedSulphurousSandstone.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeWithAbyss(Type); DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(76, 58, 59)); MineResist = 1.45f; HitSound = SoundID.Dig; diff --git a/Tiles/Abyss/PlantyMush.cs b/Tiles/Abyss/PlantyMush.cs index 38b037bb74..40759804ce 100644 --- a/Tiles/Abyss/PlantyMush.cs +++ b/Tiles/Abyss/PlantyMush.cs @@ -29,9 +29,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeWithAbyss(Type); DustType = 2; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Planty Mush"); AddMapEntry(new Color(84, 102, 39), CalamityUtils.GetItemName()); MineResist = 1f; HitSound = MineSound; diff --git a/Tiles/Abyss/PyreMantle.cs b/Tiles/Abyss/PyreMantle.cs index b732dd07ad..90d6d00310 100644 --- a/Tiles/Abyss/PyreMantle.cs +++ b/Tiles/Abyss/PyreMantle.cs @@ -31,7 +31,6 @@ namespace CalamityMod.Tiles.Abyss HitSound = MineSound; MineResist = 10f; MinPick = 180; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(19, 20, 32)); diff --git a/Tiles/Abyss/PyreMantleMolten.cs b/Tiles/Abyss/PyreMantleMolten.cs index 6b21289cc7..a82bd4ac56 100644 --- a/Tiles/Abyss/PyreMantleMolten.cs +++ b/Tiles/Abyss/PyreMantleMolten.cs @@ -36,7 +36,6 @@ namespace CalamityMod.Tiles.Abyss HitSound = MineSound; MineResist = 10f; MinPick = 180; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(113, 49, 16)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/Abyss/SulphuricFossil1.cs b/Tiles/Abyss/SulphuricFossil1.cs index f76bde5400..8127de7c3e 100644 --- a/Tiles/Abyss/SulphuricFossil1.cs +++ b/Tiles/Abyss/SulphuricFossil1.cs @@ -18,8 +18,6 @@ namespace CalamityMod.Tiles.Abyss TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Fossil"); AddMapEntry(new Color(113, 90, 71), CalamityUtils.GetText("Tiles.Fossil")); DustType = (int)CalamityDusts.SulfurousSeaAcid; } diff --git a/Tiles/Abyss/SulphurousPots.cs b/Tiles/Abyss/SulphurousPots.cs index ea80d3d803..e076fd2c92 100644 --- a/Tiles/Abyss/SulphurousPots.cs +++ b/Tiles/Abyss/SulphurousPots.cs @@ -25,9 +25,6 @@ namespace CalamityMod.Tiles.Abyss TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); TileObjectData.newTile.DrawYOffset = 4; TileObjectData.addTile(Type); - - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Pot"); AddMapEntry(new Color(226, 205, 101), Language.GetText("MapObject.Pot")); DustType = (int)CalamityDusts.SulfurousSeaAcid; diff --git a/Tiles/Abyss/SulphurousSand.cs b/Tiles/Abyss/SulphurousSand.cs index 06dc41394b..1a620096b0 100644 --- a/Tiles/Abyss/SulphurousSand.cs +++ b/Tiles/Abyss/SulphurousSand.cs @@ -31,7 +31,6 @@ namespace CalamityMod.Tiles.Abyss TileID.Sets.CanBeDugByShovel[Type] = true; DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(150, 100, 50)); MineResist = 1f; HitSound = SoundID.Dig; diff --git a/Tiles/Abyss/SulphurousSandstone.cs b/Tiles/Abyss/SulphurousSandstone.cs index 10db7c856f..423db453b0 100644 --- a/Tiles/Abyss/SulphurousSandstone.cs +++ b/Tiles/Abyss/SulphurousSandstone.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeWithAbyss(Type); DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(113, 90, 71)); MineResist = 1.2f; HitSound = SoundID.Dig; diff --git a/Tiles/Abyss/SulphurousShale.cs b/Tiles/Abyss/SulphurousShale.cs index 05630f1f31..c0ed2fc599 100644 --- a/Tiles/Abyss/SulphurousShale.cs +++ b/Tiles/Abyss/SulphurousShale.cs @@ -29,7 +29,6 @@ namespace CalamityMod.Tiles.Abyss CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeWithAbyss(Type); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(57, 44, 93)); MineResist = 5f; MinPick = 65; diff --git a/Tiles/Abyss/SulphurousTorch.cs b/Tiles/Abyss/SulphurousTorch.cs index dabc5574ef..ccc35b8140 100644 --- a/Tiles/Abyss/SulphurousTorch.cs +++ b/Tiles/Abyss/SulphurousTorch.cs @@ -10,16 +10,7 @@ namespace CalamityMod.Tiles.Abyss { public class SulphurousTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(true, true); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(true, true); public override bool CreateDust(int i, int j, ref int type) { diff --git a/Tiles/Abyss/SulphurousVines.cs b/Tiles/Abyss/SulphurousVines.cs index 102f8ea0c2..f0137c7847 100644 --- a/Tiles/Abyss/SulphurousVines.cs +++ b/Tiles/Abyss/SulphurousVines.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Tiles.Abyss Main.tileLavaDeath[Type] = true; Main.tileNoFail[Type] = true; Main.tileNoSunLight[Type] = false; - AddMapEntry(new Color(0, 50, 0), CreateMapEntryName()); + AddMapEntry(new Color(0, 50, 0)); HitSound = SoundID.Grass; DustType = 2; TileID.Sets.IsVine[Type] = true; diff --git a/Tiles/Abyss/ViperVines.cs b/Tiles/Abyss/ViperVines.cs index c237e85818..e45be23441 100644 --- a/Tiles/Abyss/ViperVines.cs +++ b/Tiles/Abyss/ViperVines.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.Abyss Main.tileBlockLight[Type] = true; Main.tileLavaDeath[Type] = true; Main.tileNoFail[Type] = true; - AddMapEntry(new Color(0, 50, 0), CreateMapEntryName()); + AddMapEntry(new Color(0, 50, 0)); HitSound = SoundID.Grass; DustType = 2; } diff --git a/Tiles/Abyss/Voidstone.cs b/Tiles/Abyss/Voidstone.cs index 09392160d0..c869a4bcf6 100644 --- a/Tiles/Abyss/Voidstone.cs +++ b/Tiles/Abyss/Voidstone.cs @@ -33,7 +33,6 @@ namespace CalamityMod.Tiles.Abyss HitSound = MineSound; MineResist = 10f; MinPick = 180; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(15, 15, 15)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/AerialiteBarTile.cs b/Tiles/AerialiteBarTile.cs index 5cd4641e5c..6c2bfd4cc5 100644 --- a/Tiles/AerialiteBarTile.cs +++ b/Tiles/AerialiteBarTile.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(141, 232, 246)); DustType = 187; - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/AerialiteBrick.cs b/Tiles/AerialiteBrick.cs index 25a285bfff..0b4981d5cf 100644 --- a/Tiles/AerialiteBrick.cs +++ b/Tiles/AerialiteBrick.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Tiles Main.tileSolid[Type] = true; Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(68, 58, 145)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/ArenaTile.cs b/Tiles/ArenaTile.cs index 4b1ef6fa03..1c00c94a91 100644 --- a/Tiles/ArenaTile.cs +++ b/Tiles/ArenaTile.cs @@ -18,9 +18,7 @@ namespace CalamityMod.Tiles Main.tileSolid[Type] = true; Main.tileMergeDirt[Type] = true; Main.tileBlockLight[Type] = true; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Arena"); - AddMapEntry(new Color(128, 0, 0), name); + AddMapEntry(new Color(128, 0, 0), CreateMapEntryName()); } public override bool CanKillTile(int i, int j, ref bool blockDamaged) diff --git a/Tiles/Astral/AstralBeacon.cs b/Tiles/Astral/AstralBeacon.cs index da1b73bade..7d0bc14d7f 100644 --- a/Tiles/Astral/AstralBeacon.cs +++ b/Tiles/Astral/AstralBeacon.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.Astral TileObjectData.newTile.CopyFrom(TileObjectData.Style5x4); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Astral Beacon"); - AddMapEntry(new Color(128, 128, 158), name); + AddMapEntry(new Color(128, 128, 158), CalamityUtils.GetItemName()); TileID.Sets.DisableSmartCursor[Type] = true; MinPick = 200; } diff --git a/Tiles/Astral/AstralClay.cs b/Tiles/Astral/AstralClay.cs index 87384a72e2..69116e461d 100644 --- a/Tiles/Astral/AstralClay.cs +++ b/Tiles/Astral/AstralClay.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.Astral CalamityUtils.MergeWithOres(Type); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(133, 69, 115)); diff --git a/Tiles/Astral/AstralDirt.cs b/Tiles/Astral/AstralDirt.cs index 1f6b9d0db7..d795b831bc 100644 --- a/Tiles/Astral/AstralDirt.cs +++ b/Tiles/Astral/AstralDirt.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Tiles.Astral CalamityUtils.SetMerge(Type, TileID.CrimsonGrass); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(59, 50, 77)); diff --git a/Tiles/Astral/AstralMonolith.cs b/Tiles/Astral/AstralMonolith.cs index bb28683792..1b8d10f6d8 100644 --- a/Tiles/Astral/AstralMonolith.cs +++ b/Tiles/Astral/AstralMonolith.cs @@ -29,10 +29,8 @@ namespace CalamityMod.Tiles.Astral CalamityUtils.SetMerge(Type, TileID.LivingWood); CalamityUtils.SetMerge(Type, TileID.LivingMahogany); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(45, 36, 63)); - TileFraming.SetUpUniversalMerge(Type, ModContent.TileType(), out tileAdjacency); } diff --git a/Tiles/Astral/AstralStone.cs b/Tiles/Astral/AstralStone.cs index 572125157c..84b6a2ef44 100644 --- a/Tiles/Astral/AstralStone.cs +++ b/Tiles/Astral/AstralStone.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.Astral CalamityUtils.MergeWithOres(Type); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Tink; diff --git a/Tiles/Astral/AstralTorch.cs b/Tiles/Astral/AstralTorch.cs index 3c9337a5f2..f889e3e456 100644 --- a/Tiles/Astral/AstralTorch.cs +++ b/Tiles/Astral/AstralTorch.cs @@ -11,16 +11,7 @@ namespace CalamityMod.Tiles.Astral { public class AstralTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(); // This is required for torches to break underwater public override bool CanPlace(int i, int j) => Main.tile[i, j].LiquidAmount <= 0; diff --git a/Tiles/Astral/AstralVines.cs b/Tiles/Astral/AstralVines.cs index f2f04746a1..3fc2c89f32 100644 --- a/Tiles/Astral/AstralVines.cs +++ b/Tiles/Astral/AstralVines.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Tiles.Astral HitSound = SoundID.Grass; - AddMapEntry(new Color(65, 56, 83), CreateMapEntryName()); + AddMapEntry(new Color(65, 56, 83)); } public override void KillTile(int i, int j, ref bool fail, ref bool effectOnly, ref bool noItem) diff --git a/Tiles/Astral/NovaeSlag.cs b/Tiles/Astral/NovaeSlag.cs index 1061f6f33d..493ceafa35 100644 --- a/Tiles/Astral/NovaeSlag.cs +++ b/Tiles/Astral/NovaeSlag.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.Astral CalamityUtils.MergeWithOres(Type); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(133, 69, 115)); diff --git a/Tiles/AstralBar.cs b/Tiles/AstralBar.cs index 08c551fdcc..8cc8d6577d 100644 --- a/Tiles/AstralBar.cs +++ b/Tiles/AstralBar.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(47, 66, 90)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/AstralBrick.cs b/Tiles/AstralBrick.cs index d3495ad302..af42d9246f 100644 --- a/Tiles/AstralBrick.cs +++ b/Tiles/AstralBrick.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Tiles Main.tileSolid[Type] = true; Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 128, 158)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/AstralDesert/AstralSand.cs b/Tiles/AstralDesert/AstralSand.cs index 85ffb40c88..f0bb6d3346 100644 --- a/Tiles/AstralDesert/AstralSand.cs +++ b/Tiles/AstralDesert/AstralSand.cs @@ -29,7 +29,6 @@ namespace CalamityMod.Tiles.AstralDesert CalamityUtils.MergeAstralTiles(Type); DustType = 108; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(187, 220, 237)); diff --git a/Tiles/AstralDesert/AstralSandstone.cs b/Tiles/AstralDesert/AstralSandstone.cs index e26478ab7a..f57a84115d 100644 --- a/Tiles/AstralDesert/AstralSandstone.cs +++ b/Tiles/AstralDesert/AstralSandstone.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.AstralDesert CalamityUtils.MergeAstralTiles(Type); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(93, 78, 107)); diff --git a/Tiles/AstralDesert/CelestialRemains.cs b/Tiles/AstralDesert/CelestialRemains.cs index 29c9bc13e1..f9657d46a8 100644 --- a/Tiles/AstralDesert/CelestialRemains.cs +++ b/Tiles/AstralDesert/CelestialRemains.cs @@ -23,9 +23,8 @@ namespace CalamityMod.Tiles.AstralDesert CalamityUtils.MergeAstralTiles(Type); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(59, 50, 77), CreateMapEntryName()); + AddMapEntry(new Color(59, 50, 77), CalamityUtils.GetItemName()); TileID.Sets.ForAdvancedCollision.ForSandshark[Type] = true; diff --git a/Tiles/AstralDesert/HardenedAstralSand.cs b/Tiles/AstralDesert/HardenedAstralSand.cs index afd4fc6d63..9b9ba056e1 100644 --- a/Tiles/AstralDesert/HardenedAstralSand.cs +++ b/Tiles/AstralDesert/HardenedAstralSand.cs @@ -25,7 +25,6 @@ namespace CalamityMod.Tiles.AstralDesert DustType = 108; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 128, 158)); diff --git a/Tiles/AstralSnow/AstralIce.cs b/Tiles/AstralSnow/AstralIce.cs index be1fc6eb81..e5c5a893da 100644 --- a/Tiles/AstralSnow/AstralIce.cs +++ b/Tiles/AstralSnow/AstralIce.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.AstralSnow CalamityUtils.MergeAstralTiles(Type); DustType = 173; - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Item50; diff --git a/Tiles/AstralSnow/AstralSnow.cs b/Tiles/AstralSnow/AstralSnow.cs index 2ee272205b..f10bdf21fe 100644 --- a/Tiles/AstralSnow/AstralSnow.cs +++ b/Tiles/AstralSnow/AstralSnow.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.AstralSnow CalamityUtils.MergeAstralTiles(Type); DustType = 173; - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Item48; diff --git a/Tiles/AuricTeslaBar.cs b/Tiles/AuricTeslaBar.cs index f1c637f974..68b49adea4 100644 --- a/Tiles/AuricTeslaBar.cs +++ b/Tiles/AuricTeslaBar.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(255, 227, 81)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/ChaoticBarPlaced.cs b/Tiles/ChaoticBarPlaced.cs index 01150affb1..9f33e3ba35 100644 --- a/Tiles/ChaoticBarPlaced.cs +++ b/Tiles/ChaoticBarPlaced.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(255, 165, 0)); DustType = 87; - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/CosmiliteBarTile.cs b/Tiles/CosmiliteBarTile.cs index 1b35718730..59ea44ac4e 100644 --- a/Tiles/CosmiliteBarTile.cs +++ b/Tiles/CosmiliteBarTile.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(229, 141, 246)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/Crags/BrimstoneSlab.cs b/Tiles/Crags/BrimstoneSlab.cs index 4636c7e347..f218b924ed 100644 --- a/Tiles/Crags/BrimstoneSlab.cs +++ b/Tiles/Crags/BrimstoneSlab.cs @@ -24,8 +24,7 @@ namespace CalamityMod.Tiles.Crags CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeWithHell(Type); - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(79, 55, 70), CreateMapEntryName()); + AddMapEntry(new Color(79, 55, 70)); MineResist = 3f; MinPick = 100; HitSound = SoundID.Tink; diff --git a/Tiles/Crags/BrimstoneSlag.cs b/Tiles/Crags/BrimstoneSlag.cs index 011ce00174..9614104e15 100644 --- a/Tiles/Crags/BrimstoneSlag.cs +++ b/Tiles/Crags/BrimstoneSlag.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.Crags HitSound = SoundID.Tink; MineResist = 3f; MinPick = 100; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(53, 33, 56)); TileFraming.SetUpUniversalMerge(Type, TileID.Ash, out TileAdjacency); } diff --git a/Tiles/Crags/GloomTorch.cs b/Tiles/Crags/GloomTorch.cs index 33a3707c67..ece06cc1d4 100644 --- a/Tiles/Crags/GloomTorch.cs +++ b/Tiles/Crags/GloomTorch.cs @@ -12,16 +12,7 @@ namespace CalamityMod.Tiles.Crags { public class GloomTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - } + public override void SetStaticDefaults() => this.SetUpTorch(); // This is required for torches to break underwater public override bool CanPlace(int i, int j) => Main.tile[i, j].LiquidAmount <= 0; diff --git a/Tiles/Crags/ScorchedBone.cs b/Tiles/Crags/ScorchedBone.cs index 5eda117eed..ab3a2c68ac 100644 --- a/Tiles/Crags/ScorchedBone.cs +++ b/Tiles/Crags/ScorchedBone.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Tiles.Crags HitSound = SoundID.Dig; MineResist = 1f; MinPick = 100; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(87, 62, 67)); TileFraming.SetUpUniversalMerge(Type, ModContent.TileType(), out tileAdjacency); diff --git a/Tiles/Crags/ScorchedRemains.cs b/Tiles/Crags/ScorchedRemains.cs index 4576360771..b9c920bea9 100644 --- a/Tiles/Crags/ScorchedRemains.cs +++ b/Tiles/Crags/ScorchedRemains.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Tiles.Crags HitSound = SoundID.Dig; MineResist = 1f; MinPick = 100; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(57, 52, 72)); TileFraming.SetUpUniversalMerge(Type, ModContent.TileType(), out tileAdjacency); diff --git a/Tiles/Crags/Tree/SpineSapling.cs b/Tiles/Crags/Tree/SpineSapling.cs index 9dd5fa0145..b2f260a9b2 100644 --- a/Tiles/Crags/Tree/SpineSapling.cs +++ b/Tiles/Crags/Tree/SpineSapling.cs @@ -35,9 +35,7 @@ namespace CalamityMod.Tiles.Crags.Tree TileObjectData.newTile.RandomStyleRange = 3; TileObjectData.newTile.StyleMultiplier = 3; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Spine Sapling"); - AddMapEntry(new Color(38, 25, 27), name); + AddMapEntry(new Color(38, 25, 27), CreateMapEntryName()); DustType = DustID.Blood; AdjTiles = new int[] { TileID.Saplings }; } diff --git a/Tiles/Crags/Tree/SpineTree.cs b/Tiles/Crags/Tree/SpineTree.cs index 706fc9f3a2..e8e3a25584 100644 --- a/Tiles/Crags/Tree/SpineTree.cs +++ b/Tiles/Crags/Tree/SpineTree.cs @@ -42,9 +42,7 @@ namespace CalamityMod.Tiles.Crags.Tree Main.tileSolid[Type] = false; Main.tileLighted[Type] = false; Main.tileBlockLight[Type] = false; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Giant Spine"); - AddMapEntry(new Color(38, 25, 27), name); + AddMapEntry(new Color(38, 25, 27), CreateMapEntryName()); DustType = 155; HitSound = SoundID.DD2_SkeletonHurt; ItemDrop = ModContent.ItemType(); diff --git a/Tiles/CryonicBarTile.cs b/Tiles/CryonicBarTile.cs index ea2c99f283..dab99d2ce2 100644 --- a/Tiles/CryonicBarTile.cs +++ b/Tiles/CryonicBarTile.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(138, 43, 226)); DustType = 44; - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/CryonicBrick.cs b/Tiles/CryonicBrick.cs index ba64c978ae..4b5476937a 100644 --- a/Tiles/CryonicBrick.cs +++ b/Tiles/CryonicBrick.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Tiles CalamityUtils.MergeDecorativeTiles(Type); HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(99, 131, 199)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/DraedonStructures/AgedLaboratoryConsole.cs b/Tiles/DraedonStructures/AgedLaboratoryConsole.cs index 79945a82b2..3679842c73 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryConsole.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryConsole.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Console"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.Console")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/AgedLaboratoryContainmentBox.cs b/Tiles/DraedonStructures/AgedLaboratoryContainmentBox.cs index c54888c43a..bb1b2e5db1 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryContainmentBox.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryContainmentBox.cs @@ -32,9 +32,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Laboratory Containment Box"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.ContainmentBox")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/AgedLaboratoryDisplay.cs b/Tiles/DraedonStructures/AgedLaboratoryDisplay.cs index 1c695a9fbb..3cc99f8cc3 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryDisplay.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryDisplay.cs @@ -27,9 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 }; TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Display"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(Color.DarkSlateGray, CalamityUtils.GetText("Tiles.Display")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/AgedLaboratoryDoorClosed.cs b/Tiles/DraedonStructures/AgedLaboratoryDoorClosed.cs index 1230afac84..ef9c416ac7 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryDoorClosed.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryDoorClosed.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laboratory Door"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.ClosedDoor }; DustType = 8; diff --git a/Tiles/DraedonStructures/AgedLaboratoryDoorOpen.cs b/Tiles/DraedonStructures/AgedLaboratoryDoorOpen.cs index 33ed35d970..dce92d5c50 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryDoorOpen.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryDoorOpen.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laboratory Door"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.OpenDoor }; DustType = 8; diff --git a/Tiles/DraedonStructures/AgedLaboratoryElectricPanel.cs b/Tiles/DraedonStructures/AgedLaboratoryElectricPanel.cs index 1367097421..443e1b8bfc 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryElectricPanel.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryElectricPanel.cs @@ -32,9 +32,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Electric Panel"); - AddMapEntry(Color.DimGray, name); + AddMapEntry(Color.DimGray, CalamityUtils.GetText("Tiles.ElectricPanel")); DustType = 8; } diff --git a/Tiles/DraedonStructures/AgedLaboratoryScreen.cs b/Tiles/DraedonStructures/AgedLaboratoryScreen.cs index 267ad2d64e..92586a8eef 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryScreen.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryScreen.cs @@ -22,9 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Screen"); - AddMapEntry(Color.DarkGray, name); + AddMapEntry(Color.DarkGray, CalamityUtils.GetText("Tiles.Screen")); TileID.Sets.FramesOnKillWall[Type] = true; DustType = 8; } diff --git a/Tiles/DraedonStructures/AgedLaboratoryServer.cs b/Tiles/DraedonStructures/AgedLaboratoryServer.cs index 982c0b41e4..813e6a7dea 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryServer.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryServer.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Server"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.Server")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/AgedLaboratoryTerminal.cs b/Tiles/DraedonStructures/AgedLaboratoryTerminal.cs index dee73827eb..377f3770b2 100644 --- a/Tiles/DraedonStructures/AgedLaboratoryTerminal.cs +++ b/Tiles/DraedonStructures/AgedLaboratoryTerminal.cs @@ -36,9 +36,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Terminal"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(Color.DarkSlateGray, CalamityUtils.GetText("Tiles.Terminal")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/AgedReinforcedCrate.cs b/Tiles/DraedonStructures/AgedReinforcedCrate.cs index f9469b9c23..5277ace0c9 100644 --- a/Tiles/DraedonStructures/AgedReinforcedCrate.cs +++ b/Tiles/DraedonStructures/AgedReinforcedCrate.cs @@ -22,9 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aged Reinforced Crate"); - AddMapEntry(Color.DimGray, name); + AddMapEntry(Color.DimGray, CalamityUtils.GetText("Tiles.ReinforcedCrate")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/ChargingStation.cs b/Tiles/DraedonStructures/ChargingStation.cs index e1fb64da45..d8b0cc92bb 100644 --- a/Tiles/DraedonStructures/ChargingStation.cs +++ b/Tiles/DraedonStructures/ChargingStation.cs @@ -43,9 +43,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Charging Station"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), CalamityUtils.GetItemName()); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/DraedonLabTurret.cs b/Tiles/DraedonStructures/DraedonLabTurret.cs index eecaa01035..77f113ba27 100644 --- a/Tiles/DraedonStructures/DraedonLabTurret.cs +++ b/Tiles/DraedonStructures/DraedonLabTurret.cs @@ -43,9 +43,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Lab Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HazardChevronPanels.cs b/Tiles/DraedonStructures/HazardChevronPanels.cs index 39db8b9a6d..8c57ab87a5 100644 --- a/Tiles/DraedonStructures/HazardChevronPanels.cs +++ b/Tiles/DraedonStructures/HazardChevronPanels.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = MinePlatingSound; DustType = 19; MinPick = 30; - ItemDrop = ModContent.ItemType (); AddMapEntry(new Color(163, 150, 73)); } diff --git a/Tiles/DraedonStructures/HostileFireTurret .cs b/Tiles/DraedonStructures/HostileFireTurret .cs index 025c8590f8..9406bbd4dc 100644 --- a/Tiles/DraedonStructures/HostileFireTurret .cs +++ b/Tiles/DraedonStructures/HostileFireTurret .cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Fire Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HostileIceTurret .cs b/Tiles/DraedonStructures/HostileIceTurret .cs index 2a0a770e68..d28ed827a9 100644 --- a/Tiles/DraedonStructures/HostileIceTurret .cs +++ b/Tiles/DraedonStructures/HostileIceTurret .cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ice Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HostileLaserTurret .cs b/Tiles/DraedonStructures/HostileLaserTurret .cs index aca675a125..e712b97101 100644 --- a/Tiles/DraedonStructures/HostileLaserTurret .cs +++ b/Tiles/DraedonStructures/HostileLaserTurret .cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laser Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HostileOnyxTurret.cs b/Tiles/DraedonStructures/HostileOnyxTurret.cs index 9ffe6d3c95..0e9ffd1b43 100644 --- a/Tiles/DraedonStructures/HostileOnyxTurret.cs +++ b/Tiles/DraedonStructures/HostileOnyxTurret.cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Onyx Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HostilePlagueTurret.cs b/Tiles/DraedonStructures/HostilePlagueTurret.cs index 86c2ce9ec3..20999fab83 100644 --- a/Tiles/DraedonStructures/HostilePlagueTurret.cs +++ b/Tiles/DraedonStructures/HostilePlagueTurret.cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Plague Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/HostileWaterTurret.cs b/Tiles/DraedonStructures/HostileWaterTurret.cs index 4e76127be5..6f221f1cd1 100644 --- a/Tiles/DraedonStructures/HostileWaterTurret.cs +++ b/Tiles/DraedonStructures/HostileWaterTurret.cs @@ -38,9 +38,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Water Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/DraedonStructures/InactivePowerCellFactory.cs b/Tiles/DraedonStructures/InactivePowerCellFactory.cs index 96ef3f477d..74f7e89553 100644 --- a/Tiles/DraedonStructures/InactivePowerCellFactory.cs +++ b/Tiles/DraedonStructures/InactivePowerCellFactory.cs @@ -32,9 +32,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.CoordinatePadding = 0; TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Inactive Power Cell Factory"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), CreateMapEntryName()); ItemDrop = ModContent.ItemType(); } diff --git a/Tiles/DraedonStructures/LabHologramProjector.cs b/Tiles/DraedonStructures/LabHologramProjector.cs index 143d61e960..bf58272baf 100644 --- a/Tiles/DraedonStructures/LabHologramProjector.cs +++ b/Tiles/DraedonStructures/LabHologramProjector.cs @@ -48,9 +48,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Lab Hologram Projector"); - AddMapEntry(new Color(99, 131, 199)); + AddMapEntry(new Color(99, 131, 199), CalamityUtils.GetItemName()); AnimationFrameHeight = 112; // Spawn electric sparks when this tile is hit with a pickaxe. diff --git a/Tiles/DraedonStructures/LaboratoryConsole.cs b/Tiles/DraedonStructures/LaboratoryConsole.cs index c203c7fc2d..47925fc4c4 100644 --- a/Tiles/DraedonStructures/LaboratoryConsole.cs +++ b/Tiles/DraedonStructures/LaboratoryConsole.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Console"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.Console")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/LaboratoryContainmentBox.cs b/Tiles/DraedonStructures/LaboratoryContainmentBox.cs index e689b0c979..5ab22718eb 100644 --- a/Tiles/DraedonStructures/LaboratoryContainmentBox.cs +++ b/Tiles/DraedonStructures/LaboratoryContainmentBox.cs @@ -32,9 +32,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laboratory Containment Box"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.ContainmentBox")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/LaboratoryDisplay.cs b/Tiles/DraedonStructures/LaboratoryDisplay.cs index 38156e721d..6e7cfcd1f9 100644 --- a/Tiles/DraedonStructures/LaboratoryDisplay.cs +++ b/Tiles/DraedonStructures/LaboratoryDisplay.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Display"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(Color.DarkSlateGray, CalamityUtils.GetText("Tiles.Display")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/LaboratoryDoorClosed.cs b/Tiles/DraedonStructures/LaboratoryDoorClosed.cs index f94e414fb3..7e2ebdc05a 100644 --- a/Tiles/DraedonStructures/LaboratoryDoorClosed.cs +++ b/Tiles/DraedonStructures/LaboratoryDoorClosed.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laboratory Door"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.ClosedDoor }; DustType = 8; diff --git a/Tiles/DraedonStructures/LaboratoryDoorOpen.cs b/Tiles/DraedonStructures/LaboratoryDoorOpen.cs index 5198c5ed39..0998b86dee 100644 --- a/Tiles/DraedonStructures/LaboratoryDoorOpen.cs +++ b/Tiles/DraedonStructures/LaboratoryDoorOpen.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laboratory Door"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.OpenDoor }; DustType = 8; diff --git a/Tiles/DraedonStructures/LaboratoryElectricPanel.cs b/Tiles/DraedonStructures/LaboratoryElectricPanel.cs index d934fa3990..eb219d0d07 100644 --- a/Tiles/DraedonStructures/LaboratoryElectricPanel.cs +++ b/Tiles/DraedonStructures/LaboratoryElectricPanel.cs @@ -32,9 +32,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Electric Panel"); - AddMapEntry(Color.DimGray, name); + AddMapEntry(Color.DimGray, CalamityUtils.GetText("Tiles.ElectricPanel")); DustType = 8; } diff --git a/Tiles/DraedonStructures/LaboratoryPanels.cs b/Tiles/DraedonStructures/LaboratoryPanels.cs index dac4cfded4..ca640e2e2d 100644 --- a/Tiles/DraedonStructures/LaboratoryPanels.cs +++ b/Tiles/DraedonStructures/LaboratoryPanels.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = MinePlatingSound; DustType = 109; MinPick = 30; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(36, 35, 37)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/DraedonStructures/LaboratoryPipePlating.cs b/Tiles/DraedonStructures/LaboratoryPipePlating.cs index bd9353b8a4..544fc1f5d2 100644 --- a/Tiles/DraedonStructures/LaboratoryPipePlating.cs +++ b/Tiles/DraedonStructures/LaboratoryPipePlating.cs @@ -23,7 +23,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = MinePlatingSound; DustType = 32; MinPick = 30; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(91, 64, 56)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/DraedonStructures/LaboratoryPlating.cs b/Tiles/DraedonStructures/LaboratoryPlating.cs index 6650bf0bf4..81e9ab6f2c 100644 --- a/Tiles/DraedonStructures/LaboratoryPlating.cs +++ b/Tiles/DraedonStructures/LaboratoryPlating.cs @@ -23,7 +23,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = MinePlatingSound; DustType = 30; MinPick = 30; - ItemDrop = ModContent.ItemType (); AddMapEntry(new Color(162, 157, 150)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/DraedonStructures/LaboratoryScreen.cs b/Tiles/DraedonStructures/LaboratoryScreen.cs index a8baeb9cca..2867c26119 100644 --- a/Tiles/DraedonStructures/LaboratoryScreen.cs +++ b/Tiles/DraedonStructures/LaboratoryScreen.cs @@ -22,9 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Screen"); - AddMapEntry(Color.DarkGray, name); + AddMapEntry(Color.DarkGray, CalamityUtils.GetText("Tiles.Screen")); TileID.Sets.FramesOnKillWall[Type] = true; DustType = 8; } diff --git a/Tiles/DraedonStructures/LaboratoryServer.cs b/Tiles/DraedonStructures/LaboratoryServer.cs index 7e4fbe8975..c9d239b13d 100644 --- a/Tiles/DraedonStructures/LaboratoryServer.cs +++ b/Tiles/DraedonStructures/LaboratoryServer.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Server"); - AddMapEntry(new Color(82, 67, 66), name); + AddMapEntry(new Color(82, 67, 66), CalamityUtils.GetText("Tiles.Server")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/LaboratoryTerminal.cs b/Tiles/DraedonStructures/LaboratoryTerminal.cs index 307c7b9acc..4f63e97d19 100644 --- a/Tiles/DraedonStructures/LaboratoryTerminal.cs +++ b/Tiles/DraedonStructures/LaboratoryTerminal.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Terminal"); - AddMapEntry(Color.DarkSlateGray, name); + AddMapEntry(Color.DarkSlateGray, CalamityUtils.GetText("Tiles.Terminal")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/OnyxExcavatorTile.cs b/Tiles/DraedonStructures/OnyxExcavatorTile.cs index 47e4827ce1..0aee4f60aa 100644 --- a/Tiles/DraedonStructures/OnyxExcavatorTile.cs +++ b/Tiles/DraedonStructures/OnyxExcavatorTile.cs @@ -27,9 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.CoordinatePadding = 2; TileObjectData.newTile.DrawYOffset = 2; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Onyx Excavator"); - AddMapEntry(new Color(128, 0, 128), name); + AddMapEntry(new Color(128, 0, 128), CreateMapEntryName()); ItemDrop = ModContent.ItemType(); } diff --git a/Tiles/DraedonStructures/PowerCellFactory.cs b/Tiles/DraedonStructures/PowerCellFactory.cs index 53e85f3687..3a05299eaa 100644 --- a/Tiles/DraedonStructures/PowerCellFactory.cs +++ b/Tiles/DraedonStructures/PowerCellFactory.cs @@ -57,9 +57,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Power Cell Factory"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), CalamityUtils.GetItemName()); AnimationFrameHeight = 68; } diff --git a/Tiles/DraedonStructures/ReinforcedCrate.cs b/Tiles/DraedonStructures/ReinforcedCrate.cs index 5050fa5e0b..e553a9213a 100644 --- a/Tiles/DraedonStructures/ReinforcedCrate.cs +++ b/Tiles/DraedonStructures/ReinforcedCrate.cs @@ -22,9 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Reinforced Crate"); - AddMapEntry(Color.DimGray, name); + AddMapEntry(Color.DimGray, CalamityUtils.GetText("Tiles.ReinforcedCrate")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/DraedonStructures/RustedPipes.cs b/Tiles/DraedonStructures/RustedPipes.cs index 3645530b7e..d1ee485b41 100644 --- a/Tiles/DraedonStructures/RustedPipes.cs +++ b/Tiles/DraedonStructures/RustedPipes.cs @@ -17,7 +17,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = SoundID.Item52; DustType = 32; MinPick = 30; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 90, 77)); } diff --git a/Tiles/DraedonStructures/RustedPlating.cs b/Tiles/DraedonStructures/RustedPlating.cs index 1474e778f8..87dcd9bd8c 100644 --- a/Tiles/DraedonStructures/RustedPlating.cs +++ b/Tiles/DraedonStructures/RustedPlating.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Tiles.DraedonStructures HitSound = MinePlatingSound; DustType = 32; MinPick = 30; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 90, 77)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/DraedonSummoner/CodebreakerTile.cs b/Tiles/DraedonSummoner/CodebreakerTile.cs index 87e3fbad4a..be256d1fa0 100644 --- a/Tiles/DraedonSummoner/CodebreakerTile.cs +++ b/Tiles/DraedonSummoner/CodebreakerTile.cs @@ -72,9 +72,7 @@ namespace CalamityMod.Tiles.DraedonSummoner TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(ModContent.GetInstance().Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("The Codebreaker"); - AddMapEntry(new Color(92, 107, 112), name); + AddMapEntry(new Color(92, 107, 112), CreateMapEntryName()); AnimationFrameHeight = 144; } diff --git a/Tiles/Furniture/BabyFlakCrabCageTile.cs b/Tiles/Furniture/BabyFlakCrabCageTile.cs index f076c87896..58fed36677 100644 --- a/Tiles/Furniture/BabyFlakCrabCageTile.cs +++ b/Tiles/Furniture/BabyFlakCrabCageTile.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.Furniture TileObjectData.newTile.CopyFrom(TileObjectData.Style6x3); TileObjectData.addTile(Type); AnimationFrameHeight = 54; - AddMapEntry(new Color(175, 238, 238), CalamityUtils.GetItemName()); + AddMapEntry(new Color(122, 217, 232), CalamityUtils.GetItemName()); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/Furniture/DevPaintings/ThankYouPaintingTile.cs b/Tiles/Furniture/DevPaintings/ThankYouPaintingTile.cs index 2771625909..91e9ae72b5 100644 --- a/Tiles/Furniture/DevPaintings/ThankYouPaintingTile.cs +++ b/Tiles/Furniture/DevPaintings/ThankYouPaintingTile.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Tiles.Furniture.DevPaintings TileID.Sets.FramesOnKillWall[Type] = true; TileID.Sets.DisableSmartCursor[Type] = true; DustType = 7; - AddMapEntry(new Color(120, 85, 60), CreateMapEntryName()); + AddMapEntry(new Color(99, 50, 30), Language.GetText("MapObject.Painting")); } } } diff --git a/Tiles/Furniture/PiggyCageTile.cs b/Tiles/Furniture/PiggyCageTile.cs index 20c764061e..b4c137235d 100644 --- a/Tiles/Furniture/PiggyCageTile.cs +++ b/Tiles/Furniture/PiggyCageTile.cs @@ -18,9 +18,7 @@ namespace CalamityMod.Tiles.Furniture TileObjectData.newTile.CopyFrom(TileObjectData.Style6x3); TileObjectData.addTile(Type); AnimationFrameHeight = 54; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Piggy Cage"); - AddMapEntry(new Color(175, 238, 238), CalamityUtils.GetItemName()); + AddMapEntry(new Color(122, 217, 232), CalamityUtils.GetItemName()); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/FurnitureAbyss/AbyssTorch.cs b/Tiles/FurnitureAbyss/AbyssTorch.cs index 19e59ce31c..e0345e99b7 100644 --- a/Tiles/FurnitureAbyss/AbyssTorch.cs +++ b/Tiles/FurnitureAbyss/AbyssTorch.cs @@ -10,16 +10,7 @@ namespace CalamityMod.Tiles.FurnitureAbyss { public class AbyssTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(true, true); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(true, true); public override bool CreateDust(int i, int j, ref int type) { diff --git a/Tiles/FurnitureAbyss/SmoothAbyssGravel.cs b/Tiles/FurnitureAbyss/SmoothAbyssGravel.cs index 610c24aeb0..6133dd788d 100644 --- a/Tiles/FurnitureAbyss/SmoothAbyssGravel.cs +++ b/Tiles/FurnitureAbyss/SmoothAbyssGravel.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.FurnitureAbyss HitSound = SoundID.Tink; MineResist = 2.1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(49, 56, 77)); } diff --git a/Tiles/FurnitureAcidwood/AcidwoodDresserTile.cs b/Tiles/FurnitureAcidwood/AcidwoodDresserTile.cs index f525bcc726..401f731ee5 100644 --- a/Tiles/FurnitureAcidwood/AcidwoodDresserTile.cs +++ b/Tiles/FurnitureAcidwood/AcidwoodDresserTile.cs @@ -17,8 +17,6 @@ namespace CalamityMod.Tiles.FurnitureAcidwood AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetItemName(), CalamityUtils.GetMapChestName); } - public override LocalizedText DefaultContainerName(int frameX, int frameY) => CreateMapEntryName(); - public override bool CreateDust(int i, int j, ref int type) { Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, 7, 0f, 0f, 1, new Color(255, 255, 255), 1f); diff --git a/Tiles/FurnitureAncient/AncientBasin.cs b/Tiles/FurnitureAncient/AncientBasin.cs index f33b7ee4ff..7e88d57d3f 100644 --- a/Tiles/FurnitureAncient/AncientBasin.cs +++ b/Tiles/FurnitureAncient/AncientBasin.cs @@ -21,9 +21,7 @@ namespace CalamityMod.Tiles.FurnitureAncient TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ancient Basin"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.Basin")); AnimationFrameHeight = 54; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); } diff --git a/Tiles/FurnitureAncient/AncientPipeOrgan.cs b/Tiles/FurnitureAncient/AncientPipeOrgan.cs index 60668eeda4..666baac830 100644 --- a/Tiles/FurnitureAncient/AncientPipeOrgan.cs +++ b/Tiles/FurnitureAncient/AncientPipeOrgan.cs @@ -19,9 +19,7 @@ namespace CalamityMod.Tiles.FurnitureAncient TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ancient Pipe Organ"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.PipeOrgan")); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/FurnitureAshen/AshenAccentSlab.cs b/Tiles/FurnitureAshen/AshenAccentSlab.cs index 82dd833065..5b213032b4 100644 --- a/Tiles/FurnitureAshen/AshenAccentSlab.cs +++ b/Tiles/FurnitureAshen/AshenAccentSlab.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.FurnitureAshen Main.tileMergeDirt[Type] = false; Main.tileBlockLight[Type] = true; - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Tink; MineResist = 5f; MinPick = 180; diff --git a/Tiles/FurnitureAshen/AshenBasin.cs b/Tiles/FurnitureAshen/AshenBasin.cs index 99a3d53e7d..978e75abb6 100644 --- a/Tiles/FurnitureAshen/AshenBasin.cs +++ b/Tiles/FurnitureAshen/AshenBasin.cs @@ -21,9 +21,7 @@ namespace CalamityMod.Tiles.FurnitureAshen TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ashen Basin"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.Basin")); AnimationFrameHeight = 54; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); } diff --git a/Tiles/FurnitureAshen/AshenPipeOrgan.cs b/Tiles/FurnitureAshen/AshenPipeOrgan.cs index 70476e69b0..d2aff60e24 100644 --- a/Tiles/FurnitureAshen/AshenPipeOrgan.cs +++ b/Tiles/FurnitureAshen/AshenPipeOrgan.cs @@ -19,9 +19,7 @@ namespace CalamityMod.Tiles.FurnitureAshen TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ashen Pipe Organ"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.PipeOrgan")); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/FurnitureAshen/AshenSlab.cs b/Tiles/FurnitureAshen/AshenSlab.cs index 0560687f6d..9c3713b9fd 100644 --- a/Tiles/FurnitureAshen/AshenSlab.cs +++ b/Tiles/FurnitureAshen/AshenSlab.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.FurnitureAshen Main.tileBlockLight[Type] = true; CalamityUtils.SetMerge(Type, ModContent.TileType()); - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Tink; MineResist = 5f; MinPick = 180; diff --git a/Tiles/FurnitureAshen/SmoothBrimstoneSlag.cs b/Tiles/FurnitureAshen/SmoothBrimstoneSlag.cs index f0bfe492e1..3caa5a796a 100644 --- a/Tiles/FurnitureAshen/SmoothBrimstoneSlag.cs +++ b/Tiles/FurnitureAshen/SmoothBrimstoneSlag.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Tiles.FurnitureAshen HitSound = SoundID.Tink; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(61, 40, 61)); } diff --git a/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs b/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs index 77638cb1ea..3985446a52 100644 --- a/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs +++ b/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs @@ -24,9 +24,7 @@ namespace CalamityMod.Tiles.FurnitureCosmilite TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Cosmilite Basin"); - AddMapEntry(new Color(238, 145, 105), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.Basin")); AnimationFrameHeight = 54; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); } diff --git a/Tiles/FurnitureCosmilite/CosmiliteBrick.cs b/Tiles/FurnitureCosmilite/CosmiliteBrick.cs index eee6dcdfc7..ee637807cc 100644 --- a/Tiles/FurnitureCosmilite/CosmiliteBrick.cs +++ b/Tiles/FurnitureCosmilite/CosmiliteBrick.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Tiles.FurnitureCosmilite Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; MineResist = 3f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(76, 79, 133)); } diff --git a/Tiles/FurnitureCosmilite/CosmiliteSconce.cs b/Tiles/FurnitureCosmilite/CosmiliteSconce.cs index 50d60d8147..04c70888d7 100644 --- a/Tiles/FurnitureCosmilite/CosmiliteSconce.cs +++ b/Tiles/FurnitureCosmilite/CosmiliteSconce.cs @@ -27,10 +27,7 @@ namespace CalamityMod.Tiles.FurnitureCosmilite TileObjectData.newTile.UsesCustomCanPlace = true; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Cosmilite Sconce"); - AddMapEntry(new Color(191, 142, 111), name); - AnimationFrameHeight = 54; + AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetText("Tiles.Sconce")); TileID.Sets.DisableSmartCursor[Type] = true; TileID.Sets.FramesOnKillWall[Type] = true; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); diff --git a/Tiles/FurnitureEutrophic/EutrophicDresser.cs b/Tiles/FurnitureEutrophic/EutrophicDresser.cs index 3854ea1359..4599284698 100644 --- a/Tiles/FurnitureEutrophic/EutrophicDresser.cs +++ b/Tiles/FurnitureEutrophic/EutrophicDresser.cs @@ -16,8 +16,6 @@ namespace CalamityMod.Tiles.FurnitureEutrophic AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetItemName(), CalamityUtils.GetMapChestName); } - public override LocalizedText DefaultContainerName(int frameX, int frameY) => CreateMapEntryName(); - public override bool CreateDust(int i, int j, ref int type) { Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, 51, 0f, 0f, 1, new Color(54, 69, 72), 1f); diff --git a/Tiles/FurnitureEutrophic/SmoothNavystone.cs b/Tiles/FurnitureEutrophic/SmoothNavystone.cs index 3ac6a5abe8..ce81ef1255 100644 --- a/Tiles/FurnitureEutrophic/SmoothNavystone.cs +++ b/Tiles/FurnitureEutrophic/SmoothNavystone.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.FurnitureEutrophic TileID.Sets.ChecksForMerge[Type] = true; HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(39, 48, 53)); } diff --git a/Tiles/FurnitureExo/ExoConsoleTile.cs b/Tiles/FurnitureExo/ExoConsoleTile.cs index 0cffeff357..802254b93b 100644 --- a/Tiles/FurnitureExo/ExoConsoleTile.cs +++ b/Tiles/FurnitureExo/ExoConsoleTile.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Console"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(71, 95, 114), CalamityUtils.GetText("Tiles.Console")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/FurnitureExo/ExoDisplayTile.cs b/Tiles/FurnitureExo/ExoDisplayTile.cs index 32365b4365..ba85aff2ff 100644 --- a/Tiles/FurnitureExo/ExoDisplayTile.cs +++ b/Tiles/FurnitureExo/ExoDisplayTile.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Display"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(71, 95, 114), CalamityUtils.GetText("Tiles.Display")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/FurnitureExo/ExoDoorClosed.cs b/Tiles/FurnitureExo/ExoDoorClosed.cs index 330b50118a..c6ab67d2d9 100644 --- a/Tiles/FurnitureExo/ExoDoorClosed.cs +++ b/Tiles/FurnitureExo/ExoDoorClosed.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Exo Door"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.ClosedDoor }; DustType = 8; diff --git a/Tiles/FurnitureExo/ExoDoorOpen.cs b/Tiles/FurnitureExo/ExoDoorOpen.cs index dc7dfc76ee..345a8133f8 100644 --- a/Tiles/FurnitureExo/ExoDoorOpen.cs +++ b/Tiles/FurnitureExo/ExoDoorOpen.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addTile(Type); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsDoor); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Exo Door"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(119, 105, 79), Language.GetText("MapObject.Door")); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.OpenDoor }; DustType = 8; diff --git a/Tiles/FurnitureExo/ExoPlatingTile.cs b/Tiles/FurnitureExo/ExoPlatingTile.cs index 4721a72e47..fbb99c8b66 100644 --- a/Tiles/FurnitureExo/ExoPlatingTile.cs +++ b/Tiles/FurnitureExo/ExoPlatingTile.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Tiles.FurnitureExo MineResist = 3f; HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(52, 67, 78)); AnimationFrameHeight = 90; } diff --git a/Tiles/FurnitureExo/ExoPrismPanelTile.cs b/Tiles/FurnitureExo/ExoPrismPanelTile.cs index bcaaecb656..e79bd9f628 100644 --- a/Tiles/FurnitureExo/ExoPrismPanelTile.cs +++ b/Tiles/FurnitureExo/ExoPrismPanelTile.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Tiles.FurnitureExo MineResist = 2.2f; HitSound = SoundID.Shatter; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(52, 67, 78)); AnimationFrameHeight = 90; } diff --git a/Tiles/FurnitureExo/ExoScreenTile.cs b/Tiles/FurnitureExo/ExoScreenTile.cs index 138bc8f2d9..0293c537a7 100644 --- a/Tiles/FurnitureExo/ExoScreenTile.cs +++ b/Tiles/FurnitureExo/ExoScreenTile.cs @@ -22,9 +22,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Screen"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(71, 95, 114), CalamityUtils.GetText("Tiles.Screen")); DustType = 8; AnimationFrameHeight = 36; TileID.Sets.FramesOnKillWall[Type] = true; diff --git a/Tiles/FurnitureExo/ExoServerTile.cs b/Tiles/FurnitureExo/ExoServerTile.cs index 101fcb18c0..2950110438 100644 --- a/Tiles/FurnitureExo/ExoServerTile.cs +++ b/Tiles/FurnitureExo/ExoServerTile.cs @@ -34,9 +34,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Server"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(71, 95, 114), CalamityUtils.GetText("Tiles.Server")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/FurnitureExo/ExoTerminalTile.cs b/Tiles/FurnitureExo/ExoTerminalTile.cs index 41c8d56058..7b0f089305 100644 --- a/Tiles/FurnitureExo/ExoTerminalTile.cs +++ b/Tiles/FurnitureExo/ExoTerminalTile.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.FurnitureExo TileObjectData.addAlternate(1); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Terminal"); - AddMapEntry(new Color(71, 95, 114), name); + AddMapEntry(new Color(71, 95, 114), CalamityUtils.GetText("Tiles.Terminal")); } public override bool CanExplode(int i, int j) => false; diff --git a/Tiles/FurnitureOtherworldly/OtherworldlyStone.cs b/Tiles/FurnitureOtherworldly/OtherworldlyStone.cs index e07885b4bf..b5b6f8f210 100644 --- a/Tiles/FurnitureOtherworldly/OtherworldlyStone.cs +++ b/Tiles/FurnitureOtherworldly/OtherworldlyStone.cs @@ -26,7 +26,6 @@ namespace CalamityMod.Tiles.FurnitureOtherworldly HitSound = SoundID.Tink; MineResist = 3f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(60, 42, 61)); } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs index 34e29f437b..9e26729104 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; MineResist = 2.1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(51, 99, 75)); } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs index 18e024d366..0e396c94cb 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs @@ -18,9 +18,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Broken Plagued 'Bed'"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.Basin")); AnimationFrameHeight = 54; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs index 18564af2f8..0c9d322d57 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs @@ -20,9 +20,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate TileObjectData.newTile.LavaDeath = false; TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 }; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("'Bed'"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), CreateMapEntryName()); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.Beds }; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsChair); diff --git a/Tiles/FurnitureProfaned/ProfanedCrystal.cs b/Tiles/FurnitureProfaned/ProfanedCrystal.cs index cf7844c7af..1c6d3417ce 100644 --- a/Tiles/FurnitureProfaned/ProfanedCrystal.cs +++ b/Tiles/FurnitureProfaned/ProfanedCrystal.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Tiles.FurnitureProfaned HitSound = SoundID.Shatter; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(181, 136, 177)); } diff --git a/Tiles/FurnitureProfaned/ProfanedPiano.cs b/Tiles/FurnitureProfaned/ProfanedPiano.cs index f8f2813377..6243054fa8 100644 --- a/Tiles/FurnitureProfaned/ProfanedPiano.cs +++ b/Tiles/FurnitureProfaned/ProfanedPiano.cs @@ -20,9 +20,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3); TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Piano"); - AddMapEntry(new Color(191, 142, 111), name); + AddMapEntry(new Color(191, 142, 111), Language.GetText("ItemName.Piano")); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); } diff --git a/Tiles/FurnitureProfaned/ProfanedRock.cs b/Tiles/FurnitureProfaned/ProfanedRock.cs index 06ea9c2dcb..e955be3677 100644 --- a/Tiles/FurnitureProfaned/ProfanedRock.cs +++ b/Tiles/FurnitureProfaned/ProfanedRock.cs @@ -23,7 +23,6 @@ namespace CalamityMod.Tiles.FurnitureProfaned HitSound = SoundID.Tink; MineResist = 4f; MinPick = 225; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(84, 38, 33)); } int animationFrameWidth = 288; diff --git a/Tiles/FurnitureProfaned/ProfanedSlab.cs b/Tiles/FurnitureProfaned/ProfanedSlab.cs index fd0ff9c3fa..6e54228883 100644 --- a/Tiles/FurnitureProfaned/ProfanedSlab.cs +++ b/Tiles/FurnitureProfaned/ProfanedSlab.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.FurnitureProfaned HitSound = SoundID.Tink; MineResist = 4f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(122, 66, 59)); AnimationFrameHeight = 90; } diff --git a/Tiles/FurnitureProfaned/RunicProfanedBrick.cs b/Tiles/FurnitureProfaned/RunicProfanedBrick.cs index deef021773..f861257602 100644 --- a/Tiles/FurnitureProfaned/RunicProfanedBrick.cs +++ b/Tiles/FurnitureProfaned/RunicProfanedBrick.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles.FurnitureProfaned HitSound = SoundID.Tink; MineResist = 2f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(122, 66, 59)); AnimationFrameHeight = 90; } diff --git a/Tiles/FurnitureSacrilegious/MonolithOfTheAccursedTile.cs b/Tiles/FurnitureSacrilegious/MonolithOfTheAccursedTile.cs index da56637544..1755fe2a7e 100644 --- a/Tiles/FurnitureSacrilegious/MonolithOfTheAccursedTile.cs +++ b/Tiles/FurnitureSacrilegious/MonolithOfTheAccursedTile.cs @@ -36,9 +36,7 @@ namespace CalamityMod.Tiles.FurnitureSacrilegious TileID.Sets.HasOutlines[Type] = true; AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Monolith of the Accursed"); - AddMapEntry(new Color(43, 19, 42), name); + AddMapEntry(new Color(43, 19, 42), CalamityUtils.GetItemName()); } public override bool HasSmartInteract(int i, int j, SmartInteractScanSettings settings) => true; diff --git a/Tiles/FurnitureSacrilegious/OccultBrickTile.cs b/Tiles/FurnitureSacrilegious/OccultBrickTile.cs index c3bb487acd..3eaa0b359d 100644 --- a/Tiles/FurnitureSacrilegious/OccultBrickTile.cs +++ b/Tiles/FurnitureSacrilegious/OccultBrickTile.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Tiles.FurnitureSacrilegious Main.tileSolid[Type] = true; Main.tileBlockLight[Type] = true; DustType = 8; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(63, 69, 71)); HitSound = SoundID.Tink; } diff --git a/Tiles/FurnitureSacrilegious/SacrilegiousOrganTile.cs b/Tiles/FurnitureSacrilegious/SacrilegiousOrganTile.cs index f5954b13e8..fd08fc5ed5 100644 --- a/Tiles/FurnitureSacrilegious/SacrilegiousOrganTile.cs +++ b/Tiles/FurnitureSacrilegious/SacrilegiousOrganTile.cs @@ -19,9 +19,7 @@ namespace CalamityMod.Tiles.FurnitureSacrilegious TileObjectData.newTile.CopyFrom(TileObjectData.Style3x4); //This piano has bookcase dimensions TileObjectData.newTile.LavaDeath = false; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Piano"); - AddMapEntry(new Color(43, 19, 42), name); + AddMapEntry(new Color(191, 142, 111), CalamityUtils.GetText("Tiles.PipeOrgan")); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); } diff --git a/Tiles/FurnitureSilva/SilvaCrystal.cs b/Tiles/FurnitureSilva/SilvaCrystal.cs index 54dbac7906..65c7e86094 100644 --- a/Tiles/FurnitureSilva/SilvaCrystal.cs +++ b/Tiles/FurnitureSilva/SilvaCrystal.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.FurnitureSilva Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; MineResist = 2f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(49, 100, 99)); } diff --git a/Tiles/FurnitureStatigel/StatigelBlock.cs b/Tiles/FurnitureStatigel/StatigelBlock.cs index 00853ea90c..27e66f6467 100644 --- a/Tiles/FurnitureStatigel/StatigelBlock.cs +++ b/Tiles/FurnitureStatigel/StatigelBlock.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.FurnitureStatigel CalamityUtils.MergeDecorativeTiles(Type); CalamityUtils.MergeSmoothTiles(Type); - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(215, 74, 121)); } diff --git a/Tiles/FurnitureStratus/StratusBricks.cs b/Tiles/FurnitureStratus/StratusBricks.cs index 27564dcbe0..27a94841bb 100644 --- a/Tiles/FurnitureStratus/StratusBricks.cs +++ b/Tiles/FurnitureStratus/StratusBricks.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Tiles.FurnitureStratus HitSound = SoundID.Tink; MineResist = 3f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(53, 57, 74)); } diff --git a/Tiles/FurnitureVoid/SmoothVoidstone.cs b/Tiles/FurnitureVoid/SmoothVoidstone.cs index 63ba5f39f6..09c3a0cba8 100644 --- a/Tiles/FurnitureVoid/SmoothVoidstone.cs +++ b/Tiles/FurnitureVoid/SmoothVoidstone.cs @@ -23,7 +23,6 @@ namespace CalamityMod.Tiles.FurnitureVoid HitSound = SoundID.Tink; MineResist = 2.1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(27, 24, 31)); } int animationFrameWidth = 288; diff --git a/Tiles/FurnitureVoid/VoidstoneSlab.cs b/Tiles/FurnitureVoid/VoidstoneSlab.cs index 8a6490cbdb..3e104ec428 100644 --- a/Tiles/FurnitureVoid/VoidstoneSlab.cs +++ b/Tiles/FurnitureVoid/VoidstoneSlab.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.FurnitureVoid HitSound = SoundID.Tink; MineResist = 7f; MinPick = 180; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(27, 24, 31)); AnimationFrameHeight = 270; } diff --git a/Tiles/FurnitureWulfrum/WulfrumPlating.cs b/Tiles/FurnitureWulfrum/WulfrumPlating.cs index 777f0645e5..11c00ee7b6 100644 --- a/Tiles/FurnitureWulfrum/WulfrumPlating.cs +++ b/Tiles/FurnitureWulfrum/WulfrumPlating.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum CalamityUtils.MergeWithGeneral(Type); HitSound = MinePlatingSound; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(155, 171, 117)); } diff --git a/Tiles/LivingFire/LivingBrimstoneFireBlockTile.cs b/Tiles/LivingFire/LivingBrimstoneFireBlockTile.cs index 15693841e5..16c2600fab 100644 --- a/Tiles/LivingFire/LivingBrimstoneFireBlockTile.cs +++ b/Tiles/LivingFire/LivingBrimstoneFireBlockTile.cs @@ -16,7 +16,6 @@ namespace CalamityMod.Tiles.LivingFire { Main.tileLighted[Type] = true; HitSound = SoundID.Dig; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(178, 34, 34)); AnimationFrameHeight = 90; Main.tileSolid[Type] = false; diff --git a/Tiles/LivingFire/LivingGodSlayerFireBlockTile.cs b/Tiles/LivingFire/LivingGodSlayerFireBlockTile.cs index 65a0245e05..5ae7e61dd9 100644 --- a/Tiles/LivingFire/LivingGodSlayerFireBlockTile.cs +++ b/Tiles/LivingFire/LivingGodSlayerFireBlockTile.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Tiles.LivingFire { Main.tileLighted[Type] = true; HitSound = SoundID.Dig; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(186, 85, 211)); AnimationFrameHeight = 90; Main.tileSolid[Type] = false; diff --git a/Tiles/LivingFire/LivingHolyFireBlockTile.cs b/Tiles/LivingFire/LivingHolyFireBlockTile.cs index e161f5891c..fa89671233 100644 --- a/Tiles/LivingFire/LivingHolyFireBlockTile.cs +++ b/Tiles/LivingFire/LivingHolyFireBlockTile.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Tiles.LivingFire { Main.tileLighted[Type] = true; HitSound = SoundID.Dig; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(255, 215, 0)); AnimationFrameHeight = 90; Main.tileSolid[Type] = false; diff --git a/Tiles/Ores/AerialiteOre.cs b/Tiles/Ores/AerialiteOre.cs index cb4070d2d4..d12bbee418 100644 --- a/Tiles/Ores/AerialiteOre.cs +++ b/Tiles/Ores/AerialiteOre.cs @@ -42,10 +42,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.ChecksForMerge[Type] = true; DustType = 33; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Aerialite"); - AddMapEntry(new Color(145, 255, 255), name); + AddMapEntry(new Color(145, 255, 255), CreateMapEntryName()); MineResist = 2f; MinPick = 65; HitSound = MineSound; diff --git a/Tiles/Ores/AstralOre.cs b/Tiles/Ores/AstralOre.cs index c03f12c333..c570eec643 100644 --- a/Tiles/Ores/AstralOre.cs +++ b/Tiles/Ores/AstralOre.cs @@ -32,10 +32,7 @@ namespace CalamityMod.Tiles.Ores MinPick = 210; DustType = 173; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Astral Ore"); - AddMapEntry(new Color(255, 153, 255), name); + AddMapEntry(new Color(255, 153, 255), CreateMapEntryName()); MineResist = 5f; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/AuricOre.cs b/Tiles/Ores/AuricOre.cs index 7e6ed54fd2..8d2df78b58 100644 --- a/Tiles/Ores/AuricOre.cs +++ b/Tiles/Ores/AuricOre.cs @@ -40,10 +40,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.OreMergesWithMud[Type] = true; DustType = 55; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Auric"); - AddMapEntry(new Color(255, 200, 0), name); + AddMapEntry(new Color(255, 200, 0), CreateMapEntryName()); MineResist = 10f; MinPick = 250; HitSound = MineSound; diff --git a/Tiles/Ores/CryonicOre.cs b/Tiles/Ores/CryonicOre.cs index 8f4f9e0614..99d2b8e3e4 100644 --- a/Tiles/Ores/CryonicOre.cs +++ b/Tiles/Ores/CryonicOre.cs @@ -20,10 +20,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Cryonic"); - AddMapEntry(new Color(0, 0, 150), name); + AddMapEntry(new Color(0, 0, 150), CreateMapEntryName()); MineResist = 3f; MinPick = 180; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/ExodiumOre.cs b/Tiles/Ores/ExodiumOre.cs index 5e8732af34..dc7fe0f112 100644 --- a/Tiles/Ores/ExodiumOre.cs +++ b/Tiles/Ores/ExodiumOre.cs @@ -24,15 +24,12 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; TileID.Sets.OreMergesWithMud[Type] = true; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Exodium"); - AddMapEntry(new Color(51, 48, 68), name); + AddMapEntry(new Color(51, 48, 68), CreateMapEntryName()); MineResist = 5f; MinPick = 225; HitSound = SoundID.Tink; Main.tileOreFinderPriority[Type] = 760; Main.tileSpelunker[Type] = true; - ItemDrop = ModContent.ItemType(); base.SetStaticDefaults(); TileID.Sets.ChecksForMerge[Type] = true; diff --git a/Tiles/Ores/HallowedOre.cs b/Tiles/Ores/HallowedOre.cs index 754ce00d2a..d77072c61b 100644 --- a/Tiles/Ores/HallowedOre.cs +++ b/Tiles/Ores/HallowedOre.cs @@ -26,10 +26,7 @@ namespace CalamityMod.Tiles.Ores Main.tileShine2[Type] = true; CalamityUtils.MergeWithGeneral(Type); - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Hallowed Ore"); - AddMapEntry(new Color(250, 250, 150), name); + AddMapEntry(new Color(250, 250, 150), CreateMapEntryName()); MineResist = 3f; MinPick = 180; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/InfernalSuevite.cs b/Tiles/Ores/InfernalSuevite.cs index 1cec464683..144b526d25 100644 --- a/Tiles/Ores/InfernalSuevite.cs +++ b/Tiles/Ores/InfernalSuevite.cs @@ -28,10 +28,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Infernal Suevite"); - AddMapEntry(new Color(17, 16, 26), name); + AddMapEntry(new Color(17, 16, 26), CreateMapEntryName()); MineResist = 6f; MinPick = 150; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/PerennialOre.cs b/Tiles/Ores/PerennialOre.cs index 055fea8c3c..19f9b39c08 100644 --- a/Tiles/Ores/PerennialOre.cs +++ b/Tiles/Ores/PerennialOre.cs @@ -34,10 +34,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; TileID.Sets.OreMergesWithMud[Type] = true; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Perennial"); - AddMapEntry(new Color(200, 250, 100), name); + AddMapEntry(new Color(200, 250, 100), CreateMapEntryName()); MineResist = 3f; MinPick = 200; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/ScoriaOre.cs b/Tiles/Ores/ScoriaOre.cs index e0c0447179..9912819e7c 100644 --- a/Tiles/Ores/ScoriaOre.cs +++ b/Tiles/Ores/ScoriaOre.cs @@ -28,10 +28,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; DustType = 105; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Scoria"); - AddMapEntry(new Color(210, 101, 28), name); + AddMapEntry(new Color(210, 101, 28), CreateMapEntryName()); MineResist = 4f; MinPick = 210; HitSound = SoundID.Tink; diff --git a/Tiles/Ores/UelibloomOre.cs b/Tiles/Ores/UelibloomOre.cs index 63b3806684..4504509f3a 100644 --- a/Tiles/Ores/UelibloomOre.cs +++ b/Tiles/Ores/UelibloomOre.cs @@ -24,10 +24,7 @@ namespace CalamityMod.Tiles.Ores TileID.Sets.Ore[Type] = true; TileID.Sets.OreMergesWithMud[Type] = true; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Uelibloom"); - AddMapEntry(new Color(0, 255, 0), name); + AddMapEntry(new Color(0, 255, 0), CreateMapEntryName()); MineResist = 5f; MinPick = 225; HitSound = SoundID.Tink; diff --git a/Tiles/PerennialBar.cs b/Tiles/PerennialBar.cs index da3f160c42..68a24439f2 100644 --- a/Tiles/PerennialBar.cs +++ b/Tiles/PerennialBar.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(157, 255, 0)); DustType = 44; - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/PerennialBrick.cs b/Tiles/PerennialBrick.cs index 634f06592e..a666969848 100644 --- a/Tiles/PerennialBrick.cs +++ b/Tiles/PerennialBrick.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Tiles CalamityUtils.MergeWithGeneral(Type); CalamityUtils.MergeDecorativeTiles(Type); - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Tink; AddMapEntry(new Color(17, 133, 46)); AnimationFrameHeight = 90; diff --git a/Tiles/PlacedRock.cs b/Tiles/PlacedRock.cs index 77ba7512da..609635039a 100644 --- a/Tiles/PlacedRock.cs +++ b/Tiles/PlacedRock.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Tiles TileObjectData.addTile(Type); DustType = DustID.Stone; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(83, 91, 102)); } diff --git a/Tiles/Plates/Cinderplate.cs b/Tiles/Plates/Cinderplate.cs index 42157a5b37..4d16db7076 100644 --- a/Tiles/Plates/Cinderplate.cs +++ b/Tiles/Plates/Cinderplate.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(242, 216, 131)); } diff --git a/Tiles/Plates/Elumplate.cs b/Tiles/Plates/Elumplate.cs index 803561466b..54049f1318 100644 --- a/Tiles/Plates/Elumplate.cs +++ b/Tiles/Plates/Elumplate.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(121, 180, 212)); } diff --git a/Tiles/Plates/Havocplate.cs b/Tiles/Plates/Havocplate.cs index b33b8acc5b..cb52de7877 100644 --- a/Tiles/Plates/Havocplate.cs +++ b/Tiles/Plates/Havocplate.cs @@ -34,7 +34,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(235, 108, 108)); } diff --git a/Tiles/Plates/Navyplate.cs b/Tiles/Plates/Navyplate.cs index b4e3428e06..34bfabb783 100644 --- a/Tiles/Plates/Navyplate.cs +++ b/Tiles/Plates/Navyplate.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(85, 151, 196)); } diff --git a/Tiles/Plates/Onyxplate.cs b/Tiles/Plates/Onyxplate.cs index 3b800c8dce..28e68523ef 100644 --- a/Tiles/Plates/Onyxplate.cs +++ b/Tiles/Plates/Onyxplate.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; DustType = 173; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(182, 28, 232)); } diff --git a/Tiles/Plates/PlagueContainmentCells.cs b/Tiles/Plates/PlagueContainmentCells.cs index 720f3c9723..454cb6484e 100644 --- a/Tiles/Plates/PlagueContainmentCells.cs +++ b/Tiles/Plates/PlagueContainmentCells.cs @@ -31,7 +31,6 @@ namespace CalamityMod.Tiles.Plates HitSound = MinePlatingSound; MineResist = 1f; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(128, 188, 67)); } diff --git a/Tiles/PlayerTurrets/PlayerFireTurret .cs b/Tiles/PlayerTurrets/PlayerFireTurret .cs index 0640eff216..f3d73e06f5 100644 --- a/Tiles/PlayerTurrets/PlayerFireTurret .cs +++ b/Tiles/PlayerTurrets/PlayerFireTurret .cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Fire Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerIceTurret .cs b/Tiles/PlayerTurrets/PlayerIceTurret .cs index 88d9b456e1..b4462ccfe1 100644 --- a/Tiles/PlayerTurrets/PlayerIceTurret .cs +++ b/Tiles/PlayerTurrets/PlayerIceTurret .cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Ice Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerLabTurret.cs b/Tiles/PlayerTurrets/PlayerLabTurret.cs index 76d024bf35..33dbf35aa4 100644 --- a/Tiles/PlayerTurrets/PlayerLabTurret.cs +++ b/Tiles/PlayerTurrets/PlayerLabTurret.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Lab Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerLaserTurret .cs b/Tiles/PlayerTurrets/PlayerLaserTurret .cs index 434e572286..6742c3ada1 100644 --- a/Tiles/PlayerTurrets/PlayerLaserTurret .cs +++ b/Tiles/PlayerTurrets/PlayerLaserTurret .cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Laser Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerOnyxTurret.cs b/Tiles/PlayerTurrets/PlayerOnyxTurret.cs index 0a6aae01fe..0c0e01a99d 100644 --- a/Tiles/PlayerTurrets/PlayerOnyxTurret.cs +++ b/Tiles/PlayerTurrets/PlayerOnyxTurret.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Onyx Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerPlagueTurret.cs b/Tiles/PlayerTurrets/PlayerPlagueTurret.cs index 840a2dbb21..7e3ff8d9cb 100644 --- a/Tiles/PlayerTurrets/PlayerPlagueTurret.cs +++ b/Tiles/PlayerTurrets/PlayerPlagueTurret.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Plague Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/PlayerTurrets/PlayerWaterTurret.cs b/Tiles/PlayerTurrets/PlayerWaterTurret.cs index 3e6d7590b9..23366396c8 100644 --- a/Tiles/PlayerTurrets/PlayerWaterTurret.cs +++ b/Tiles/PlayerTurrets/PlayerWaterTurret.cs @@ -37,9 +37,7 @@ namespace CalamityMod.Tiles.PlayerTurrets TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(te.Hook_AfterPlacement, -1, 0, true); TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Water Turret"); - AddMapEntry(new Color(67, 72, 81), name); + AddMapEntry(new Color(67, 72, 81), Language.GetText("MapObject.Turret")); HitSound = SoundID.Item14; // Has 500% durability. diff --git a/Tiles/RoxTile.cs b/Tiles/RoxTile.cs index b8936ff641..3c71d32a09 100644 --- a/Tiles/RoxTile.cs +++ b/Tiles/RoxTile.cs @@ -19,9 +19,7 @@ namespace CalamityMod.Tiles TileObjectData.newTile.CopyFrom(TileObjectData.Style3x4); TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 }; TileObjectData.addTile(Type); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Roxcalibur"); - AddMapEntry(new Color(240, 77, 7), name); + AddMapEntry(new Color(240, 77, 7), CalamityUtils.GetItemName()); TileID.Sets.DisableSmartCursor[Type] = true; ItemDrop = ModContent.ItemType(); diff --git a/Tiles/ScoriaBrick.cs b/Tiles/ScoriaBrick.cs index 6c595a4af9..1f6fbab527 100644 --- a/Tiles/ScoriaBrick.cs +++ b/Tiles/ScoriaBrick.cs @@ -26,7 +26,6 @@ namespace CalamityMod.Tiles Main.tileSolid[Type] = true; Main.tileBlockLight[Type] = true; DustType = 105; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(85, 87, 101)); HitSound = SoundID.Tink; diff --git a/Tiles/ShadowspecBarTile.cs b/Tiles/ShadowspecBarTile.cs index 16c91c6791..914ca3ed70 100644 --- a/Tiles/ShadowspecBarTile.cs +++ b/Tiles/ShadowspecBarTile.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(128, 41, 149)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/SunkenSea/AlgalPrismTorch.cs b/Tiles/SunkenSea/AlgalPrismTorch.cs index dc4cf29299..34d1351b64 100644 --- a/Tiles/SunkenSea/AlgalPrismTorch.cs +++ b/Tiles/SunkenSea/AlgalPrismTorch.cs @@ -10,16 +10,7 @@ namespace CalamityMod.Tiles.SunkenSea { public class AlgalPrismTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(true, true); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(true, true); public override bool CreateDust(int i, int j, ref int type) { diff --git a/Tiles/SunkenSea/EutrophicGlass.cs b/Tiles/SunkenSea/EutrophicGlass.cs index 1e348729b7..d4be8fea96 100644 --- a/Tiles/SunkenSea/EutrophicGlass.cs +++ b/Tiles/SunkenSea/EutrophicGlass.cs @@ -24,8 +24,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.ChecksForMerge[Type] = true; TileID.Sets.WallsMergeWith[Type] = true; DustType = 108; - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(197, 220, 220), CalamityUtils.GetItemName()); + AddMapEntry(new Color(197, 220, 220)); MineResist = 2f; HitSound = SoundID.Shatter; MinPick = 55; diff --git a/Tiles/SunkenSea/EutrophicSand.cs b/Tiles/SunkenSea/EutrophicSand.cs index 6fd41d4994..4b1bb380ed 100644 --- a/Tiles/SunkenSea/EutrophicSand.cs +++ b/Tiles/SunkenSea/EutrophicSand.cs @@ -29,10 +29,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.CanBeDugByShovel[Type] = true; DustType = 108; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Eutrophic Sand"); - AddMapEntry(new Color(92, 145, 167), CalamityUtils.GetItemName()); + AddMapEntry(new Color(92, 145, 167)); TileFraming.SetUpUniversalMerge(Type, TileID.Sandstone, out tileAdjacency); TileFraming.SetUpUniversalMerge(Type, TileID.Sand, out secondTileAdjacency); diff --git a/Tiles/SunkenSea/HardenedEutrophicSand.cs b/Tiles/SunkenSea/HardenedEutrophicSand.cs index 9a5188832a..6d7329528e 100644 --- a/Tiles/SunkenSea/HardenedEutrophicSand.cs +++ b/Tiles/SunkenSea/HardenedEutrophicSand.cs @@ -30,10 +30,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.CanBeDugByShovel[Type] = true; DustType = 108; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Hardened Eutrophic Sand"); - AddMapEntry(new Color(67, 107, 143), name); + AddMapEntry(new Color(67, 107, 143)); MineResist = 2f; TileFraming.SetUpUniversalMerge(Type, ModContent.TileType(), out tileAdjacency); diff --git a/Tiles/SunkenSea/NavyPrismTorch.cs b/Tiles/SunkenSea/NavyPrismTorch.cs index 1a7d14b8ab..664d94b38d 100644 --- a/Tiles/SunkenSea/NavyPrismTorch.cs +++ b/Tiles/SunkenSea/NavyPrismTorch.cs @@ -10,16 +10,7 @@ namespace CalamityMod.Tiles.SunkenSea { public class NavyPrismTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(true, true); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(true, true); public override bool CreateDust(int i, int j, ref int type) { diff --git a/Tiles/SunkenSea/Navystone.cs b/Tiles/SunkenSea/Navystone.cs index f4baa70e04..9b3bc8ee61 100644 --- a/Tiles/SunkenSea/Navystone.cs +++ b/Tiles/SunkenSea/Navystone.cs @@ -24,8 +24,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.ChecksForMerge[Type] = true; DustType = 96; - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(31, 92, 114), CalamityUtils.GetItemName()); + AddMapEntry(new Color(31, 92, 114)); MineResist = 2f; HitSound = SoundID.Tink; diff --git a/Tiles/SunkenSea/RefractivePrismTorch.cs b/Tiles/SunkenSea/RefractivePrismTorch.cs index 1d2914ecac..780a66570d 100644 --- a/Tiles/SunkenSea/RefractivePrismTorch.cs +++ b/Tiles/SunkenSea/RefractivePrismTorch.cs @@ -10,18 +10,7 @@ namespace CalamityMod.Tiles.SunkenSea { public class RefractivePrismTorch : ModTile { - public override void SetStaticDefaults() - { - this.SetUpTorch(true, true); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Torch"); - AddMapEntry(new Color(253, 221, 3), CalamityUtils.GetItemName(ItemID.Torch)); - TileID.Sets.DisableSmartCursor[Type] = true; - ItemDrop = ModContent.ItemType(); - AdjTiles = new int[] { TileID.Torches }; - TileID.Sets.Torch[Type] = true; - TileID.Sets.FramesOnKillWall[Type] = true; - } + public override void SetStaticDefaults() => this.SetUpTorch(true, true); public override bool CreateDust(int i, int j, ref int type) { diff --git a/Tiles/SunkenSea/SeaPrism.cs b/Tiles/SunkenSea/SeaPrism.cs index 6a040dedf0..aed24443da 100644 --- a/Tiles/SunkenSea/SeaPrism.cs +++ b/Tiles/SunkenSea/SeaPrism.cs @@ -27,8 +27,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.ChecksForMerge[Type] = true; DustType = 33; - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(0, 150, 200), CalamityUtils.GetItemName()); + AddMapEntry(new Color(0, 150, 200)); MineResist = 3f; HitSound = SoundID.Tink; Main.tileSpelunker[Type] = true; diff --git a/Tiles/SunkenSea/SeaPrismBrick.cs b/Tiles/SunkenSea/SeaPrismBrick.cs index e86952fa3b..1d16311657 100644 --- a/Tiles/SunkenSea/SeaPrismBrick.cs +++ b/Tiles/SunkenSea/SeaPrismBrick.cs @@ -21,8 +21,7 @@ namespace CalamityMod.Tiles.SunkenSea TileID.Sets.ChecksForMerge[Type] = true; DustType = 33; - ItemDrop = ModContent.ItemType(); - AddMapEntry(new Color(47, 193, 236), CalamityUtils.GetItemName()); + AddMapEntry(new Color(47, 193, 236)); MineResist = 3f; HitSound = SoundID.Tink; Main.tileSpelunker[Type] = true; diff --git a/Tiles/SunkenSea/SeaPrismCrystals.cs b/Tiles/SunkenSea/SeaPrismCrystals.cs index b30a80e117..518172b806 100644 --- a/Tiles/SunkenSea/SeaPrismCrystals.cs +++ b/Tiles/SunkenSea/SeaPrismCrystals.cs @@ -15,10 +15,8 @@ namespace CalamityMod.Tiles.SunkenSea Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = true; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Sea Prism Crystal"); AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); - AddMapEntry(new Color(0, 150, 200), CalamityUtils.GetItemName()); + AddMapEntry(new Color(0, 150, 200), CalamityUtils.GetItemName()); HitSound = SoundID.Item27; DustType = 67; ItemDrop = ModContent.ItemType(); diff --git a/Tiles/SunkenSea/TableCoral.cs b/Tiles/SunkenSea/TableCoral.cs index f50861807a..f40379301b 100644 --- a/Tiles/SunkenSea/TableCoral.cs +++ b/Tiles/SunkenSea/TableCoral.cs @@ -25,8 +25,6 @@ namespace CalamityMod.Tiles.SunkenSea TileObjectData.newTile.AnchorRight = new AnchorData(AnchorType.SolidTile, 2, 0); TileObjectData.addTile(Type); DustType = 253; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Table Coral"); AddMapEntry(new Color(54, 69, 72)); MineResist = 3f; diff --git a/Tiles/SunkenSea/TubeCoral.cs b/Tiles/SunkenSea/TubeCoral.cs index 561a6007be..36b6cb99c2 100644 --- a/Tiles/SunkenSea/TubeCoral.cs +++ b/Tiles/SunkenSea/TubeCoral.cs @@ -22,8 +22,6 @@ namespace CalamityMod.Tiles.SunkenSea }; TileObjectData.addTile(Type); DustType = 253; - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Tube Coral"); AddMapEntry(new Color(36, 61, 111)); MineResist = 3f; diff --git a/Tiles/UelibloomBar.cs b/Tiles/UelibloomBar.cs index c495c44c92..288c3ec736 100644 --- a/Tiles/UelibloomBar.cs +++ b/Tiles/UelibloomBar.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(134, 209, 102)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/UelibloomBrick.cs b/Tiles/UelibloomBrick.cs index 9181c231e0..3cb8c50384 100644 --- a/Tiles/UelibloomBrick.cs +++ b/Tiles/UelibloomBrick.cs @@ -28,7 +28,6 @@ namespace CalamityMod.Tiles MineResist = 2f; HitSound = SoundID.Tink; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(174, 108, 46)); TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Tiles/VernalSoil.cs b/Tiles/VernalSoil.cs index e65a0f6443..80eceb4814 100644 --- a/Tiles/VernalSoil.cs +++ b/Tiles/VernalSoil.cs @@ -24,10 +24,7 @@ namespace CalamityMod.Tiles TileID.Sets.CanBeDugByShovel[Type] = true; DustType = 38; - ItemDrop = ModContent.ItemType(); - LocalizedText name = CreateMapEntryName(); - // name.SetDefault("Vernal Soil"); - AddMapEntry(new Color(80, 120, 0), name); + AddMapEntry(new Color(80, 120, 0)); HitSound = SoundID.Dig; TileFraming.SetUpUniversalMerge(Type, TileID.Dirt, out tileAdjacency); diff --git a/Utilities/FurnitureSetupUtils.cs b/Utilities/FurnitureSetupUtils.cs index 484e2241a8..f5911137f1 100644 --- a/Utilities/FurnitureSetupUtils.cs +++ b/Utilities/FurnitureSetupUtils.cs @@ -1305,6 +1305,9 @@ namespace CalamityMod Main.tileNoFail[mt.Type] = true; Main.tileWaterDeath[mt.Type] = !waterImmune; Main.tileLavaDeath[mt.Type] = !lavaImmune; + TileID.Sets.DisableSmartCursor[mt.Type] = true; + TileID.Sets.Torch[mt.Type] = true; + TileID.Sets.FramesOnKillWall[mt.Type] = true; TileObjectData.newTile.CopyFrom(TileObjectData.StyleTorch); TileObjectData.newTile.WaterDeath = !waterImmune; TileObjectData.newTile.LavaDeath = !lavaImmune; @@ -1330,6 +1333,8 @@ namespace CalamityMod // All torches count as light sources. mt.AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); + mt.AddMapEntry(new Color(253, 221, 3), Language.GetText("ItemName.Torch")); + mt.AdjTiles = new int[] { TileID.Torches }; } /// diff --git a/Walls/AbyssGravelWallSafe.cs b/Walls/AbyssGravelWallSafe.cs index 172eed6902..defd4b33b0 100644 --- a/Walls/AbyssGravelWallSafe.cs +++ b/Walls/AbyssGravelWallSafe.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(6, 10, 54)); DustType = 33; } diff --git a/Walls/AcidwoodWall.cs b/Walls/AcidwoodWall.cs index 68d7ddc78a..ea74fc51a8 100644 --- a/Walls/AcidwoodWall.cs +++ b/Walls/AcidwoodWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Dig; AddMapEntry(new Color(96, 69, 39)); } diff --git a/Walls/AerialiteBrickWall.cs b/Walls/AerialiteBrickWall.cs index 17ca74f90d..ccc05c0621 100644 --- a/Walls/AerialiteBrickWall.cs +++ b/Walls/AerialiteBrickWall.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(51, 45, 97)); } diff --git a/Walls/AshenSlabWall.cs b/Walls/AshenSlabWall.cs index 9ea81c80ff..7532af85e9 100644 --- a/Walls/AshenSlabWall.cs +++ b/Walls/AshenSlabWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(30, 18, 36)); } diff --git a/Walls/AstralBrickWall.cs b/Walls/AstralBrickWall.cs index d225536613..f352f6aaee 100644 --- a/Walls/AstralBrickWall.cs +++ b/Walls/AstralBrickWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; Main.wallLargeFrames[Type] = 2; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(74, 74, 97)); } diff --git a/Walls/AstralDirtWallSafe.cs b/Walls/AstralDirtWallSafe.cs index d13831de69..90f3544a23 100644 --- a/Walls/AstralDirtWallSafe.cs +++ b/Walls/AstralDirtWallSafe.cs @@ -13,7 +13,6 @@ namespace CalamityMod.Walls // TODO -- Change this dust to be one more befitting Astral Dirt. DustType = DustID.Shadowflame; Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(26, 22, 32)); } diff --git a/Walls/AstralGrassWall.cs b/Walls/AstralGrassWall.cs index 81d9371fcf..4d06218b19 100644 --- a/Walls/AstralGrassWall.cs +++ b/Walls/AstralGrassWall.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Walls { // TODO -- Change this dust to be one more befitting Astral Grass. DustType = DustID.Shadowflame; - ItemDrop = ModContent.ItemType(); WallID.Sets.Conversion.Grass[Type] = true; diff --git a/Walls/AstralIceWallSafe.cs b/Walls/AstralIceWallSafe.cs index 726d283147..606e9340e4 100644 --- a/Walls/AstralIceWallSafe.cs +++ b/Walls/AstralIceWallSafe.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Walls // TODO -- Change this dust to be one more befitting Astral Ice. Main.wallHouse[Type] = true; DustType = DustID.Shadowflame; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(83, 76, 92)); } diff --git a/Walls/AstralMonolithWall.cs b/Walls/AstralMonolithWall.cs index 85b83221a4..eb46a57ce3 100644 --- a/Walls/AstralMonolithWall.cs +++ b/Walls/AstralMonolithWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(5, 5, 5)); } diff --git a/Walls/AstralSandstoneWallSafe.cs b/Walls/AstralSandstoneWallSafe.cs index 69deb8c431..4b3f41087d 100644 --- a/Walls/AstralSandstoneWallSafe.cs +++ b/Walls/AstralSandstoneWallSafe.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { // TODO -- Change this dust to be one more befitting Astral Sandstone. DustType = DustID.Shadowflame; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; WallID.Sets.Conversion.Sandstone[Type] = true; diff --git a/Walls/AstralSnowWallSafe.cs b/Walls/AstralSnowWallSafe.cs index 4fd4fc537d..b00600023b 100644 --- a/Walls/AstralSnowWallSafe.cs +++ b/Walls/AstralSnowWallSafe.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(135, 145, 149)); diff --git a/Walls/AstralStoneWallSafe.cs b/Walls/AstralStoneWallSafe.cs index 97b74e6508..cf1a77573c 100644 --- a/Walls/AstralStoneWallSafe.cs +++ b/Walls/AstralStoneWallSafe.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { // TODO -- Change this dust to be one more befitting Astral Stone. DustType = DustID.Shadowflame; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; WallID.Sets.Conversion.Stone[Type] = true; diff --git a/Walls/BrimstoneSlabWall.cs b/Walls/BrimstoneSlabWall.cs index 844705176b..986b497836 100644 --- a/Walls/BrimstoneSlabWall.cs +++ b/Walls/BrimstoneSlabWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(41, 34, 43)); } diff --git a/Walls/BrimstoneSlagWall.cs b/Walls/BrimstoneSlagWall.cs index ee3bb34004..a753eea559 100644 --- a/Walls/BrimstoneSlagWall.cs +++ b/Walls/BrimstoneSlagWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(24, 16, 29)); } diff --git a/Walls/BrimstoneSlagWallUnsafe.cs b/Walls/BrimstoneSlagWallUnsafe.cs index 2307b602bf..6d4b2b3bef 100644 --- a/Walls/BrimstoneSlagWallUnsafe.cs +++ b/Walls/BrimstoneSlagWallUnsafe.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls { public override void SetStaticDefaults() { - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(24, 16, 29)); } diff --git a/Walls/CelestialRemainsWall.cs b/Walls/CelestialRemainsWall.cs index 67fc2ec7ca..9148806dce 100644 --- a/Walls/CelestialRemainsWall.cs +++ b/Walls/CelestialRemainsWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(29, 38, 49)); diff --git a/Walls/CinderplateWall.cs b/Walls/CinderplateWall.cs index 36877e4dcf..00472fb3a4 100644 --- a/Walls/CinderplateWall.cs +++ b/Walls/CinderplateWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(166, 111, 75)); } diff --git a/Walls/CosmiliteBrickWall.cs b/Walls/CosmiliteBrickWall.cs index fc58757114..d5f1551dc7 100644 --- a/Walls/CosmiliteBrickWall.cs +++ b/Walls/CosmiliteBrickWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(34, 33, 59)); } diff --git a/Walls/CryonicBrickWall.cs b/Walls/CryonicBrickWall.cs index 9b3207c95d..72dcb01ee6 100644 --- a/Walls/CryonicBrickWall.cs +++ b/Walls/CryonicBrickWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(72, 75, 122)); } diff --git a/Walls/DraedonStructures/HazardChevronWall.cs b/Walls/DraedonStructures/HazardChevronWall.cs index d5532046ac..30556c4fec 100644 --- a/Walls/DraedonStructures/HazardChevronWall.cs +++ b/Walls/DraedonStructures/HazardChevronWall.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 19; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(114, 105, 51)); diff --git a/Walls/DraedonStructures/LaboratoryPanelWall.cs b/Walls/DraedonStructures/LaboratoryPanelWall.cs index 9dbfeaeb96..562bb439ed 100644 --- a/Walls/DraedonStructures/LaboratoryPanelWall.cs +++ b/Walls/DraedonStructures/LaboratoryPanelWall.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 1; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(63, 57, 56)); diff --git a/Walls/DraedonStructures/LaboratoryPlateBeam.cs b/Walls/DraedonStructures/LaboratoryPlateBeam.cs index b75cfc3d47..03a2743ac9 100644 --- a/Walls/DraedonStructures/LaboratoryPlateBeam.cs +++ b/Walls/DraedonStructures/LaboratoryPlateBeam.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 109; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(48, 45, 46)); diff --git a/Walls/DraedonStructures/LaboratoryPlatePillar.cs b/Walls/DraedonStructures/LaboratoryPlatePillar.cs index 61047abe25..3fc71af308 100644 --- a/Walls/DraedonStructures/LaboratoryPlatePillar.cs +++ b/Walls/DraedonStructures/LaboratoryPlatePillar.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 109; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(29, 28, 30)); diff --git a/Walls/DraedonStructures/LaboratoryPlatingWall.cs b/Walls/DraedonStructures/LaboratoryPlatingWall.cs index 296da20de5..fe06d50234 100644 --- a/Walls/DraedonStructures/LaboratoryPlatingWall.cs +++ b/Walls/DraedonStructures/LaboratoryPlatingWall.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 30; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(105, 102, 98)); diff --git a/Walls/DraedonStructures/RustedPlateBeam.cs b/Walls/DraedonStructures/RustedPlateBeam.cs index f174dd1ee4..1849987974 100644 --- a/Walls/DraedonStructures/RustedPlateBeam.cs +++ b/Walls/DraedonStructures/RustedPlateBeam.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 32; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(74, 47, 39)); diff --git a/Walls/DraedonStructures/RustedPlatePillar.cs b/Walls/DraedonStructures/RustedPlatePillar.cs index 7bfb9c0714..b73d455902 100644 --- a/Walls/DraedonStructures/RustedPlatePillar.cs +++ b/Walls/DraedonStructures/RustedPlatePillar.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 32; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(99, 71, 60)); diff --git a/Walls/DraedonStructures/RustedPlatingWall.cs b/Walls/DraedonStructures/RustedPlatingWall.cs index 23bef4a1b0..46ba7410f3 100644 --- a/Walls/DraedonStructures/RustedPlatingWall.cs +++ b/Walls/DraedonStructures/RustedPlatingWall.cs @@ -9,7 +9,6 @@ namespace CalamityMod.Walls.DraedonStructures public override void SetStaticDefaults() { DustType = 32; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; AddMapEntry(new Color(83, 59, 50)); diff --git a/Walls/ElumplateWall.cs b/Walls/ElumplateWall.cs index dc78288384..50ab4e337d 100644 --- a/Walls/ElumplateWall.cs +++ b/Walls/ElumplateWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(79, 117, 138)); } diff --git a/Walls/EutrophicSandWallSafe.cs b/Walls/EutrophicSandWallSafe.cs index dffab21a64..fb6aa79ae1 100644 --- a/Walls/EutrophicSandWallSafe.cs +++ b/Walls/EutrophicSandWallSafe.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 108; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(11, 56, 81)); } diff --git a/Walls/ExoPlatingWall.cs b/Walls/ExoPlatingWall.cs index 5be1b62359..fbf1403c1e 100644 --- a/Walls/ExoPlatingWall.cs +++ b/Walls/ExoPlatingWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(41, 55, 65)); } diff --git a/Walls/ExoPrismPanelWall.cs b/Walls/ExoPrismPanelWall.cs index 63e1ca82dd..0188d51b9e 100644 --- a/Walls/ExoPrismPanelWall.cs +++ b/Walls/ExoPrismPanelWall.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(41, 55, 65)); } diff --git a/Walls/FloralWall.cs b/Walls/FloralWall.cs index 0b8b9195f3..1385ce979b 100644 --- a/Walls/FloralWall.cs +++ b/Walls/FloralWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(23, 39, 48)); } diff --git a/Walls/HardenedAstralSandWallSafe.cs b/Walls/HardenedAstralSandWallSafe.cs index 387845e6a6..a03e34a5d0 100644 --- a/Walls/HardenedAstralSandWallSafe.cs +++ b/Walls/HardenedAstralSandWallSafe.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { // TODO -- Change this dust to be one more befitting Hardened Astral Sand. DustType = DustID.Shadowflame; - ItemDrop = ModContent.ItemType(); Main.wallHouse[Type] = true; WallID.Sets.Conversion.HardenedSand[Type] = true; diff --git a/Walls/HardenedSulphurousSandstoneWall.cs b/Walls/HardenedSulphurousSandstoneWall.cs index 406204f0eb..78794f7b6e 100644 --- a/Walls/HardenedSulphurousSandstoneWall.cs +++ b/Walls/HardenedSulphurousSandstoneWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(62, 50, 39)); } diff --git a/Walls/HavocplateWall.cs b/Walls/HavocplateWall.cs index 0e23c6e88a..ef5951b68a 100644 --- a/Walls/HavocplateWall.cs +++ b/Walls/HavocplateWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(123, 50, 66)); } diff --git a/Walls/NavyplateWall.cs b/Walls/NavyplateWall.cs index bf00efd2be..de1a632e1c 100644 --- a/Walls/NavyplateWall.cs +++ b/Walls/NavyplateWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(16, 45, 48)); } diff --git a/Walls/NavystoneWallSafe.cs b/Walls/NavystoneWallSafe.cs index 79153ac40f..4690d5bddf 100644 --- a/Walls/NavystoneWallSafe.cs +++ b/Walls/NavystoneWallSafe.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 96; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(0, 50, 50)); } diff --git a/Walls/OccultBrickWall.cs b/Walls/OccultBrickWall.cs index 8806079020..1610c43455 100644 --- a/Walls/OccultBrickWall.cs +++ b/Walls/OccultBrickWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); HitSound = SoundID.Dig; AddMapEntry(new Color(111, 95, 110)); } diff --git a/Walls/OnyxplateWall.cs b/Walls/OnyxplateWall.cs index 1afbc3e1fd..02d9a0d59c 100644 --- a/Walls/OnyxplateWall.cs +++ b/Walls/OnyxplateWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(92, 7, 92)); } diff --git a/Walls/OtherworldlyStoneWall.cs b/Walls/OtherworldlyStoneWall.cs index 8be9a3051c..4e19722116 100644 --- a/Walls/OtherworldlyStoneWall.cs +++ b/Walls/OtherworldlyStoneWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(23, 23, 26)); } diff --git a/Walls/PerennialBrickWall.cs b/Walls/PerennialBrickWall.cs index 3b3eb5fa65..e56cd9c3e8 100644 --- a/Walls/PerennialBrickWall.cs +++ b/Walls/PerennialBrickWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(64, 116, 43)); } diff --git a/Walls/PlagueContainmentCellsWall.cs b/Walls/PlagueContainmentCellsWall.cs index bd23e460b1..2e3c5be3cb 100644 --- a/Walls/PlagueContainmentCellsWall.cs +++ b/Walls/PlagueContainmentCellsWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(83, 122, 44)); } diff --git a/Walls/PlaguedPlateWall.cs b/Walls/PlaguedPlateWall.cs index be96690a49..a476eab013 100644 --- a/Walls/PlaguedPlateWall.cs +++ b/Walls/PlaguedPlateWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(23, 23, 26)); } diff --git a/Walls/ProfanedCrystalWall.cs b/Walls/ProfanedCrystalWall.cs index 2155e9f5bb..015456d632 100644 --- a/Walls/ProfanedCrystalWall.cs +++ b/Walls/ProfanedCrystalWall.cs @@ -13,7 +13,6 @@ namespace CalamityMod.Walls Main.wallLargeFrames[Type] = 2; HitSound = SoundID.Shatter; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(125, 97, 123)); } diff --git a/Walls/ProfanedRockWall.cs b/Walls/ProfanedRockWall.cs index 530b8dd244..a422e62589 100644 --- a/Walls/ProfanedRockWall.cs +++ b/Walls/ProfanedRockWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(41, 25, 31)); } diff --git a/Walls/ProfanedSlabWall.cs b/Walls/ProfanedSlabWall.cs index 3206f0705e..9f69d63516 100644 --- a/Walls/ProfanedSlabWall.cs +++ b/Walls/ProfanedSlabWall.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(59, 27, 23)); } diff --git a/Walls/RunicProfanedBrickWall.cs b/Walls/RunicProfanedBrickWall.cs index 3510603c93..c9c89202ee 100644 --- a/Walls/RunicProfanedBrickWall.cs +++ b/Walls/RunicProfanedBrickWall.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(43, 22, 27)); } diff --git a/Walls/ScorchedBoneWall.cs b/Walls/ScorchedBoneWall.cs index 49996cd155..8ccbd7fcc1 100644 --- a/Walls/ScorchedBoneWall.cs +++ b/Walls/ScorchedBoneWall.cs @@ -12,7 +12,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(49, 33, 35)); } diff --git a/Walls/ScoriaBrickWall.cs b/Walls/ScoriaBrickWall.cs index b5bb16b8c4..cb89daad18 100644 --- a/Walls/ScoriaBrickWall.cs +++ b/Walls/ScoriaBrickWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls public override void SetStaticDefaults() { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(255, 0, 0)); DustType = 105; } diff --git a/Walls/SilvaWall.cs b/Walls/SilvaWall.cs index 78541ea10a..45fb506e74 100644 --- a/Walls/SilvaWall.cs +++ b/Walls/SilvaWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(28, 32, 44)); } diff --git a/Walls/SmoothAbyssGravelWall.cs b/Walls/SmoothAbyssGravelWall.cs index abad851d81..2224c41707 100644 --- a/Walls/SmoothAbyssGravelWall.cs +++ b/Walls/SmoothAbyssGravelWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(28, 32, 44)); } diff --git a/Walls/SmoothBrimstoneSlagWall.cs b/Walls/SmoothBrimstoneSlagWall.cs index ae5c6b0325..e52db596d9 100644 --- a/Walls/SmoothBrimstoneSlagWall.cs +++ b/Walls/SmoothBrimstoneSlagWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(30, 18, 36)); } diff --git a/Walls/SmoothNavystoneWall.cs b/Walls/SmoothNavystoneWall.cs index 913ab70f0c..9b16bf201c 100644 --- a/Walls/SmoothNavystoneWall.cs +++ b/Walls/SmoothNavystoneWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(27, 35, 36)); } diff --git a/Walls/SmoothVoidstoneWall.cs b/Walls/SmoothVoidstoneWall.cs index 81c5cde270..9fddd19649 100644 --- a/Walls/SmoothVoidstoneWall.cs +++ b/Walls/SmoothVoidstoneWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(11, 11, 13)); } diff --git a/Walls/StatigelWall.cs b/Walls/StatigelWall.cs index d765f79197..641af15f5b 100644 --- a/Walls/StatigelWall.cs +++ b/Walls/StatigelWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(162, 54, 90)); } diff --git a/Walls/StratusWall.cs b/Walls/StratusWall.cs index 43c01ea9a8..3968b0af44 100644 --- a/Walls/StratusWall.cs +++ b/Walls/StratusWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(45, 44, 55)); } diff --git a/Walls/SulphurousSandWallSafe.cs b/Walls/SulphurousSandWallSafe.cs index b9d4378de7..b929dec342 100644 --- a/Walls/SulphurousSandWallSafe.cs +++ b/Walls/SulphurousSandWallSafe.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(84, 71, 46)); } diff --git a/Walls/SulphurousSandstoneWallSafe.cs b/Walls/SulphurousSandstoneWallSafe.cs index ec050d3cae..71b50be7b3 100644 --- a/Walls/SulphurousSandstoneWallSafe.cs +++ b/Walls/SulphurousSandstoneWallSafe.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(57, 45, 38)); } diff --git a/Walls/SulphurousShaleWallSafe.cs b/Walls/SulphurousShaleWallSafe.cs index 9a28123226..92e41b56c4 100644 --- a/Walls/SulphurousShaleWallSafe.cs +++ b/Walls/SulphurousShaleWallSafe.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; DustType = 32; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(59, 40, 63)); } diff --git a/Walls/UelibloomBrickWall.cs b/Walls/UelibloomBrickWall.cs index 900ac732c1..73d5bb2d04 100644 --- a/Walls/UelibloomBrickWall.cs +++ b/Walls/UelibloomBrickWall.cs @@ -10,7 +10,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(97, 59, 35)); } diff --git a/Walls/VoidstoneSlabWall.cs b/Walls/VoidstoneSlabWall.cs index 94ead8ed18..4e03129c8b 100644 --- a/Walls/VoidstoneSlabWall.cs +++ b/Walls/VoidstoneSlabWall.cs @@ -11,7 +11,6 @@ namespace CalamityMod.Walls { Main.wallHouse[Type] = true; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(19, 17, 22)); } diff --git a/Walls/VoidstoneWall.cs b/Walls/VoidstoneWall.cs index 9deae6852f..e2d2e6cc14 100644 --- a/Walls/VoidstoneWall.cs +++ b/Walls/VoidstoneWall.cs @@ -17,7 +17,6 @@ namespace CalamityMod.Walls Main.wallHouse[Type] = true; GlowTexture = ModContent.Request("CalamityMod/Walls/VoidstoneWall_Glowmask", AssetRequestMode.ImmediateLoad).Value; - ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(0, 0, 0)); }