diff --git a/CalamityMod.cs b/CalamityMod.cs index 89a1bf9afd..951b2a5cbd 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -20,7 +20,6 @@ using CalamityMod.ILEditing; using CalamityMod.Items; using CalamityMod.Items.Dyes.HairDye; using CalamityMod.Items.VanillaArmorChanges; -using CalamityMod.Localization; using CalamityMod.NPCs.AdultEidolonWyrm; using CalamityMod.NPCs.AquaticScourge; using CalamityMod.NPCs.AstrumAureus; @@ -261,7 +260,6 @@ namespace CalamityMod SetupVanillaDR(); SetupBossKillTimes(); SetupBossVelocityScalingValues(); - CalamityLocalization.AddLocalizations(); CalamityConfig.RegisterDynamicLocalization(); SchematicManager.Load(); CustomLavaManagement.Load(); diff --git a/CustomRecipes/ArsenalTierGatedRecipe.cs b/CustomRecipes/ArsenalTierGatedRecipe.cs index d637eb2497..cca100757f 100644 --- a/CustomRecipes/ArsenalTierGatedRecipe.cs +++ b/CustomRecipes/ArsenalTierGatedRecipe.cs @@ -9,7 +9,7 @@ namespace CalamityMod.CustomRecipes public static NetworkText ConstructRecipeCondition(int tier, out Predicate condition) { condition = r => HasTierBeenLearned(tier); - return NetworkText.FromKey($"Mods.CalamityMod.Tier{tier}ArsenalRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.Tier{tier}ArsenalRecipeCondition"); } public static bool HasTierBeenLearned(int tier) diff --git a/CustomRecipes/SchematicRecipe.cs b/CustomRecipes/SchematicRecipe.cs index 19e23d6227..1dbf6411ca 100644 --- a/CustomRecipes/SchematicRecipe.cs +++ b/CustomRecipes/SchematicRecipe.cs @@ -14,19 +14,19 @@ namespace CalamityMod.CustomRecipes case "Sunken Sea": default: condition = r => RecipeUnlockHandler.HasFoundSunkenSeaSchematic; - return NetworkText.FromKey($"Mods.CalamityMod.SunkenSeaSchematicRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.SunkenSeaSchematicRecipeCondition"); case "Planetoid": condition = r => RecipeUnlockHandler.HasFoundPlanetoidSchematic; - return NetworkText.FromKey($"Mods.CalamityMod.PlanetoidSchematicRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.PlanetoidSchematicRecipeCondition"); case "Jungle": condition = r => RecipeUnlockHandler.HasFoundJungleSchematic; - return NetworkText.FromKey($"Mods.CalamityMod.JungleSchematicRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.JungleSchematicRecipeCondition"); case "Hell": condition = r => RecipeUnlockHandler.HasFoundHellSchematic; - return NetworkText.FromKey($"Mods.CalamityMod.UnderworldSchematicRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.UnderworldSchematicRecipeCondition"); case "Ice": condition = r => RecipeUnlockHandler.HasFoundIceSchematic; - return NetworkText.FromKey($"Mods.CalamityMod.IceSchematicRecipeCondition"); + return NetworkText.FromKey($"Mods.CalamityMod.Misc.IceSchematicRecipeCondition"); } } } diff --git a/Events/AcidRainEvent.cs b/Events/AcidRainEvent.cs index 60463ba23c..fefb38b79a 100644 --- a/Events/AcidRainEvent.cs +++ b/Events/AcidRainEvent.cs @@ -220,7 +220,7 @@ namespace CalamityMod.Events } UpdateInvasion(); - BroadcastEventText("Mods.CalamityMod.AcidRainStart"); // A toxic downpour falls over the wasteland seas! + BroadcastEventText("Mods.CalamityMod.Events.AcidRainStart"); // A toxic downpour falls over the wasteland seas! } /// @@ -325,7 +325,7 @@ namespace CalamityMod.Events if (AccumulatedKillPoints <= 0) { AcidRainEventIsOngoing = false; - BroadcastEventText("Mods.CalamityMod.AcidRainEnd"); // The sulphuric skies begin to clear... + BroadcastEventText("Mods.CalamityMod.Events.AcidRainEnd"); // The sulphuric skies begin to clear... // Turn off the rain from the event Main.numCloudsTemp = Main.rand.Next(5, 20 + 1); diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index b0d518a44b..fa9d9cd2f2 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -295,7 +295,7 @@ namespace CalamityMod.Events new Boss(ModContent.NPCType(), TimeChangeContext.Day, type => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierThreeEndText2", XerocTextColor); // "May your skills remain sharp for the last challenges." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierThreeEndText2", XerocTextColor); // "May your skills remain sharp for the last challenges." NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type); }, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), @@ -372,7 +372,7 @@ namespace CalamityMod.Events new Boss(ModContent.NPCType(), spawnContext: type => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierFourEndText2", XerocTextColor); // "Go forth and conquer 'til the ritual's end!" + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierFourEndText2", XerocTextColor); // "Go forth and conquer 'til the ritual's end!" Player player = Main.player[ClosestPlayerToWorldCenter]; SoundEngine.PlaySound(Yharon.FireSound, player.Center); @@ -404,7 +404,7 @@ namespace CalamityMod.Events { [NPCID.WallofFlesh] = npc => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierOneEndText", XerocTextColor); // "Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierOneEndText", XerocTextColor); // "Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet." CreateTierAnimation(2); // Teleport players to where they came from @@ -425,17 +425,17 @@ namespace CalamityMod.Events }, [NPCID.Plantera] = npc => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierTwoEndText", XerocTextColor); // "Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierTwoEndText", XerocTextColor); // "Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers." CreateTierAnimation(3); }, [NPCID.MoonLordCore] = npc => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierThreeEndText", XerocTextColor); // "Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in a short time." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierThreeEndText", XerocTextColor); // "Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in a short time." CreateTierAnimation(4); }, [ModContent.NPCType()] = npc => { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierFourEndText", XerocTextColor); // "Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierFourEndText", XerocTextColor); // "Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods." CreateTierAnimation(5); }, [ModContent.NPCType()] = npc => diff --git a/Items/PermanentBoosters/BloodOrange.cs b/Items/PermanentBoosters/BloodOrange.cs index 8fc576023c..512f927230 100644 --- a/Items/PermanentBoosters/BloodOrange.cs +++ b/Items/PermanentBoosters/BloodOrange.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.bOrange) { - string key = "Mods.CalamityMod.BloodOrangeText"; + string key = "Mods.CalamityMod.Misc.BloodOrangeText"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); return false; diff --git a/Items/PermanentBoosters/CometShard.cs b/Items/PermanentBoosters/CometShard.cs index de2f595c5e..6204176d49 100644 --- a/Items/PermanentBoosters/CometShard.cs +++ b/Items/PermanentBoosters/CometShard.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.cShard) { - string key = "Mods.CalamityMod.CometShardText"; + string key = "Mods.CalamityMod.Misc.CometShardText"; Color messageColor = Color.DarkOrchid; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/PermanentBoosters/Dragonfruit.cs b/Items/PermanentBoosters/Dragonfruit.cs index 21328ff75a..afdaab2a63 100644 --- a/Items/PermanentBoosters/Dragonfruit.cs +++ b/Items/PermanentBoosters/Dragonfruit.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.dFruit) { - string key = "Mods.CalamityMod.DragonfruitText"; + string key = "Mods.CalamityMod.Misc.DragonfruitText"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/PermanentBoosters/Elderberry.cs b/Items/PermanentBoosters/Elderberry.cs index 8b156a2ca0..8e620be258 100644 --- a/Items/PermanentBoosters/Elderberry.cs +++ b/Items/PermanentBoosters/Elderberry.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.eBerry) { - string key = "Mods.CalamityMod.ElderberryText"; + string key = "Mods.CalamityMod.Misc.ElderberryText"; Color messageColor = Color.RoyalBlue; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/PermanentBoosters/EtherealCore.cs b/Items/PermanentBoosters/EtherealCore.cs index 2e8e9d6aef..3a3e55370c 100644 --- a/Items/PermanentBoosters/EtherealCore.cs +++ b/Items/PermanentBoosters/EtherealCore.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.eCore) { - string key = "Mods.CalamityMod.EtherealCoreText"; + string key = "Mods.CalamityMod.Misc.EtherealCoreText"; Color messageColor = Color.Purple; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/PermanentBoosters/MiracleFruit.cs b/Items/PermanentBoosters/MiracleFruit.cs index 5fffef714f..8ccf0a611f 100644 --- a/Items/PermanentBoosters/MiracleFruit.cs +++ b/Items/PermanentBoosters/MiracleFruit.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.mFruit) { - string key = "Mods.CalamityMod.MiracleFruitText"; + string key = "Mods.CalamityMod.Misc.MiracleFruitText"; Color messageColor = Color.GreenYellow; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/PermanentBoosters/PhantomHeart.cs b/Items/PermanentBoosters/PhantomHeart.cs index 6c958775bb..9ec4918d54 100644 --- a/Items/PermanentBoosters/PhantomHeart.cs +++ b/Items/PermanentBoosters/PhantomHeart.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.PermanentBoosters CalamityPlayer modPlayer = player.Calamity(); if (modPlayer.pHeart) { - string key = "Mods.CalamityMod.PhantomHeartText"; + string key = "Mods.CalamityMod.Misc.PhantomHeartText"; Color messageColor = Color.Magenta; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Items/Pets/HermitsBoxofOneHundredMedicines.cs b/Items/Pets/HermitsBoxofOneHundredMedicines.cs index 273dc29977..e09468b612 100644 --- a/Items/Pets/HermitsBoxofOneHundredMedicines.cs +++ b/Items/Pets/HermitsBoxofOneHundredMedicines.cs @@ -53,14 +53,14 @@ namespace CalamityMod.Items.Pets if (!player.Calamity().healToFull) { player.Calamity().healToFull = true; - string key = "Mods.CalamityMod.ThirdSageBlessingText"; + string key = "Mods.CalamityMod.Misc.ThirdSageBlessingText"; Color messageColor = Color.Violet; Main.NewText(Language.GetTextValue(key), messageColor); } else { player.Calamity().healToFull = false; - string key2 = "Mods.CalamityMod.ThirdSageBlessingText2"; + string key2 = "Mods.CalamityMod.Misc.ThirdSageBlessingText2"; Color messageColor2 = Color.Violet; Main.NewText(Language.GetTextValue(key2), messageColor2); } diff --git a/Items/SulphurousSeaWorldSideChanger.cs b/Items/SulphurousSeaWorldSideChanger.cs index 5c902735f9..50a5518e8d 100644 --- a/Items/SulphurousSeaWorldSideChanger.cs +++ b/Items/SulphurousSeaWorldSideChanger.cs @@ -32,11 +32,11 @@ namespace CalamityMod.Items public override bool? UseItem(Player player) { CalamityNetcode.SyncWorld(); - string key = "Mods.CalamityMod.SulphurSwitchLeft"; + string key = "Mods.CalamityMod.Misc.SulphurSwitchLeft"; if (Abyss.AtLeftSideOfWorld) { Abyss.AtLeftSideOfWorld = false; - key = "Mods.CalamityMod.SulphurSwitchRight"; + key = "Mods.CalamityMod.Misc.SulphurSwitchRight"; } else { diff --git a/Items/SummonItems/CosmicWorm.cs b/Items/SummonItems/CosmicWorm.cs index ff0e199c6c..acc55b4ba1 100644 --- a/Items/SummonItems/CosmicWorm.cs +++ b/Items/SummonItems/CosmicWorm.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.SummonItems public override bool? UseItem(Player player) { - string key = "Mods.CalamityMod.EdgyBossText7"; + string key = "Mods.CalamityMod.BossMessages.EdgyBossText7"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/Localization/CalamityLocalization.cs b/Localization/CalamityLocalization.cs deleted file mode 100644 index 3a1f1d7b34..0000000000 --- a/Localization/CalamityLocalization.cs +++ /dev/null @@ -1,242 +0,0 @@ -using Terraria.Localization; -using Terraria.ModLoader; - -namespace CalamityMod.Localization -{ - // TODO -- this all has to be moved to enUS.hjson, along with every other string in Calamity - public class CalamityLocalization - { - private static string[][] _localizations; - - public static void Load() - { - _localizations = new[] - { - new [] { "SkyOreText", "The sky is glittering with cyan light." }, - new [] { "IceOreText", "The ice caves are crackling with frigid energy." }, - new [] { "PlantOreText", "Energized plant matter has formed in the underground." }, - new [] { "TreeOreText", "Fossilized tree bark is bursting through the jungle's mud." }, - new [] { "AuricOreText", "Ancient draconic power manifests in the caverns, lacing itself through the rock." }, - new [] { "FutureOreText", "A cold and dark energy has materialized in space." }, - - new [] { "SkeletronAbyssChestNotification", "The First Dryad's vines deem you worthy of their abyssal treasures." }, - - new [] { "UglyBossText", "The Sunken Sea trembles..." }, - - new [] { "SteelSkullBossText", "A blood red inferno lingers in the night..." }, - - new [] { "WetWormBossText", "The sulphuric sky darkens..." }, - - new [] { "PlantBossText", "The ocean depths are trembling." }, - - new [] { "BabyBossText", "A plague has befallen the Jungle." }, - - new [] { "MoonBossText", "The profaned flame blazes fiercely!" }, - new [] { "MoonBossText2", "Cosmic terrors are watching..." }, - - new [] { "PlagueBossText", "PLAGUE NUKE BARRAGE ARMED, PREPARING FOR LAUNCH!!!" }, - new [] { "PlagueBossText2", "MISSILES LAUNCHED, TARGETING ROUTINE INITIATED!!!" }, - - new [] { "ProfanedBossText", "Holy flames burn away at your wings..." }, - new [] { "ProfanedBossText2", "Shrieks are echoing from the dungeon." }, - new [] { "ProfanedBossText3", "The calamitous beings have been inundated with bloodstone." }, - new [] { "ProfanedBossText4", "The Profaned Goddess has recognised your devotion to purity!" }, - - new [] { "GhostBossText", "The abyssal spirits have been disturbed." }, - new [] { "GhostBossText2", "Wails echo through the dilapidated dungeon halls..." }, - new [] { "GhostBossText3", "Long-dead prisoners seek their zealous revenge..." }, - new [] { "GhostBossText4", "The souls released stir the acidic storms..." }, - - new [] { "SCalSummonText", "Do you enjoy going through hell?" }, - new [] { "SCalStartText", "You should have just died..." }, - new [] { "SCalBH2Text", "It wasn't too long ago you barely managed to defeat my doppelganger. Quite the failure, wasn't it?" }, - new [] { "SCalBH3Text", "You've harnessed great power, but you wield it for no one but yourself." }, - new [] { "SCalBrothersText", "Would you like to meet my family? Horrible, isn't it?" }, - new [] { "SCalPhase2Text", "You will suffer greatly." }, - new [] { "SCalBH4Text", "It's absurd to even think of trying to get away. As long as you live, you will suffer." }, - new [] { "SCalSeekerRingText", "An upstart who recklessly stole and killed their way to power. I wonder, who does that remind me of...?" }, - new [] { "SCalBH5Text", "You have no stake in this battle. No one gave you any say in this matter!" }, - new [] { "SCalSepulcher2Text", "Once the dust has settled and only one remains, if it is you, what value will this have had?!" }, - new [] { "SCalDesparationText1", "Just stop!" }, - new [] { "SCalDesparationText2", "I have no future if I lose here." }, - new [] { "SCalDesparationText3", "Once you have bested me, you will only have one path forward." }, - new [] { "SCalDesparationText4", "And that path... also has no future." }, - new [] { "SCalAcceptanceText1", "Even if he has thrown all else away, his power remains." }, - new [] { "SCalAcceptanceText2", "I have no more energy left to resent him, or you..." }, - new [] { "SCalAcceptanceText3", "It will all be in your hands now." }, - - // Some of these keys are incorrect in terms of their contents, but they remain as their bases + an addon at the end to make it - // easier to define them. - new [] { "SCalSummonTextRematch", "If you're looking for some fourth-degree burns, you've got the right person." }, - new [] { "SCalStartTextRematch", "When the time comes, would you like to join my creation?" }, - new [] { "SCalBH2TextRematch", "You'll still have to work hard for this victory." }, - new [] { "SCalBH3TextRematch", "I haven't had such an interesting target dummy to test my magic on in a long time." }, - new [] { "SCalBrothersTextRematch", "Empty shells of their former selves. I doubt even a scrap of their spirits remain." }, - new [] { "SCalPhase2TextRematch", "Here we go again." }, - new [] { "SCalBH4TextRematch", "I wonder if you've seen these in your nightmares since our first battle?" }, - new [] { "SCalSeekerRingTextRematch", "Your skill hasn't faltered in the least." }, - new [] { "SCalBH5TextRematch", "Isn't this exciting?" }, - new [] { "SCalSepulcher2TextRematch", "Here comes the crawling tomb, one last time." }, - new [] { "SCalDesparationText1Rematch", "A terrific display, I concede this match to you." }, - new [] { "SCalDesparationText2Rematch", "No doubt you will face enemies stronger than I." }, - new [] { "SCalDesparationText3Rematch", "I trust you will not make the same mistakes he did." }, - new [] { "SCalDesparationText4Rematch", "I can't imagine what your future holds now." }, - - new [] { "EdgyBossText", "Don't get cocky!" }, - new [] { "EdgyBossText2", "A fatal mistake!" }, - new [] { "EdgyBossText3", "Delicious..." }, - new [] { "EdgyBossText4", "Did that hurt?" }, - new [] { "EdgyBossText5", "It's not over yet!" }, - new [] { "EdgyBossText6", "A GOD DOES NOT FEAR DEATH!" }, - new [] { "EdgyBossText7", "You are no god... but I shall feast upon your essence regardless!" }, - new [] { "DoGBossText", "The frigid moon shimmers brightly." }, - new [] { "DoGBossText2", "The harvest moon glows eerily." }, - - new [] { "AstralText", "A star has fallen from the heavens!" }, - new [] { "AureusBossText", "The astral enemies have been empowered!" }, - new [] { "AureusBossText2", "A faint ethereal click can be heard from the dungeon." }, - new [] { "AstralBossText", "The seal of the stars has been broken! You can now mine Astral Ore." }, - new [] { "DeusText", "A star-spawned horror tunnels through the astral infection." }, - new [] { "DeusAltarRejectNightText", "The god of the stars rejects your offering. The ritual can only be performed at night." }, - - new [] { "CalamitasBossText", "You underestimate my power..." }, - new [] { "CalamitasBossText2", "The brothers have been reborn!" }, - new [] { "CalamitasBossText3", "Impressive child, most impressive..." }, - - new [] { "SandSharkText", "Something stirs in the warm desert sands..." }, - new [] { "SandSharkText2", "An enormous apex predator approaches..." }, - new [] { "SandSharkText3", "The desert sand shifts intensely!" }, - - new [] { "CryogenBossText", "Cryogen is derping out!" }, - new [] { "PyrogenBossText", "Pyrogen is derping out!" }, - - new [] { "DraedonIntroductionText1", "I have waited long for this moment." }, - new [] { "DraedonIntroductionText2", "Your nature fascinates me, for I do not understand it." }, - new [] { "DraedonIntroductionText3", "You will face my creations which have surpassed gods." }, - new [] { "DraedonIntroductionText4", "And you will show me your disposition through battle." }, - new [] { "DraedonIntroductionText5", "Now, choose." }, - new [] { "DraedonExoPhase1Text1", "Designs improved with time and knowledge are the essence of my work." }, - new [] { "DraedonExoPhase1Text2", "Through no other method can I approach perfection." }, - new [] { "DraedonExoPhase2Text1", "Your performance falls neatly within the margins of error." }, - new [] { "DraedonExoPhase2Text2", "That is quite satisfactory. We will proceed to the next phase of testing." }, - new [] { "DraedonExoPhase3Text1", "Ever since I was alerted to your presence, I have processed your battles in order to make my machines stronger." }, - new [] { "DraedonExoPhase3Text2", "Even now, I monitor your actions. Nothing should escape the bounds of my calculations." }, - new [] { "DraedonExoPhase4Text1", "Curious. Very curious." }, - new [] { "DraedonExoPhase4Text2", "You progress steadily against more difficult challenges." }, - new [] { "DraedonExoPhase5Text1", "Your nature remains unknown to me. This will not do." }, - new [] { "DraedonExoPhase5Text2", "...I sought perfection. Fate must favor irony, for that must have been my first mistake." }, - new [] { "DraedonExoPhase6Text1", "Absurd." }, - new [] { "DraedonExoPhase6Text2", "I will no longer let my calculations impede my observation of this battle." }, - new [] { "DraedonExoPhase6Text3", "I shall show you the full fury of my final machine." }, - new [] { "DraedonAresEnrageText", "How foolish. You cannot escape." }, - new [] { "DraedonResummonText", "Make your choice." }, - new [] { "DraedonBossRushText", "Make your choice. You have 20 seconds." }, - new [] { "DraedonEndText1", "An unknown factor-a catalyst is what you are." }, - new [] { "DraedonEndText2", "Nearly as alien as I, to this land and its history." }, - new [] { "DraedonEndText3", "...Excuse my introspection. I must gather my thoughts after that display." }, - new [] { "DraedonEndText4", "This land has become stale and stiff with blood that has been spilled until now." }, - new [] { "DraedonEndText5", "You have also spilled blood, but it may be enough to usher a new age... Of what, I do not know. But it is something I am eager to see." }, - new [] { "DraedonEndText6", "Now. You wish to reach the Tyrant. I cannot assist you in that." }, - new [] { "DraedonEndText7", "It is not a matter of spite, for I would wish nothing more than to observe such a conflict." }, - new [] { "DraedonEndText8", "But you have managed before. You will find a way eventually." }, - new [] { "DraedonEndText9", "I must acknowledge your triumph, but I will return now to my machinery." }, - new [] { "DraedonEndKillAttemptText", "...Quite unnecessary." }, - new [] { "DraedonMechdusaBeginText", "...Die." }, - new [] { "DraedonMechdusaEndText1", "Wait what? How?" }, - new [] { "DraedonMechdusaEndText2", "No" }, - - new [] { "HardmodeOreTier1Text", "Your world has been blessed with Cobalt and Palladium!" }, - new [] { "HardmodeOreTier2Text", "Your world has been blessed with Mythril and Orichalcum!" }, - new [] { "HardmodeOreTier3Text", "Your world has been blessed with Adamantite and Titanium!" }, - new [] { "HardmodeOreTier4Text", "The hallow has been blessed with consecrated stone!" }, - - new [] { "BloodMoonText", "The Blood Moon is rising..." }, - - new [] { "DargonBossText", "The dark sun awaits." }, - new [] { "DargonBossText2", "My dragon deems you an unworthy opponent. You must acquire the power of the dark sun to witness his true power." }, - - new [] { "RevengeText", "Revengeance is active." }, - new [] { "RevengeText2", "Revengeance is not active." }, - - new [] { "DeathText", "Death is active; enjoy the fun." }, - new [] { "DeathText2", "Death is not active; not fun enough for you?" }, - - new [] { "ArmageddonText", "Bosses will now kill you instantly." }, - new [] { "ArmageddonText2", "Bosses will no longer kill you instantly." }, - new [] { "ArmageddonDodgeDisable", "All of your dodges are now disabled." }, - new [] { "ArmageddonDodgeEnable", "All of your dodges are now re-enabled." }, - - new [] { "ChangingTheRules", "You cannot change the rules now!" }, - - new [] { "FlameText", "The air is getting warmer around you." }, - - new [] { "BossRushStartText", "Hmm? Ah, another contender. Very well, may the ritual commence!" }, - new [] { "BossRushTierOneEndText", "Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet." }, - new [] { "BossRushTierTwoEndText", "Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers." }, - new [] { "BossRushTierThreeEndText", "Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in such a short time." }, - new [] { "BossRushTierThreeEndText2", "May your skills remain sharp for the last challenges." }, - new [] { "BossRushTierFourEndText", "Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods." }, - new [] { "BossRushTierFourEndText2", "Go forth and conquer 'til the ritual's end!" }, - new [] { "BossRushTierFiveEndText", "Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will become apparent in time..." }, - - new [] { "OpenSunkenSea", "The depths of the underground desert are rumbling..." }, - new [] { "SandstormTrigger", "The desert wind is blowing furiously!" }, - - new [] { "ThirdSageBlessingText", "You have been blessed by the Third Sage!" }, - new [] { "ThirdSageBlessingText2", "The Third Sage has rescinded its blessing..." }, - - new [] { "AprilFools", "The LORDE is approaching..." }, - new [] { "AprilFools2", "A boomer awaits..." }, //possible alternative to GhostBossText4 - new [] { "AprilFoolsGFB", "La Ruga is approaching..." }, - - new [] { "AcidRainStart", "A toxic downpour falls over the wasteland seas!" }, - new [] { "AcidRainEnd", "The sulphuric skies begin to clear..." }, - - new [] { "DefenseDamage", "Defense Damage" }, - - new [] { "Tier1ArsenalRecipeCondition", "View an unencrypted schematic from the lab near the Sunken Sea" }, - new [] { "Tier2ArsenalRecipeCondition", "Decrypt a schematic from the lab in the large planetoid in the sky" }, - new [] { "Tier3ArsenalRecipeCondition", "Decrypt a schematic from the lab deep within the jungle" }, - new [] { "Tier4ArsenalRecipeCondition", "Decrypt a schematic from the lab near the edges of the underworld" }, - new [] { "Tier5ArsenalRecipeCondition", "Decrypt a schematic from the lab deep within the frozen caverns" }, - - new [] { "SunkenSeaSchematicRecipeCondition", "Place a schematic from the lab near the Sunken Sea in your inventory at least once" }, - new [] { "PlanetoidSchematicRecipeCondition", "Place a schematic from the lab in the large planetoid in your inventory at least once" }, - new [] { "JungleSchematicRecipeCondition", "Place a schematic from the lab deep within the jungle in your inventory at least once" }, - new [] { "UnderworldSchematicRecipeCondition", "Place a schematic from the lab near the edges of the underworld in your inventory at least once" }, - new [] { "IceSchematicRecipeCondition", "Place a schematic from the lab within the frozen caverns in your inventory at least once" }, - - new [] { "BloodOrangeText", "You have already consumed a Blood Orange. Eating any more would not be good for you." }, - new [] { "MiracleFruitText", "You have already consumed a Miracle Fruit. Having another would make you sick." }, - new [] { "ElderberryText", "You have already consumed an Elderberry. It is probably not wise to eat more than one." }, - new [] { "DragonfruitText", "You have already consumed a Dragonfruit. Your stomach cannot take any more." }, - - new [] { "CometShardText", "You have already used a Comet Shard. Using more would make you nauseous." }, - new [] { "EtherealCoreText", "You have already used an Ethereal Core. It's best to not use more than you are able to." }, - new [] { "PhantomHeartText", "You have already used a Phantom Heart. It's probably good that you can't use another." }, - - new [] { "SlimeGodRun", "The Slime God flees to fight another day..." }, - - new [] { "SulphurSwitchLeft", "The Sulphurous Sea is now on the left side of the world." }, - new [] { "SulphurSwitchRight", "The Sulphurous Sea is now on the right side of the world." }, - }; - } - - public static void Unload() - { - _localizations = null; - } - - public static void AddLocalizations() - { - Load(); - foreach (string[] localization in _localizations) - { - LocalizedText text = Language.GetOrRegister($"Mods.{CalamityMod.Instance.Name}.{localization[0]}"); - // text.SetDefault(localization[1]); - LocalizationLoader.AddTranslation(text)/* tModPorter Note: Removed. Use Language.GetOrRegister */; - } - Unload(); - } - } -} diff --git a/Localization/en-US/BossDialogue.hjson b/Localization/en-US/BossDialogue.hjson index ea6b2744e8..1d556fae24 100644 --- a/Localization/en-US/BossDialogue.hjson +++ b/Localization/en-US/BossDialogue.hjson @@ -26,6 +26,10 @@ Mods : { /* Providence */ ProfanedBossText: Holy flames burn away at your wings... + + /* Polterghast */ + GhostBossText2: Wails echo through the dilapidated dungeon halls... + GhostBossText3: Long-dead prisoners seek their zealous revenge... /* Devourer of Gods */ EdgyBossText: Don't get cocky! diff --git a/Localization/en-US/Events.hjson b/Localization/en-US/Events.hjson index 2037e96cbb..47371b4e6c 100644 --- a/Localization/en-US/Events.hjson +++ b/Localization/en-US/Events.hjson @@ -6,17 +6,15 @@ Mods : { AcidRainEnd: The sulphuric skies begin to clear... } BossRushEvent: { + BossRushStartText: Hmm? Ah, another contender. Very well, may the ritual commence! BossRushTierOneEndText: Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet. BossRushTierTwoEndText: Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers. BossRushTierThreeEndText: Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in a short time. BossRushTierThreeEndText2: May your skills remain sharp for the last challenges." BossRushTierFourEndText: Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods. BossRushTierFourEndText2: Go forth and conquer 'til the ritual's end! + BossRushTierFiveEndText: Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will come apparent in time... } } - Projectiles:{ - BossRushEffectThing.BossRushStartText: Hmm? Ah, another contender. Very well, may the ritual commence! - BossRushEndEffectThing.BossRushTierFiveEndText: Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will come apparent in time... - } } } \ No newline at end of file diff --git a/Localization/en-US/Items/MiscItems.hjson b/Localization/en-US/Items/MiscItems.hjson index f8d2ba09ee..2ba26757b3 100644 --- a/Localization/en-US/Items/MiscItems.hjson +++ b/Localization/en-US/Items/MiscItems.hjson @@ -3,7 +3,7 @@ Mods : { Items : { /* Critters */ AndroombaItem: { - DisplayName: "{$Mods.CalamityMod.NPCName.Androomba}" + DisplayName: "{$Mods.CalamityMod.NPCs.Androomba.DisplayName}" Tooltip: ''' Right click the roomba with a solution to insert it @@ -11,16 +11,16 @@ Mods : { ''' } - BabyFlakCrabItem.DisplayName: "{$Mods.CalamityMod.NPCName.BabyFlakCrab}" - BabyGhostBellItem.DisplayName: "{$Mods.CalamityMod.NPCName.BabyGhostBell}" + BabyFlakCrabItem.DisplayName: "{$Mods.CalamityMod.NPCs.BabyFlakCrab.DisplayName}" + BabyGhostBellItem.DisplayName: "{$Mods.CalamityMod.NPCs.BabyGhostBell.DisplayName}" NanodroidDysfunctionalItem.DisplayName: Dysfunctional Nanodroid - NanodroidItem.DisplayName: "{$Mods.CalamityMod.NPCName.Nanodroid}" + NanodroidItem.DisplayName: "{$Mods.CalamityMod.NPCs.Nanodroid.DisplayName}" NanodroidPlagueGreenItem.DisplayName: Green Plague Nanodroid NanodroidPlagueRedItem.DisplayName: Red Plague Nanodroid - PiggyItem.DisplayName: "{$Mods.CalamityMod.NPCName.Piggy}" - RepairUnitItem.DisplayName: "{$Mods.CalamityMod.NPCName.RepairUnitCritter}" - SeaMinnowItem.DisplayName: "{$Mods.CalamityMod.NPCName.SeaMinnow}" - TwinklerItem.DisplayName: "{$Mods.CalamityMod.NPCName.Twinkler}" + PiggyItem.DisplayName: "{$Mods.CalamityMod.NPCs.Piggy.DisplayName}" + RepairUnitItem.DisplayName: "{$Mods.CalamityMod.NPCs.RepairUnitCritter.DisplayName}" + SeaMinnowItem.DisplayName: "{$Mods.CalamityMod.NPCs.SeaMinnow.DisplayName}" + TwinklerItem.DisplayName: "{$Mods.CalamityMod.NPCs.Twinkler.DisplayName}" /* Permanent Boosters */ BloodOrange: { diff --git a/Localization/en-US/Misc.hjson b/Localization/en-US/Misc.hjson new file mode 100644 index 0000000000..32c8ed61be --- /dev/null +++ b/Localization/en-US/Misc.hjson @@ -0,0 +1,30 @@ +Mods: { + CalamityMod: { + Misc: { + /* Recipe Conditions */ + Tier1ArsenalRecipeCondition: View an unencrypted schematic from the lab near the Sunken Sea + Tier2ArsenalRecipeCondition: Decrypt a schematic from the lab in the large planetoid in the sky + Tier3ArsenalRecipeCondition: Decrypt a schematic from the lab deep within the jungle + Tier4ArsenalRecipeCondition: Decrypt a schematic from the lab near the edges of the underworld + Tier5ArsenalRecipeCondition: Decrypt a schematic from the lab deep within the frozen caverns + SunkenSeaSchematicRecipeCondition: Place a schematic from the lab near the Sunken Sea in your inventory at least once + PlanetoidSchematicRecipeCondition: Place a schematic from the lab in the large planetoid in your inventory at least once + JungleSchematicRecipeCondition: Place a schematic from the lab deep within the jungle in your inventory at least once + UnderworldSchematicRecipeCondition: Place a schematic from the lab near the edges of the underworld in your inventory at least once + IceSchematicRecipeCondition: Place a schematic from the lab within the frozen caverns in your inventory at least once + + /* Item Messages */ + ThirdSageBlessingText: You have been blessed by the Third Sage! + ThirdSageBlessingText2: The Third Sage has rescinded its blessing... + BloodOrangeText: You have already consumed a Blood Orange. Eating any more would not be good for you. + MiracleFruitText: You have already consumed a Miracle Fruit. Having another would make you sick. + ElderberryText: You have already consumed an Elderberry. It is probably not wise to eat more than one. + DragonfruitText: You have already consumed a Dragonfruit. Your stomach cannot take any more. + CometShardText: You have already used a Comet Shard. Using more would make you nauseous. + EtherealCoreText: You have already used an Ethereal Core. It's best to not use more than you are able to. + PhantomHeartText: You have already used a Phantom Heart. It's probably good that you can't use another. + SulphurSwitchLeft: The Sulphurous Sea is now on the left side of the world. + SulphurSwitchRight: The Sulphurous Sea is now on the right side of the world. + } + } +} \ No newline at end of file diff --git a/Localization/en-US/Mods.CalamityMod.hjson b/Localization/en-US/Mods.CalamityMod.hjson deleted file mode 100644 index 5a751f0ed3..0000000000 --- a/Localization/en-US/Mods.CalamityMod.hjson +++ /dev/null @@ -1,50 +0,0 @@ -/* Difficulty and UI */ -DefenseDamage: Defense Damage -RevengeText: Revengeance is active. -RevengeText2: Revengeance is not active. -DeathText: Death is active; enjoy the fun. -DeathText2: Death is not active; not fun enough for you? -ArmageddonText: Bosses will now kill you instantly. -ArmageddonText2: Bosses will no longer kill you instantly. -ArmageddonDodgeDisable: All of your dodges are now disabled. -ArmageddonDodgeEnable: All of your dodges are now re-enabled. -ChangingTheRules: You cannot change the rules now! -UI.SmallWorldWarning: "[c/ff00000:SMALL WORLDS NOT SUPPORTED BY CALAMITY]" - -/* Event Messages */ -AcidRainStart: A toxic downpour falls over the wasteland seas! -AcidRainEnd: The sulphuric skies begin to clear... -BloodMoonText: The Blood Moon is rising... -BossRushStartText: Hmm? Ah, another contender. Very well, may the ritual commence! -BossRushTierOneEndText: Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet. -BossRushTierTwoEndText: Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers. -BossRushTierThreeEndText: Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in such a short time. -BossRushTierThreeEndText2: May your skills remain sharp for the last challenges. -BossRushTierFourEndText: Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods. -BossRushTierFourEndText2: Go forth and conquer 'til the ritual's end! -BossRushTierFiveEndText: Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will become apparent in time... - -/* Recipe Conditions */ -Tier1ArsenalRecipeCondition: View an unencrypted schematic from the lab near the Sunken Sea -Tier2ArsenalRecipeCondition: Decrypt a schematic from the lab in the large planetoid in the sky -Tier3ArsenalRecipeCondition: Decrypt a schematic from the lab deep within the jungle -Tier4ArsenalRecipeCondition: Decrypt a schematic from the lab near the edges of the underworld -Tier5ArsenalRecipeCondition: Decrypt a schematic from the lab deep within the frozen caverns -SunkenSeaSchematicRecipeCondition: Place a schematic from the lab near the Sunken Sea in your inventory at least once -PlanetoidSchematicRecipeCondition: Place a schematic from the lab in the large planetoid in your inventory at least once -JungleSchematicRecipeCondition: Place a schematic from the lab deep within the jungle in your inventory at least once -UnderworldSchematicRecipeCondition: Place a schematic from the lab near the edges of the underworld in your inventory at least once -IceSchematicRecipeCondition: Place a schematic from the lab within the frozen caverns in your inventory at least once - -/* Item Messages */ -ThirdSageBlessingText: You have been blessed by the Third Sage! -ThirdSageBlessingText2: The Third Sage has rescinded its blessing... -BloodOrangeText: You have already consumed a Blood Orange. Eating any more would not be good for you. -MiracleFruitText: You have already consumed a Miracle Fruit. Having another would make you sick. -ElderberryText: You have already consumed an Elderberry. It is probably not wise to eat more than one. -DragonfruitText: You have already consumed a Dragonfruit. Your stomach cannot take any more. -CometShardText: You have already used a Comet Shard. Using more would make you nauseous. -EtherealCoreText: You have already used an Ethereal Core. It's best to not use more than you are able to. -PhantomHeartText: You have already used a Phantom Heart. It's probably good that you can't use another. -SulphurSwitchLeft: The Sulphurous Sea is now on the left side of the world. -SulphurSwitchRight: The Sulphurous Sea is now on the right side of the world. \ No newline at end of file diff --git a/Localization/en-US/ProgressionMessages.hjson b/Localization/en-US/ProgressionMessages.hjson index 48cf06a0cf..80f1ab0915 100644 --- a/Localization/en-US/ProgressionMessages.hjson +++ b/Localization/en-US/ProgressionMessages.hjson @@ -19,9 +19,6 @@ Mods : { HardmodeOreTier2Text: Your world has been blessed with Mythril and Orichalcum! HardmodeOreTier3Text: Your world has been blessed with Adamantite and Titanium! HardmodeOreTier4Text: The hallow has been blessed with consecrated stone! - - /* Skeletron Prime (now unused) */ - SteelSkullBossText: A blood red inferno lingers in the night... /* Cryogen */ IceOreText: The ice caves are crackling with frigid energy. @@ -44,9 +41,6 @@ Mods : { /* Golem */ BabyBossText: A plague has befallen the Jungle. - /* Lunatic Cultist (now unused) */ - DeusText: A star-spawned horror tunnels through the astral infection. - /* Astrum Deus */ AstralBossText: The seal of the stars has been broken! You can now mine Astral Ore. @@ -54,17 +48,15 @@ Mods : { MoonBossText: The profaned flame blazes fiercely! MoonBossText2: Cosmic terrors are watching... FutureOreText: A cold and dark energy has materialized in space. + ProfanedBossText2: Shrieks are echoing from the dungeon. /* Providence */ TreeOreText: Fossilized tree bark is bursting through the jungle's mud. - ProfanedBossText2: Shrieks are echoing from the dungeon. ProfanedBossText3: The calamitous beings have been inundated with bloodstone. ProfanedBossText4: The Profaned Goddess has recognised your devotion to purity! /* Polterghast */ GhostBossText: The abyssal spirits have been disturbed. - GhostBossText2: Wails echo through the dilapidated dungeon halls... - GhostBossText3: Long-dead prisoners seek their zealous revenge... GhostBossText4: The souls released stir the acidic storms... /* Polterghast (April Fools) */ AprilFools2: A boomer awaits... diff --git a/Localization/en-US/UI.hjson b/Localization/en-US/UI.hjson index e69de29bb2..e73d157ef6 100644 --- a/Localization/en-US/UI.hjson +++ b/Localization/en-US/UI.hjson @@ -0,0 +1,17 @@ +Mods: { + CalamityMod: { + UI: { + DefenseDamage: Defense Damage + RevengeText: Revengeance is active. + RevengeText2: Revengeance is not active. + DeathText: Death is active; enjoy the fun. + DeathText2: Death is not active; not fun enough for you? + ArmageddonText: Bosses will now kill you instantly. + ArmageddonText2: Bosses will no longer kill you instantly. + ArmageddonDodgeDisable: All of your dodges are now disabled. + ArmageddonDodgeEnable: All of your dodges are now re-enabled. + ChangingTheRules: You cannot change the rules now! + SmallWorldWarning: "[c/ff00000:SMALL WORLDS NOT SUPPORTED BY CALAMITY]" + } + } +} \ No newline at end of file diff --git a/NPCs/AquaticScourge/AquaticScourgeHead.cs b/NPCs/AquaticScourge/AquaticScourgeHead.cs index 6d502eb50b..bf39d65ccf 100644 --- a/NPCs/AquaticScourge/AquaticScourgeHead.cs +++ b/NPCs/AquaticScourge/AquaticScourgeHead.cs @@ -274,7 +274,7 @@ namespace CalamityMod.NPCs.AquaticScourge if (!Main.player[Main.myPlayer].dead && Main.player[Main.myPlayer].active) SoundEngine.PlaySound(Mauler.RoarSound, Main.player[Main.myPlayer].Center); - string sulfSeaBoostKey = "Mods.CalamityMod.WetWormBossText"; + string sulfSeaBoostKey = "Mods.CalamityMod.ProgressionMessages.WetWormBossText"; Color sulfSeaBoostColor = AcidRainEvent.TextColor; CalamityUtils.DisplayLocalizedText(sulfSeaBoostKey, sulfSeaBoostColor); diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 93d19927e0..885530d76d 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -399,8 +399,8 @@ namespace CalamityMod.NPCs.AstrumAureus // If Astrum Aureus has not yet been killed, notify players of new Astral enemy drops if (!DownedBossSystem.downedAstrumAureus) { - string key = "Mods.CalamityMod.AureusBossText"; - string key2 = "Mods.CalamityMod.AureusBossText2"; + string key = "Mods.CalamityMod.ProgressionMessages.AureusBossText"; + string key2 = "Mods.CalamityMod.ProgressionMessages.AureusBossText2"; Color messageColor = Color.Gold; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index bd042d4f72..fddc86c1f9 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -291,7 +291,7 @@ namespace CalamityMod.NPCs.AstrumDeus // Notify players that Astral Ore can be mined if Deus has never been killed yet if (!DownedBossSystem.downedAstrumDeus) { - string key = "Mods.CalamityMod.AstralBossText"; + string key = "Mods.CalamityMod.ProgressionMessages.AstralBossText"; Color messageColor = Color.Gold; CalamityUtils.DisplayLocalizedText(key, messageColor); } diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index ed2fb22614..55229e6a75 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -233,7 +233,7 @@ namespace CalamityMod.NPCs.CalClone CalamityGlobalNPC.SetNewShopVariable(new int[] { ModContent.NPCType() }, DownedBossSystem.downedCalamitasClone); // Abyss awakens after killing Calamitas - string key = "Mods.CalamityMod.PlantBossText"; + string key = "Mods.CalamityMod.ProgressionMessages.PlantBossText"; Color messageColor = Color.RoyalBlue; if (!DownedBossSystem.downedCalamitasClone) diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 27d2449181..f7ef82c66e 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -1312,7 +1312,7 @@ namespace CalamityMod.NPCs } } - string key = "Mods.CalamityMod.CalamitasBossText3"; + string key = "Mods.CalamityMod.BossMessages.CalamitasBossText3"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -1348,7 +1348,7 @@ namespace CalamityMod.NPCs NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X, (int)npc.position.Y + npc.height, ModContent.NPCType(), npc.whoAmI); } - string key = "Mods.CalamityMod.CalamitasBossText2"; + string key = "Mods.CalamityMod.BossMessages.CalamitasBossText2"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 449bab7e0e..3bb3f3e5e8 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1695,7 +1695,7 @@ namespace CalamityMod.NPCs { World.Abyss.UnlockAllAbyssChests(); - string keysk = "Mods.CalamityMod.SkeletronAbyssChestNotification"; + string keysk = "Mods.CalamityMod.ProgressionMessages.SkeletronAbyssChestNotification"; CalamityUtils.DisplayLocalizedText(keysk, new Color(76, 181, 76)); } break; @@ -1710,14 +1710,14 @@ namespace CalamityMod.NPCs if (CalamityConfig.Instance.EarlyHardmodeProgressionRework) WorldGen.altarCount++; - string key2 = "Mods.CalamityMod.UglyBossText"; + string key2 = "Mods.CalamityMod.ProgressionMessages.UglyBossText"; Color messageColor2 = Color.Aquamarine; CalamityUtils.DisplayLocalizedText(key2, messageColor2); // TODO -- this should probably be moved to a thread like Aureus meteor if (CalamityConfig.Instance.EarlyHardmodeProgressionRework) { - string key3 = "Mods.CalamityMod.HardmodeOreTier1Text"; + string key3 = "Mods.CalamityMod.ProgressionMessages.HardmodeOreTier1Text"; Color messageColor3 = new Color(50, 255, 130); CalamityUtils.SpawnOre(TileID.Cobalt, 12E-05, 0.45f, 0.7f, 3, 8); CalamityUtils.SpawnOre(TileID.Palladium, 12E-05, 0.45f, 0.7f, 3, 8); @@ -1774,9 +1774,9 @@ namespace CalamityMod.NPCs // Spawn Perennial Ore if Plantera has never been killed if (!NPC.downedPlantBoss) { - string key = "Mods.CalamityMod.PlantOreText"; + string key = "Mods.CalamityMod.ProgressionMessages.PlantOreText"; Color messageColor = Color.GreenYellow; - string key2 = "Mods.CalamityMod.SandSharkText3"; + string key2 = "Mods.CalamityMod.ProgressionMessages.SandSharkText3"; Color messageColor2 = Color.Goldenrod; // TODO -- this should probably be moved to a thread like Aureus meteor @@ -1813,7 +1813,7 @@ namespace CalamityMod.NPCs if (!Main.player[Main.myPlayer].dead && Main.player[Main.myPlayer].active) SoundEngine.PlaySound(PlagueSound, Main.player[Main.myPlayer].Center); - string key3 = "Mods.CalamityMod.BabyBossText"; + string key3 = "Mods.CalamityMod.ProgressionMessages.BabyBossText"; Color messageColor3 = Color.Lime; CalamityUtils.DisplayLocalizedText(key3, messageColor3); @@ -1842,13 +1842,13 @@ namespace CalamityMod.NPCs SetNewShopVariable(new int[] { NPCID.Princess, ModContent.NPCType() }, NPC.downedMoonlord); SetNewBossJustDowned(npc); - string key5 = "Mods.CalamityMod.MoonBossText"; + string key5 = "Mods.CalamityMod.ProgressionMessages.MoonBossText"; Color messageColor5 = Color.Orange; - string key6 = "Mods.CalamityMod.MoonBossText2"; + string key6 = "Mods.CalamityMod.ProgressionMessages.MoonBossText2"; Color messageColor6 = Color.Violet; - string key7 = "Mods.CalamityMod.ProfanedBossText2"; + string key7 = "Mods.CalamityMod.ProgressionMessages.ProfanedBossText2"; Color messageColor7 = Color.Cyan; - string key8 = "Mods.CalamityMod.FutureOreText"; + string key8 = "Mods.CalamityMod.ProgressionMessages.FutureOreText"; Color messageColor8 = Color.LightGray; if (!CalamityWorld.HasGeneratedLuminitePlanetoids) @@ -1886,7 +1886,7 @@ namespace CalamityMod.NPCs { if (!NPC.downedMechBossAny) { - string key = "Mods.CalamityMod.HardmodeOreTier2Text"; + string key = "Mods.CalamityMod.ProgressionMessages.HardmodeOreTier2Text"; Color messageColor = new Color(50, 255, 130); CalamityUtils.SpawnOre(TileID.Mythril, 12E-05, 0.55f, 0.8f, 3, 8); CalamityUtils.SpawnOre(TileID.Orichalcum, 12E-05, 0.55f, 0.8f, 3, 8); @@ -1894,7 +1894,7 @@ namespace CalamityMod.NPCs } else if ((!NPC.downedMechBoss1 && !NPC.downedMechBoss2) || (!NPC.downedMechBoss2 && !NPC.downedMechBoss3) || (!NPC.downedMechBoss3 && !NPC.downedMechBoss1)) { - string key = "Mods.CalamityMod.HardmodeOreTier3Text"; + string key = "Mods.CalamityMod.ProgressionMessages.HardmodeOreTier3Text"; Color messageColor = new Color(50, 255, 130); CalamityUtils.SpawnOre(TileID.Adamantite, 12E-05, 0.65f, 0.9f, 3, 8); CalamityUtils.SpawnOre(TileID.Titanium, 12E-05, 0.65f, 0.9f, 3, 8); @@ -1902,7 +1902,7 @@ namespace CalamityMod.NPCs } else { - string key = "Mods.CalamityMod.HardmodeOreTier4Text"; + string key = "Mods.CalamityMod.ProgressionMessages.HardmodeOreTier4Text"; Color messageColor = new Color(50, 255, 130); CalamityUtils.SpawnOre(ModContent.TileType(), 12E-05, 0.55f, 0.9f, 3, 8, TileID.Pearlstone, TileID.HallowHardenedSand, TileID.HallowSandstone, TileID.HallowedIce); CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -1972,14 +1972,14 @@ namespace CalamityMod.NPCs CalamityMod.ghostKillCount++; if (CalamityMod.ghostKillCount == 10) { - string key = "Mods.CalamityMod.GhostBossText2"; + string key = "Mods.CalamityMod.BossMessages.GhostBossText2"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); } else if (CalamityMod.ghostKillCount == 20) { - string key = "Mods.CalamityMod.GhostBossText3"; + string key = "Mods.CalamityMod.BossMessages.GhostBossText3"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -2009,14 +2009,14 @@ namespace CalamityMod.NPCs CalamityMod.sharkKillCount++; if (CalamityMod.sharkKillCount == 4) { - string key = "Mods.CalamityMod.SandSharkText"; + string key = "Mods.CalamityMod.BossMessages.SandSharkText"; Color messageColor = Color.Goldenrod; CalamityUtils.DisplayLocalizedText(key, messageColor); } else if (CalamityMod.sharkKillCount == 8) { - string key = "Mods.CalamityMod.SandSharkText2"; + string key = "Mods.CalamityMod.BossMessages.SandSharkText2"; Color messageColor = Color.Goldenrod; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index 22a93c7b04..d6e6e20f59 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -927,7 +927,7 @@ namespace CalamityMod.NPCs.Cryogen if (Main.rand.NextBool(chance)) { - string key = CalamityWorld.getFixedBoi ? "Mods.CalamityMod.PyrogenBossText" : "Mods.CalamityMod.CryogenBossText"; + string key = CalamityWorld.getFixedBoi ? "Mods.CalamityMod.BossMessages.PyrogenBossText" : "Mods.CalamityMod.BossMessages.CryogenBossText"; Color messageColor = CalamityWorld.getFixedBoi ? Color.Orange : Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); } @@ -1331,7 +1331,7 @@ namespace CalamityMod.NPCs.Cryogen // If Cryogen has not been killed, notify players about Cryonic Ore if (!DownedBossSystem.downedCryogen) { - string key = "Mods.CalamityMod.IceOreText"; + string key = "Mods.CalamityMod.ProgressionMessages.IceOreText"; Color messageColor = Color.LightSkyBlue; CalamityUtils.SpawnOre(ModContent.TileType(), 15E-05, 0.45f, 0.7f, 3, 8, TileID.SnowBlock, TileID.IceBlock, TileID.CorruptIce, TileID.FleshIce, TileID.HallowedIce, ModContent.TileType(), ModContent.TileType()); diff --git a/NPCs/DesertScourge/DesertScourgeHead.cs b/NPCs/DesertScourge/DesertScourgeHead.cs index 1c74c2a385..0a0e23d4e2 100644 --- a/NPCs/DesertScourge/DesertScourgeHead.cs +++ b/NPCs/DesertScourge/DesertScourgeHead.cs @@ -679,9 +679,9 @@ namespace CalamityMod.NPCs.DesertScourge // If Desert Scourge has not been killed yet, notify players that the Sunken Sea is open and Sandstorms can happen if (!DownedBossSystem.downedDesertScourge) { - string key = "Mods.CalamityMod.OpenSunkenSea"; + string key = "Mods.CalamityMod.ProgressionMessages.OpenSunkenSea"; Color messageColor = Color.Aquamarine; - string key2 = "Mods.CalamityMod.SandstormTrigger"; + string key2 = "Mods.CalamityMod.ProgressionMessages.SandstormTrigger"; Color messageColor2 = Color.PaleGoldenrod; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index ed7bea9447..5dc2a73b9a 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -550,7 +550,7 @@ namespace CalamityMod.NPCs.DevourerofGods // Dialogue the moment the second phase starts if (NPC.localAI[2] == 60f) { - string key = "Mods.CalamityMod.EdgyBossText5"; + string key = "Mods.CalamityMod.BossMessages.EdgyBossText5"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); } @@ -700,7 +700,7 @@ namespace CalamityMod.NPCs.DevourerofGods calamityGlobalNPC.newAI[3] = 0f; // Anger message - string key = "Mods.CalamityMod.EdgyBossText6"; + string key = "Mods.CalamityMod.BossMessages.EdgyBossText6"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -1461,7 +1461,7 @@ namespace CalamityMod.NPCs.DevourerofGods if (revenge) spawnDoGCountdown = 10; - string key = "Mods.CalamityMod.EdgyBossText"; + string key = "Mods.CalamityMod.BossMessages.EdgyBossText"; Color messageColor = Color.Cyan; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -2435,11 +2435,11 @@ namespace CalamityMod.NPCs.DevourerofGods // If DoG has not been killed yet, notify players that the holiday moons are buffed if (!DownedBossSystem.downedDoG) { - string key = "Mods.CalamityMod.DoGBossText"; + string key = "Mods.CalamityMod.ProgressionMessages.DoGBossText"; Color messageColor = Color.Cyan; - string key2 = "Mods.CalamityMod.DoGBossText2"; + string key2 = "Mods.CalamityMod.ProgressionMessages.DoGBossText2"; Color messageColor2 = Color.Orange; - string key3 = "Mods.CalamityMod.DargonBossText"; + string key3 = "Mods.CalamityMod.ProgressionMessages.DargonBossText"; CalamityUtils.DisplayLocalizedText(key, messageColor); CalamityUtils.DisplayLocalizedText(key2, messageColor2); @@ -2635,9 +2635,9 @@ namespace CalamityMod.NPCs.DevourerofGods { string text = Utils.SelectRandom(Main.rand, new string[] { - "Mods.CalamityMod.EdgyBossText2", - "Mods.CalamityMod.EdgyBossText3", - "Mods.CalamityMod.EdgyBossText4" + "Mods.CalamityMod.BossMessages.EdgyBossText2", + "Mods.CalamityMod.BossMessages.EdgyBossText3", + "Mods.CalamityMod.BossMessages.EdgyBossText4" }); Color messageColor = Color.Cyan; Rectangle location = new Rectangle((int)NPC.position.X, (int)NPC.position.Y, NPC.width, NPC.height); diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 26cdcf5840..5d88a15b6c 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -832,7 +832,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares // Draedon comments on how foolish it is to run if (Main.netMode != NetmodeID.MultiplayerClient) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonAresEnrageText", Draedon.TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonAresEnrageText", Draedon.TextColor); // Enrage EnragedState = (float)Enraged.Yes; diff --git a/NPCs/ExoMechs/Draedon.cs b/NPCs/ExoMechs/Draedon.cs index 1321299512..94365cf016 100644 --- a/NPCs/ExoMechs/Draedon.cs +++ b/NPCs/ExoMechs/Draedon.cs @@ -241,7 +241,7 @@ namespace CalamityMod.NPCs.ExoMechs NPC.Opacity = MathHelper.Clamp(NPC.Opacity + 0.05f, 0f, 1f); KillReappearTextCountdown--; if (KillReappearTextCountdown == 20) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndKillAttemptText", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndKillAttemptText", TextColor); return; } @@ -269,25 +269,25 @@ namespace CalamityMod.NPCs.ExoMechs { if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonIntroductionText1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonIntroductionText1", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonIntroductionText2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonIntroductionText2", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay + DelayPerDialogLine * 2f) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonIntroductionText3", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonIntroductionText3", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay + DelayPerDialogLine * 3f) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonIntroductionText4", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonIntroductionText4", TextColor); NPC.netUpdate = true; } @@ -295,11 +295,11 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay + DelayPerDialogLine * 4f) { if (bossRush) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonBossRushText", TextColorEdgy); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonBossRushText", TextColorEdgy); else if (CalamityWorld.TalkedToDraedon) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonResummonText", TextColorEdgy); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonResummonText", TextColorEdgy); else - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonIntroductionText5", TextColorEdgy); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonIntroductionText5", TextColorEdgy); // Mark Draedon as talked to. if (!CalamityWorld.TalkedToDraedon) @@ -339,7 +339,7 @@ namespace CalamityMod.NPCs.ExoMechs { if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == TalkDelay) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonMechdusaBeginText", TextColorEdgy); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonMechdusaBeginText", TextColorEdgy); NPC.netUpdate = true; } @@ -393,13 +393,13 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase1Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase1Text1", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase1Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase1Text2", TextColor); NPC.netUpdate = true; } @@ -412,14 +412,14 @@ namespace CalamityMod.NPCs.ExoMechs SoundEngine.PlaySound(LaughSound, PlayerToFollow.Center); if (Main.netMode != NetmodeID.MultiplayerClient) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase2Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase2Text1", TextColor); NPC.netUpdate = true; } } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase2Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase2Text2", TextColor); NPC.netUpdate = true; } @@ -429,7 +429,7 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase3Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase3Text1", TextColor); NPC.netUpdate = true; } @@ -438,7 +438,7 @@ namespace CalamityMod.NPCs.ExoMechs SoundEngine.PlaySound(LaughSound, PlayerToFollow.Center); if (Main.netMode != NetmodeID.MultiplayerClient) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase3Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase3Text2", TextColor); NPC.netUpdate = true; } } @@ -449,13 +449,13 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase4Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase4Text1", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase4Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase4Text2", TextColor); NPC.netUpdate = true; } @@ -465,13 +465,13 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase5Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase5Text1", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase5Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase5Text2", TextColor); NPC.netUpdate = true; } @@ -481,13 +481,13 @@ namespace CalamityMod.NPCs.ExoMechs if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase6Text1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase6Text1", TextColor); NPC.netUpdate = true; } if (Main.netMode != NetmodeID.MultiplayerClient && TalkTimer == ExoMechPhaseDialogueTime + DelayPerDialogLine) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase6Text2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase6Text2", TextColor); NPC.netUpdate = true; } @@ -496,7 +496,7 @@ namespace CalamityMod.NPCs.ExoMechs SoundEngine.PlaySound(LaughSound, PlayerToFollow.Center); if (Main.netMode != NetmodeID.MultiplayerClient) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonExoPhase6Text3", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonExoPhase6Text3", TextColor); NPC.netUpdate = true; } } @@ -681,43 +681,43 @@ namespace CalamityMod.NPCs.ExoMechs if (exoMechdusa) { if (DefeatTimer == DelayBeforeDefeatStandup + 50f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonMechdusaEndText1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonMechdusaEndText1", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay + 50f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonMechdusaEndText2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonMechdusaEndText2", TextColor); } // Otherwise do normal text else { if (DefeatTimer == DelayBeforeDefeatStandup + 50f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText1", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText1", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay + 50f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText2", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText2", TextColor); // After this point Draedon becomes vulnerable. // He sits back down as well as he thinks for a bit. // Killing him will cause gore to appear but also for Draedon to come back as a hologram. if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 2f + 50f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText3", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText3", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 3f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText4", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText4", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 4f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText5", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText5", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 5f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText6", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText6", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 6f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText7", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText7", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 7f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText8", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText8", TextColor); if (DefeatTimer == DelayBeforeDefeatStandup + TalkDelay * 8f + 165f) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DraedonEndText9", TextColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DraedonEndText9", TextColor); } } diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index 2655761b70..caa271fa1b 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -1127,7 +1127,7 @@ namespace CalamityMod.NPCs.HiveMind // If neither The Hive Mind nor The Perforator Hive have been killed yet, notify players of Aerialite Ore if (!DownedBossSystem.downedHiveMind && !DownedBossSystem.downedPerforator) { - string key = "Mods.CalamityMod.SkyOreText"; + string key = "Mods.CalamityMod.ProgressionMessages.SkyOreText"; Color messageColor = Color.Cyan; AerialiteOreGen.Generate(true); diff --git a/NPCs/Perforator/PerforatorHive.cs b/NPCs/Perforator/PerforatorHive.cs index 35da027312..77c4c878ce 100644 --- a/NPCs/Perforator/PerforatorHive.cs +++ b/NPCs/Perforator/PerforatorHive.cs @@ -522,7 +522,7 @@ namespace CalamityMod.NPCs.Perforator // If neither The Hive Mind nor The Perforator Hive have been killed yet, notify players of Aerialite Ore if (!DownedBossSystem.downedHiveMind && !DownedBossSystem.downedPerforator) { - string key = "Mods.CalamityMod.SkyOreText"; + string key = "Mods.CalamityMod.ProgressionMessages.SkyOreText"; Color messageColor = Color.Cyan; AerialiteOreGen.Generate(true); diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index 8923e5a591..bfca546738 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -187,7 +187,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath // Show message if (!halfLife && phase3 && expertMode) { - string key = "Mods.CalamityMod.PlagueBossText"; + string key = "Mods.CalamityMod.BossMessages.PlagueBossText"; Color messageColor = Color.Lime; CalamityUtils.DisplayLocalizedText(key, messageColor); SoundEngine.PlaySound(NukeWarningSound, NPC.Center); diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index 8b71131dbb..df3b5b2a54 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -1094,14 +1094,14 @@ namespace CalamityMod.NPCs.Polterghast if (!Main.player[Main.myPlayer].dead && Main.player[Main.myPlayer].active) SoundEngine.PlaySound(ReaperShark.SearchRoarSound, Main.player[Main.myPlayer].Center); - string key = "Mods.CalamityMod.GhostBossText"; + string key = "Mods.CalamityMod.ProgressionMessages.GhostBossText"; Color messageColor = Color.RoyalBlue; - string sulfSeaBoostMessage = "Mods.CalamityMod.GhostBossText4"; + string sulfSeaBoostMessage = "Mods.CalamityMod.ProgressionMessages.GhostBossText4"; Color sulfSeaBoostColor = AcidRainEvent.TextColor; if ((Main.rand.NextBool(20) && DateTime.Now.Month == 4 && DateTime.Now.Day == 1) || CalamityWorld.getFixedBoi) { - sulfSeaBoostMessage = "Mods.CalamityMod.AprilFools2"; // Goddamn boomer duke moments + sulfSeaBoostMessage = "Mods.CalamityMod.ProgressionMessages.AprilFools2"; // Goddamn boomer duke moments } CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index c7ab65f04a..1b16a29b1a 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1285,7 +1285,7 @@ namespace CalamityMod.NPCs.Providence if (NPC.ai[3] >= (phaseTime * 1.5f) && !text) { text = true; - string key = "Mods.CalamityMod.ProfanedBossText"; + string key = "Mods.CalamityMod.BossMessages.ProfanedBossText"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -1850,9 +1850,9 @@ namespace CalamityMod.NPCs.Providence // If Providence has not been killed, notify players of Uelibloom Ore if (!DownedBossSystem.downedProvidence) { - string key2 = "Mods.CalamityMod.ProfanedBossText3"; + string key2 = "Mods.CalamityMod.ProgressionMessages.ProfanedBossText3"; Color messageColor2 = Color.Orange; - string key3 = "Mods.CalamityMod.TreeOreText"; + string key3 = "Mods.CalamityMod.ProgressionMessages.TreeOreText"; Color messageColor3 = Color.LightGreen; CalamityUtils.SpawnOre(ModContent.TileType(), 17E-05, 0.55f, 0.9f, 8, 14, TileID.Mud); @@ -1865,7 +1865,7 @@ namespace CalamityMod.NPCs.Providence { if (Main.netMode == NetmodeID.SinglePlayer) { - Main.NewText(Language.GetTextValue("Mods.CalamityMod.ProfanedBossText4"), Color.DarkOrange); + Main.NewText(Language.GetTextValue("Mods.CalamityMod.ProgressionMessages.ProfanedBossText4"), Color.DarkOrange); } } diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index d7073c1e8e..8a2167033f 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -249,7 +249,7 @@ namespace CalamityMod.NPCs.SlimeGod // Let the player know that the Slime God isn't dead fr if (!DownedBossSystem.downedSlimeGod) { - string key = "Mods.CalamityMod.SlimeGodRun"; + string key = "Mods.CalamityMod.BossMessages.SlimeGodRun"; Color messageColor = Color.Magenta; CalamityUtils.DisplayLocalizedText(key, messageColor); diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 083131c06d..1498ec994b 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -441,7 +441,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalSummonText"; + string key = "Mods.CalamityMod.BossMessages.SCalSummonText"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -842,7 +842,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalBH2Text"; + string key = "Mods.CalamityMod.BossMessages.SCalBH2Text"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -903,7 +903,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalBH3Text"; + string key = "Mods.CalamityMod.BossMessages.SCalBH3Text"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -973,7 +973,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalBH4Text"; + string key = "Mods.CalamityMod.BossMessages.SCalBH4Text"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1042,7 +1042,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas } if (!startFifthAttack && lifeRatio <= 0.1f) { - string key = "Mods.CalamityMod.SCalBH5Text"; + string key = "Mods.CalamityMod.BossMessages.SCalBH5Text"; if (!bossRush) { @@ -1095,11 +1095,11 @@ namespace CalamityMod.NPCs.SupremeCalamitas } } else if (giveUpCounter == 900 && !bossRush) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.SCalAcceptanceText1", textColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.SCalAcceptanceText1", textColor); else if(giveUpCounter == 600 && !bossRush) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.SCalAcceptanceText2", textColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.SCalAcceptanceText2", textColor); else if(giveUpCounter == 300 && !bossRush) - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.SCalAcceptanceText3", textColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.SCalAcceptanceText3", textColor); if (giveUpCounter <= 0) { if (bossRush) @@ -1143,7 +1143,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas if (!bossRush) { - string key = "Mods.CalamityMod.SCalDesparationText4"; + string key = "Mods.CalamityMod.BossMessages.SCalDesparationText4"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1155,7 +1155,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalDesparationText3"; + string key = "Mods.CalamityMod.BossMessages.SCalDesparationText3"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1167,7 +1167,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalDesparationText2"; + string key = "Mods.CalamityMod.BossMessages.SCalDesparationText2"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1179,7 +1179,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalDesparationText1"; + string key = "Mods.CalamityMod.BossMessages.SCalDesparationText1"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1248,7 +1248,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalPhase2Text"; + string key = "Mods.CalamityMod.BossMessages.SCalPhase2Text"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -1262,7 +1262,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!bossRush) { - string key = "Mods.CalamityMod.SCalSeekerRingText"; + string key = "Mods.CalamityMod.BossMessages.SCalSeekerRingText"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); @@ -2363,9 +2363,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas if (attackCastDelay == 0) { - string key = "Mods.CalamityMod.SCalStartText"; + string key = "Mods.CalamityMod.BossMessages.SCalStartText"; if (NPC.life <= NPC.lifeMax * 0.08) - key = "Mods.CalamityMod.SCalSepulcher2Text"; + key = "Mods.CalamityMod.BossMessages.SCalSepulcher2Text"; if (!BossRushEvent.BossRushActive) { @@ -2489,7 +2489,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas { if (!BossRushEvent.BossRushActive) { - string key = "Mods.CalamityMod.SCalBrothersText"; + string key = "Mods.CalamityMod.BossMessages.SCalBrothersText"; if (DownedBossSystem.downedCalamitas) key += "Rematch"; CalamityUtils.DisplayLocalizedText(key, textColor); diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index c60cf4345a..3c86299e96 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -1566,7 +1566,7 @@ namespace CalamityMod.NPCs.Yharon { moveCloser = true; - string key = "Mods.CalamityMod.FlameText"; + string key = "Mods.CalamityMod.BossMessages.FlameText"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); @@ -2912,7 +2912,7 @@ namespace CalamityMod.NPCs.Yharon { CalamityUtils.SpawnOre(ModContent.TileType(), 2E-05, 0.75f, 0.9f, 10, 20); - string key = "Mods.CalamityMod.AuricOreText"; + string key = "Mods.CalamityMod.ProgressionMessages.AuricOreText"; Color messageColor = Color.Gold; CalamityUtils.DisplayLocalizedText(key, messageColor); } diff --git a/Projectiles/Typeless/BossRushEffectThing.cs b/Projectiles/Typeless/BossRushEffectThing.cs index d1ad4acc4d..7203dc3f1c 100644 --- a/Projectiles/Typeless/BossRushEffectThing.cs +++ b/Projectiles/Typeless/BossRushEffectThing.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Projectiles.Typeless BossRushEvent.BossRushStage = 0; BossRushEvent.BossRushActive = true; - string key = "Mods.CalamityMod.BossRushStartText"; // "Hmm? Ah, another contender. Very well, may the ritual commence!" + string key = "Mods.CalamityMod.Events.BossRushStartText"; // "Hmm? Ah, another contender. Very well, may the ritual commence!" CalamityUtils.DisplayLocalizedText(key, BossRushEvent.XerocTextColor); CalamityNetcode.SyncWorld(); diff --git a/Projectiles/Typeless/BossRushEndEffectThing.cs b/Projectiles/Typeless/BossRushEndEffectThing.cs index 127184f3c2..be8766c87e 100644 --- a/Projectiles/Typeless/BossRushEndEffectThing.cs +++ b/Projectiles/Typeless/BossRushEndEffectThing.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles.Typeless NetMessage.SendData(MessageID.InstancedItem, i, -1, null, rock); } } - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossRushTierFiveEndText", BossRushEvent.XerocTextColor); // "Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will come apparent in time..." + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Events.BossRushTierFiveEndText", BossRushEvent.XerocTextColor); // "Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will come apparent in time..." } } } diff --git a/Systems/DifficultyModeSystem.cs b/Systems/DifficultyModeSystem.cs index a6287835c3..9894c046bb 100644 --- a/Systems/DifficultyModeSystem.cs +++ b/Systems/DifficultyModeSystem.cs @@ -226,8 +226,8 @@ namespace CalamityMod.Systems Name = "Revengeance"; ShortDescription = "[c/F54254:The intended Calamity experience!]"; - ActivationTextKey = "Mods.CalamityMod.RevengeText"; - DeactivationTextKey = "Mods.CalamityMod.RevengeText2"; + ActivationTextKey = "Mods.CalamityMod.UI.RevengeText"; + DeactivationTextKey = "Mods.CalamityMod.UI.RevengeText2"; ActivationSound = SoundID.Item119; @@ -266,8 +266,8 @@ namespace CalamityMod.Systems Name = "Death"; ShortDescription = "[c/C82DF7:A tougher challenge for the more experienced, or for those that want a step up from Revengeance Mode]"; - ActivationTextKey = "Mods.CalamityMod.DeathText"; - DeactivationTextKey = "Mods.CalamityMod.DeathText2"; + ActivationTextKey = "Mods.CalamityMod.UI.DeathText"; + DeactivationTextKey = "Mods.CalamityMod.UI.DeathText2"; ActivationSound = DemonshadeHelm.ActivationSound; diff --git a/Systems/WorldMiscUpdateSystem.cs b/Systems/WorldMiscUpdateSystem.cs index 3fe95c8def..309f25ecb2 100644 --- a/Systems/WorldMiscUpdateSystem.cs +++ b/Systems/WorldMiscUpdateSystem.cs @@ -87,7 +87,7 @@ namespace CalamityMod.Systems // Very, very, very rarely display a Lorde joke text if the system clock is set to April Fools Day. if (Main.rand.NextBool(100000000) && DateTime.Now.Month == 4 && DateTime.Now.Day == 1) { - string key = CalamityWorld.getFixedBoi ? "Mods.CalamityMod.AprilFoolsGFB" : "Mods.CalamityMod.AprilFools"; + string key = CalamityWorld.getFixedBoi ? "Mods.CalamityMod.BossMessages.AprilFoolsGFB" : "Mods.CalamityMod.BossMessages.AprilFools"; Color messageColor = Color.Crimson; CalamityUtils.DisplayLocalizedText(key, messageColor); } diff --git a/Tiles/Astral/AstralBeacon.cs b/Tiles/Astral/AstralBeacon.cs index 7d0bc14d7f..6d3eef824d 100644 --- a/Tiles/Astral/AstralBeacon.cs +++ b/Tiles/Astral/AstralBeacon.cs @@ -71,7 +71,7 @@ namespace CalamityMod.Tiles.Astral if (Main.dayTime) { - CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.DeusAltarRejectNightText", FailColor); + CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.BossMessages.DeusAltarRejectNightText", FailColor); return false; } diff --git a/UI/DefenseDamageDisplayUI.cs b/UI/DefenseDamageDisplayUI.cs index c85dc3898e..ac1a1763e4 100644 --- a/UI/DefenseDamageDisplayUI.cs +++ b/UI/DefenseDamageDisplayUI.cs @@ -39,7 +39,7 @@ namespace CalamityMod.UI if (hoveringOverIcon) { Main.hoverItemName = $"{Main.LocalPlayer.statDefense} {Language.GetTextValue("LegacyInterface.10")}" + - $"\n{defenseDamage} {Language.GetTextValue("Mods.CalamityMod.DefenseDamage")}"; + $"\n{defenseDamage} {Language.GetTextValue("Mods.CalamityMod.UI.DefenseDamage")}"; } } } diff --git a/UI/ModeIndicator/ModeIndicatorUI.cs b/UI/ModeIndicator/ModeIndicatorUI.cs index 0b2a77959f..c0d8b6fd66 100644 --- a/UI/ModeIndicator/ModeIndicatorUI.cs +++ b/UI/ModeIndicator/ModeIndicatorUI.cs @@ -239,7 +239,7 @@ namespace CalamityMod.UI.ModeIndicator else if (CalamityPlayer.areThereAnyDamnBosses || BossRushEvent.BossRushActive) { locked = true; - text = "[c/919191:"+ Language.GetTextValue("Mods.CalamityMod.ChangingTheRules") + "]"; + text = "[c/919191:"+ Language.GetTextValue("Mods.CalamityMod.UI.ChangingTheRules") + "]"; } //Shakes the lock if it automatically changed, because a boss was summoned diff --git a/World/AstralBiome.cs b/World/AstralBiome.cs index 5e57e3b6c5..db9e725a51 100644 --- a/World/AstralBiome.cs +++ b/World/AstralBiome.cs @@ -194,7 +194,7 @@ namespace CalamityMod.World // If the meteor actually dropped, post the message stating as such. if (meteorDropped) { - string key = "Mods.CalamityMod.AstralText"; + string key = "Mods.CalamityMod.ProgressionMessages.AstralText"; Color messageColor = Color.Gold; CalamityUtils.DisplayLocalizedText(key, messageColor);