Decimation_Mod/Content/Items/Tools/GildedSickle.cs
FyloZ ec4585bed5 - Changed Bloodshot Eye's music to Boss 1 Orchestra ( https://www.youtube.com/watch?time_continue=120&v=r-9nKGc85FQ )
- Added support for animated projectiles
- Refactoring
- Removed useless fields
- Fixed swords not dealing damages
- Added Hour Hand (from Evie's PR)
2020-03-21 00:11:07 -04:00

37 lines
1.0 KiB
C#

using Decimation.Lib.Items;
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()
{
this.item.CloneDefaults(ItemID.Sickle);
item.width = 16;
item.height = 16;
item.value = Item.buyPrice(0, 0, 1);
this.item.knockBack = 5;
item.useTime = 14;
item.useAnimation = 14;
}
protected override ModRecipe GetRecipe()
{
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Anvils);
recipe.AddIngredient(ItemID.Sickle);
recipe.AddIngredient(ItemID.GoldBar, 5);
recipe.AddIngredient(null, "SoulofTime", 10);
return recipe;
}
}
}