31 lines
844 B
C#
31 lines
844 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Mounts
|
|
{
|
|
public class BirdSeed : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Folly Feed");
|
|
Tooltip.SetDefault("Summons a monstrosity");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.width = 34;
|
|
item.height = 36;
|
|
item.useTime = 20;
|
|
item.useAnimation = 20;
|
|
item.useStyle = 1;
|
|
item.value = Item.sellPrice(0, 20, 0, 0);
|
|
item.rare = 10;
|
|
item.Calamity().customRarity = CalamityRarity.Dedicated;
|
|
item.UseSound = SoundID.NPCHit51;
|
|
item.noMelee = true;
|
|
item.mountType = ModContent.MountType<BUMBLEDOGE>();
|
|
}
|
|
}
|
|
}
|