Files
CalamityModPublic/Items/LoreItems/KnowledgeBrimstoneElemental.cs
T

42 lines
1.2 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeBrimstoneElemental : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Brimstone Elemental");
Tooltip.SetDefault("The most powerful of the elementals, bent on exacting revenge upon the bloody inferno that demolished her home.\n" +
"Finally put to rest, she will suffer no longer from the grief caused by the deaths of her people.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BrimstoneElementalTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}