39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
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.Axes
|
|
{
|
|
public class MultigrainAxe : DecimationTool
|
|
{
|
|
protected override string ItemName => "Multigrain Axe";
|
|
protected override int AxePower => 60;
|
|
protected override int MeleeDamages => 10;
|
|
|
|
protected override void InitTool()
|
|
{
|
|
item.width = 54;
|
|
item.height = 42;
|
|
item.knockBack = 5f;
|
|
item.value = Item.sellPrice(silver: 8, copper: 70);
|
|
item.rare = Rarity.Blue.GetRarityValue();
|
|
item.useTime = 16;
|
|
item.useAnimation = 24;
|
|
item.crit = 4;
|
|
}
|
|
|
|
protected override ModRecipe GetRecipe()
|
|
{
|
|
return new RecipeBuilder(this)
|
|
.WithIngredient(ModContent.ItemType<CactusAxe>())
|
|
.WithIngredient(ModContent.ItemType<PumpkinAxe>())
|
|
.WithIngredient(ModContent.ItemType<GreatwoodAxe>())
|
|
.WithIngredient(ItemID.Vine, 2)
|
|
.WithStation(TileID.Loom)
|
|
.Build();
|
|
}
|
|
}
|
|
} |