From 67cfaa9b2edf117f85a6436880fcdab3bb7230ca Mon Sep 17 00:00:00 2001 From: Xyk Date: Mon, 7 Aug 2023 13:08:20 -0700 Subject: [PATCH] Crab Claw placeholder sprite v2 + rename to Baroclaw Baroclaw --- CalPlayer/CalamityPlayer.cs | 10 +++++----- CalPlayer/CalamityPlayerMiscEffects.cs | 2 +- .../Accessories/{CrabClaw.cs => Baroclaw.cs} | 6 +++--- .../{CrabClaw.png => Baroclaw.png} | Bin 3236 -> 3278 bytes Items/Accessories/TheAbsorber.cs | 2 +- .../Mods.CalamityMod.Items.Accessories.hjson | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) rename Items/Accessories/{CrabClaw.cs => Baroclaw.cs} (88%) rename Items/Accessories/{CrabClaw.png => Baroclaw.png} (81%) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 6cea730ee5..f2c44cd121 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -276,7 +276,7 @@ namespace CalamityMod.CalPlayer public static readonly SoundStyle IjiDeathSound = new("CalamityMod/Sounds/Custom/IjiDies"); public static readonly SoundStyle DrownSound = new("CalamityMod/Sounds/Custom/AbyssDrown"); public static readonly SoundStyle LeonDeathNoiseRE4_ForGFB = new("CalamityMod/Sounds/Custom/GFB/LeonDeathNoiseRE4"); - public static readonly SoundStyle CrabClawHit = new("CalamityMod/Sounds/NPCKilled/DevourerSegmentBreak2") { Volume = 0.7f }; + public static readonly SoundStyle BaroclawHit = new("CalamityMod/Sounds/NPCKilled/DevourerSegmentBreak2") { Volume = 0.7f }; public static readonly SoundStyle AbsorberHit = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaActivation") { Volume = 0.7f }; #endregion @@ -534,7 +534,7 @@ namespace CalamityMod.CalPlayer public bool spiritOriginVanity = false; public bool darkSunRing = false; public bool crawCarapace = false; - public bool crabClaw = false; + public bool baroclaw = false; public bool HasReducedDashFirstFrame = false; public bool voidOfCalamity = false; public bool voidOfExtinction = false; @@ -1600,7 +1600,7 @@ namespace CalamityMod.CalPlayer fleshKnuckles = false; darkSunRing = false; crawCarapace = false; - crabClaw = false; + baroclaw = false; gShell = false; tortShell = false; voidOfCalamity = false; @@ -4909,10 +4909,10 @@ namespace CalamityMod.CalPlayer SoundEngine.PlaySound(SoundID.NPCHit33 with { Volume = 0.5f }, Player.Center); } - if (crabClaw) + if (baroclaw) { npc.AddBuff(ModContent.BuffType(), 1800); - SoundEngine.PlaySound(CrabClawHit, Player.Center); + SoundEngine.PlaySound(BaroclawHit, Player.Center); Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f; Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY); for (int i = 0; i < 9; i++) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index ac5494f07c..cb88248316 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2520,7 +2520,7 @@ namespace CalamityMod.CalPlayer if (crawCarapace) Player.GetDamage() += 0.05f; - if (crabClaw) + if (baroclaw) Player.GetDamage() += 0.08f; if (gShell) diff --git a/Items/Accessories/CrabClaw.cs b/Items/Accessories/Baroclaw.cs similarity index 88% rename from Items/Accessories/CrabClaw.cs rename to Items/Accessories/Baroclaw.cs index 9ccf7d2baf..365da37aa4 100644 --- a/Items/Accessories/CrabClaw.cs +++ b/Items/Accessories/Baroclaw.cs @@ -6,13 +6,13 @@ using CalamityMod.Items.Materials; namespace CalamityMod.Items.Accessories { - public class CrabClaw : ModItem, ILocalizedModType + public class Baroclaw : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; public override void SetDefaults() { Item.width = 30; - Item.height = 28; + Item.height = 44; Item.value = CalamityGlobalItem.Rarity7BuyPrice; Item.rare = ItemRarityID.Lime; Item.accessory = true; @@ -21,7 +21,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.crabClaw = true; + modPlayer.baroclaw = true; player.thorns += 1.1f; } public override void AddRecipes() diff --git a/Items/Accessories/CrabClaw.png b/Items/Accessories/Baroclaw.png similarity index 81% rename from Items/Accessories/CrabClaw.png rename to Items/Accessories/Baroclaw.png index d74f81963cb74e4d96da5ef42c40f27a5d6f85bc..79f8c3c76d6a8b1dd1ebf588af8713dc5295dc6c 100644 GIT binary patch delta 520 zcmV+j0{8u-8O|Ay7YZy01^@s6a)Jm1u_3++f7(ezK~z|U)t5_48&Lp-zlhcnB0`C& zd5~&FD8_c-!i6G=EBy`P?{pzZS1!f2C0LNE50DK=?{ilJy z-r73@_a_TRsT7@LM?Nx=2B28<-ee$pup*UIo&#@#m*aNiQl|!@2ipsWJ|J~F^60=? zK(sjsAf26V0m0MjwFaUG2W=Ae(%5d~e_>0iJK*7g0sup)DI>DGM$L%ot zMJL(O&(3@{#>2|y4!GTtDf*?k72vsKHdxx*_l)=51BaC?s9g5+l6Ehf3y`;0b_{GA zu(!(~$$$V-F7?T{-(25t6dZJvsVDxleBK5~`D6lsQtjGtuwAkbU;8=&+1lJKay1S7 z+IAFd8|clB0x&%>`YK?xRtMm|a_Bf%B}4tR^h1AroCDhiBz@Rc+eeuH4SoWAowkYpBe#SA0000< KMNUMnLSTZ+@$dZr delta 478 zcmV<40U`d*8KfDI7YZH-1^@s6J20-Iu_3++f3QhJK~zYI)s;ajL{S)qpOGTnYa(IH zAWDgplA@oz=E2Mcgvu0jJXE{y{aZu$hkZn0cHfOp`5n57`!D5hrLDMi3;f4|el&Q;iF;7Hey0XH&j1J_AE0M}I zlG}$TAYXLegXK7x#bP!DGnvYy_F>6=Dy<2eoF}yTz_a5Mu%ys25fK5JDJ0NTNEh@u zxR`*n#;)pa0M0XU*Y^b^5#YC8?HjNuV8#@>csq6lN&b8vdj|fiP$7_+{|7ELUur_d UECU{##{d8T07*qoM6N<$f*$zRf&c&j diff --git a/Items/Accessories/TheAbsorber.cs b/Items/Accessories/TheAbsorber.cs index 2b62fc1185..dc8af18d29 100644 --- a/Items/Accessories/TheAbsorber.cs +++ b/Items/Accessories/TheAbsorber.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(5). AddTile(TileID.LunarCraftingStation). diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index d0b5017134..497f687810 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -425,8 +425,8 @@ CrawCarapace: { ''' } -CrabClaw: { - DisplayName: Crab Claw +Baroclaw: { + DisplayName: Baroclaw Tooltip: ''' 8% increased damage