using Decimation.Lib.Items; using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Decimation.Content.Items.Tools.Axes { public class CactusAxe : DecimationTool { protected override string ItemName => "Cactus Axe"; protected override int AxePower => 35; protected override int MeleeDamages => 3; protected override void InitTool() { item.width = 44; item.height = 34; item.knockBack = 4.5f; item.value = Item.sellPrice(copper: 30); item.useTime = 23; item.useAnimation = 32; item.crit = 4; } protected override ModRecipe GetRecipe() { return new RecipeBuilder(this) .WithIngredient(ItemID.Cactus, 15) .Build(); } } }