Files
CalamityModPublic/Items/LoreItems/KnowledgeProvidence.cs
T

43 lines
1.2 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeProvidence : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Providence, the Profaned Goddess");
Tooltip.SetDefault("A core surrounded by stone and flame, a simple origin and a simple goal.\n" +
"What would have become of us had she not been defeated is a frightening concept to consider.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Turquoise>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ProvidenceTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}