36 lines
973 B
C#
36 lines
973 B
C#
using CalamityMod.Items.Materials;
|
|
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 = 1;
|
|
item.knockBack = 2f;
|
|
item.value = Item.buyPrice(0, 2, 0, 0);
|
|
item.rare = 2;
|
|
item.UseSound = SoundID.Item1;
|
|
item.autoReuse = true;
|
|
}
|
|
}
|
|
}
|