Made some texts can be localized now
This commit is contained in:
1 parent
3363e65b0e
commit
0bf9d13567
6 files changed
+9
-4
No files matched your search
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
player.itemAnimation = 200;
|
||||
player.Calamity().GeneralScreenShakePower = 26f;
|
||||
player.AddBuff(BuffID.Obstructed, 600);
|
||||
Main.NewText("Too much love...", 255, 0, 0);
|
||||
Main.NewText(CalamityUtils.GetTextValue("Misc.Polaris0"), 255, 0, 0);
|
||||
SoundEngine.PlaySound(Squeak with { Pitch = -1f }, player.Center);
|
||||
SoundStyle roar = new("CalamityMod/Sounds/Custom/CeaselessVoidDeathBuild");
|
||||
SoundEngine.PlaySound(roar with { Pitch = 0.5f }, player.Center);
|
||||
|
||||
@@ -69,6 +69,7 @@ EtherealCoreText: You have already used an Ethereal Core. Your brain would escap
|
||||
PhantomHeartText: You have already used a Phantom Heart. The voices are telling you it's a bad idea to use it again.
|
||||
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.
|
||||
Polaris0: Too much love...
|
||||
Polaris1: You give Polaris belly rubs
|
||||
Polaris2: You give Polaris a small treat
|
||||
Polaris3: You tell Polaris she's a good girl
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
SmallWorldWarning: "[c/FF0000:SMALL WORLDS NOT SUPPORTED BY CALAMITY]"
|
||||
// Main Menu Name
|
||||
MainMenu: Calamity Style
|
||||
MainMenuClassic: Calamity Style - Classic
|
||||
// Main UI Elements
|
||||
Adrenaline: Adrenaline
|
||||
Nanomachines: Nanomachines
|
||||
@@ -604,6 +607,7 @@ GleamingBurrows: Burying pearls and catching caustics
|
||||
BasaltGully: Provoking volcanic activity below the sea
|
||||
GemAdjustment: Sensibly shuffling gem depth
|
||||
DungeonArchive: Entombing occult literature
|
||||
Planetoids: Enriching low Terraria orbit
|
||||
SulphurSea: Polluting one of the oceans
|
||||
BrimstoneCrags: Incinerating Azafure
|
||||
HiddenShrines: Hiding forbidden shrines
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.MainMenu
|
||||
} = new();
|
||||
|
||||
public float remixLogoRotation = 0f;
|
||||
public override string DisplayName => "Calamity Style";
|
||||
public override string DisplayName => CalamityUtils.GetTextValue("UI.MainMenu");
|
||||
|
||||
public override Asset<Texture2D> Logo => ModContent.Request<Texture2D>("CalamityMod/MainMenu/Logo");
|
||||
public override Asset<Texture2D> SunTexture => ModContent.Request<Texture2D>("CalamityMod/Backgrounds/BlankPixel");
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.MainMenu
|
||||
} = new();
|
||||
|
||||
public float remixLogoRotation = 0f;
|
||||
public override string DisplayName => "Calamity Style - Classic";
|
||||
public override string DisplayName => CalamityUtils.GetTextValue("UI.MainMenuClassic");
|
||||
|
||||
public override Asset<Texture2D> Logo => ModContent.Request<Texture2D>("CalamityMod/MainMenu/Logo");
|
||||
public override Asset<Texture2D> SunTexture => ModContent.Request<Texture2D>("CalamityMod/Backgrounds/BlankPixel");
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.World.Planets
|
||||
|
||||
public static void GenerateAllBasePlanetoids(GenerationProgress progress, GameConfiguration config)
|
||||
{
|
||||
progress.Message = "Enriching low Terraria orbit";
|
||||
progress.Message = CalamityUtils.GetTextValue("UI.Planetoids");
|
||||
var config2 = WorldGenConfiguration.FromEmbeddedPath("Terraria.GameContent.WorldBuilding.Configuration.json");
|
||||
|
||||
int GrassPlanetoidCount = Main.maxTilesX / 750;
|
||||
|
||||
Reference in new issue
Block a user