Files
CalamityModPublic/Items/Fishing/Spadefish.cs
T

35 lines
959 B
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Fishing
{
public class Spadefish : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Spadefish");
Tooltip.SetDefault("How can a fish be used to dig through the ground?\n" +
"Some questions are best left unanswered.");
}
public override void SetDefaults()
{
item.damage = 15;
item.melee = true;
item.width = 46;
item.height = 44;
item.useTime = 10;
item.useAnimation = 20;
item.useTurn = true;
item.pick = 30;
item.useStyle = ItemUseStyleID.SwingThrow;
item.knockBack = 2f;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
}
}
}