using System.Collections.Generic; using Decimation.Content.Items.Misc.Souls; 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 GildedSickle : DecimationTool { protected override string ItemName => "The Gilded Sickle"; protected override string ItemTooltip => "Allows the collection of hay from grass"; protected override int MeleeDamages => 10; protected override void InitTool() { item.CloneDefaults(ItemID.Sickle); item.width = 44; item.height = 44; item.value = Item.sellPrice(gold: 1); item.knockBack = 5; item.useTime = 14; item.useAnimation = 14; item.rare = Rarity.LightRed.GetRarityValue(); } protected override List GetRecipes() => new List { new RecipeBuilder(this) .WithIngredient(ItemID.Sickle) .WithIngredient(ItemID.GoldBar, 5) .WithIngredient(ModContent.ItemType(), 10) .Build(), new RecipeBuilder(this) .WithIngredient(ItemID.Sickle) .WithIngredient(ItemID.PlatinumBar, 5) .WithIngredient(ModContent.ItemType(), 10) .Build() }; } }