Localization key changes
This commit is contained in:
1 parent
4c24f6ddbf
commit
88dc58dfbb
50 files changed
+200
-453
No files matched your search
@@ -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();
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace CalamityMod.CustomRecipes
|
||||
public static NetworkText ConstructRecipeCondition(int tier, out Predicate<Recipe> 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)
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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!
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -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);
|
||||
|
||||
@@ -295,7 +295,7 @@ namespace CalamityMod.Events
|
||||
|
||||
new Boss(ModContent.NPCType<ProfanedGuardianCommander>(), 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<ProfanedGuardianDefender>(), ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.NPCType<ProfanedRocks>() }),
|
||||
|
||||
@@ -372,7 +372,7 @@ namespace CalamityMod.Events
|
||||
|
||||
new Boss(ModContent.NPCType<Yharon>(), 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<DevourerofGodsHead>()] = 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<SupremeCalamitas>()] = npc =>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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!
|
||||
|
||||
@@ -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...
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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: {
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
@@ -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...
|
||||
|
||||
@@ -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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ namespace CalamityMod.NPCs.CalClone
|
||||
CalamityGlobalNPC.SetNewShopVariable(new int[] { ModContent.NPCType<THIEF>() }, 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)
|
||||
|
||||
+2
-2
@@ -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<Catastrophe>(), npc.whoAmI);
|
||||
}
|
||||
|
||||
string key = "Mods.CalamityMod.CalamitasBossText2";
|
||||
string key = "Mods.CalamityMod.BossMessages.CalamitasBossText2";
|
||||
Color messageColor = Color.Orange;
|
||||
CalamityUtils.DisplayLocalizedText(key, messageColor);
|
||||
|
||||
|
||||
@@ -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<THIEF>() }, 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<HallowedOre>(), 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);
|
||||
|
||||
@@ -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<CryonicOre>(), 15E-05, 0.45f, 0.7f, 3, 8, TileID.SnowBlock, TileID.IceBlock, TileID.CorruptIce, TileID.FleshIce, TileID.HallowedIce, ModContent.TileType<AstralSnow>(), ModContent.TileType<AstralIce>());
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
+33
-33
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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<UelibloomOre>(), 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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<AuricOre>(), 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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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..."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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")}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user