From ed21e7483c9111e2957bfbf04b55930d731ae1d4 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Sat, 12 Oct 2024 22:30:13 -0700 Subject: [PATCH 1/2] well, renewable auric ore --- Items/Placeables/Ores/AuricOre.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Items/Placeables/Ores/AuricOre.cs b/Items/Placeables/Ores/AuricOre.cs index ec5877fe0f..e4d55a7f3f 100644 --- a/Items/Placeables/Ores/AuricOre.cs +++ b/Items/Placeables/Ores/AuricOre.cs @@ -1,4 +1,5 @@ -using CalamityMod.Rarities; +using CalamityMod.Items.Materials; +using CalamityMod.Rarities; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -20,5 +21,13 @@ namespace CalamityMod.Items.Placeables.Ores Item.value = Item.sellPrice(silver: 50); Item.rare = ModContent.RarityType(); } + + public override void AddRecipes() + { + CreateRecipe(30). + AddIngredient(). + AddCondition(Condition.NearShimmer). + Register(); + } } } From bbb888db589190b21cdc0acf4de34910ba8fb1b0 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sun, 13 Oct 2024 02:19:36 -0400 Subject: [PATCH 2/2] Increase Base Movement Speed config now multiplies max run speed by 1.5x instead of giving 50% movement speed --- Balancing/BalancingConstants.cs | 4 ++-- CalPlayer/CalamityPlayerMiscEffects.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Balancing/BalancingConstants.cs b/Balancing/BalancingConstants.cs index 4b931a4b1f..0bc145c879 100644 --- a/Balancing/BalancingConstants.cs +++ b/Balancing/BalancingConstants.cs @@ -3,8 +3,8 @@ public static class BalancingConstants { #region Movement - // When the relevant config is enabled: Gives the player a substantial +50% move speed boost at all times - internal static readonly float DefaultMoveSpeedBoost = 0.5f; + // When the relevant config is enabled: Multiplies the player's movement speed by 1.5x at all times + internal static readonly float DefaultMoveSpeedBoost = 1.5f; // When the relevant config is enabled: Increases the player's base jump height by 10% internal static readonly float ConfigBoostedBaseJumpHeight = 5.51f; // vanilla = 5.01f diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index ce4c00e059..2127b4a993 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2942,10 +2942,10 @@ namespace CalamityMod.CalPlayer --bloodflareCoreRemainingHealOverTime; } - // 50% movement speed bonus so that you don't feel like a snail in the early game + // Multiplies base movement speed by 1.5x so that you don't feel like a snail in the early game // Disabled while Overhaul is enabled, because Overhaul does very similar things to make movement more snappy if (ExternalMods.overhaul is null && CalamityServerConfig.Instance.FasterBaseSpeed) - Player.moveSpeed += BalancingConstants.DefaultMoveSpeedBoost; + Player.maxRunSpeed *= BalancingConstants.DefaultMoveSpeedBoost; // Reduce how slow Chilled makes the player, because it's cancerous right now // The moveSpeed multiplier for Chilled in vanilla is 0.75, so we just multiply by 1.166667 here to make it 0.875, effectively cutting the reduction in half