using Decimation.Lib.Items; using Decimation.Lib.Util; using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Decimation.Content.Items.Tools { internal class MultigrainHammer : DecimationTool { protected override string ItemName => "Multigrain Hamaxe"; protected override string ItemTooltip => "Smells like honeysuckle"; protected override int MeleeDamages => 20; protected override int HammerPower => 67; protected override int AxePower => 13; protected override void InitTool() { item.width = 48; item.height = 48; item.useTime = 20; item.useAnimation = 20; item.knockBack = 5; item.value = Item.sellPrice(silver: 10, copper: 90); item.rare = Rarity.Green.GetRarityValue(); item.crit = 3; item.UseSound = SoundID.Item1; } protected override ModRecipe GetRecipe() { return new RecipeBuilder(this) .WithIngredient(ItemID.CactusPickaxe) .WithIngredient(ItemID.Pumpkin, 10) .WithIngredient(ItemID.Vine, 2) .WithIngredient(ModContent.ItemType()) .WithStation(TileID.Loom) .Build(); } } }