2 - Delicious Meat and Hadal Stew grant Plenty Satisfied. 3 - Desert Scourge vomits sand from its mouth in spreads of 2 or 3 and vomits a large spread of sand into the air when it reaches the peak of its upward dive attack.
33 lines
994 B
C#
33 lines
994 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("{$CommonItemTooltip.MediumStats}\n'So very delicious'");
|
|
SacrificeTotal = 5;
|
|
}
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 32;
|
|
Item.height = 30;
|
|
Item.value = Item.buyPrice(0, 0, 50, 0);
|
|
Item.rare = ItemRarityID.Pink;
|
|
Item.maxStack = 30;
|
|
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);
|
|
}
|
|
}
|
|
}
|