Files
CalamityModPublic/Items/Potions/DeliciousMeat.cs
T

33 lines
969 B
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Potions
{
public class DeliciousMeat : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Potions";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 5;
}
public override void SetDefaults()
{
Item.width = 32;
Item.height = 30;
Item.maxStack = 9999;
Item.consumable = true;
Item.useAnimation = 17;
Item.useTime = 17;
Item.UseSound = SoundID.Item2;
Item.useStyle = ItemUseStyleID.EatFood;
Item.useTurn = true;
Item.buffType = BuffID.WellFed2;
Item.buffTime = CalamityUtils.SecondsToFrames(1800f);
Item.value = Item.buyPrice(silver: 50); // Sold by Archmage
Item.rare = ItemRarityID.Pink;
}
}
}