From 149abe062fa97d964f657aef279a968f30355e9c Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Mon, 27 Feb 2023 16:26:57 -0800 Subject: [PATCH] Gorecodile --- CalPlayer/CalamityPlayerFishing.cs | 2 +- Items/Fishing/{Xerocodile.cs => Gorecodile.cs} | 5 +++-- Items/Fishing/{Xerocodile.png => Gorecodile.png} | Bin 3 files changed, 4 insertions(+), 3 deletions(-) rename Items/Fishing/{Xerocodile.cs => Gorecodile.cs} (89%) rename Items/Fishing/{Xerocodile.png => Gorecodile.png} (100%) diff --git a/CalPlayer/CalamityPlayerFishing.cs b/CalPlayer/CalamityPlayerFishing.cs index 8a43c7d388..13a5f1c05a 100644 --- a/CalPlayer/CalamityPlayerFishing.cs +++ b/CalPlayer/CalamityPlayerFishing.cs @@ -446,7 +446,7 @@ namespace CalamityMod.CalPlayer { if (attempt.uncommon && Main.rand.NextBool(7)) { - itemDrop = ModContent.ItemType(); + itemDrop = ModContent.ItemType(); } } diff --git a/Items/Fishing/Xerocodile.cs b/Items/Fishing/Gorecodile.cs similarity index 89% rename from Items/Fishing/Xerocodile.cs rename to Items/Fishing/Gorecodile.cs index 19c62f83bb..48beda6687 100644 --- a/Items/Fishing/Xerocodile.cs +++ b/Items/Fishing/Gorecodile.cs @@ -5,11 +5,12 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Fishing { - public class Xerocodile : ModItem + [LegacyName("Xerocodile")] + public class Gorecodile : ModItem { public override void SetStaticDefaults() { - DisplayName.SetDefault("Xerocodile"); + DisplayName.SetDefault("Gorecodile"); Tooltip.SetDefault("Right click to extract blood orbs"); SacrificeTotal = 10; ItemID.Sets.CanBePlacedOnWeaponRacks[Item.type] = true; diff --git a/Items/Fishing/Xerocodile.png b/Items/Fishing/Gorecodile.png similarity index 100% rename from Items/Fishing/Xerocodile.png rename to Items/Fishing/Gorecodile.png