Files
CalamityModPublic/Items/Potions/DeliciousMeat.cs
T
DominicKarma42 55e89c9b98 Replaced (hopefully) every magic number with a constant
Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
2020-05-30 17:56:36 -04:00

32 lines
915 B
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Potions
{
public class DeliciousMeat : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Delicious Meat");
Tooltip.SetDefault("Minor improvements to all stats\n'So very delicious'");
}
public override void SetDefaults()
{
item.width = 32;
item.height = 30;
item.value = Item.buyPrice(0, 0, 50, 0);
item.rare = 5;
item.maxStack = 30;
item.consumable = true;
item.useAnimation = 17;
item.useTime = 17;
item.UseSound = SoundID.Item2;
item.useStyle = ItemUseStyleID.EatingUsing;
item.useTurn = true;
item.buffType = BuffID.WellFed;
item.buffTime = 108000;
}
}
}