28 lines
802 B
C#
28 lines
802 B
C#
using CalamityMod.Rarities;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Mounts
|
|
{
|
|
public class Fabsol : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Mounts";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 16;
|
|
Item.height = 16;
|
|
Item.useTime = 20;
|
|
Item.useAnimation = 20;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.UseSound = SoundID.Item3;
|
|
Item.noMelee = true;
|
|
Item.mountType = ModContent.MountType<AlicornMount>();
|
|
|
|
Item.value = Item.buyPrice(platinum: 3);
|
|
Item.rare = ModContent.RarityType<DarkBlue>();
|
|
Item.Calamity().devItem = true;
|
|
}
|
|
}
|
|
}
|