using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Furniture.Trophies; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { public class KnowledgeSentinels : LoreItem { public override void SetStaticDefaults() { DisplayName.SetDefault("The Sentinels of the Devourer"); Tooltip.SetDefault("Signus. The Void. The Weaver.\n" + "Each represent one of the Devourer’s largest spheres of influence.\n" + "Dispatching them has most likely invoked its anger and marked you as a target for destruction."); } public override void SetDefaults() { item.width = 20; item.height = 20; item.rare = ItemRarityID.Red; item.consumable = false; item.Calamity().customRarity = CalamityRarity.Turquoise; } public override bool CanUseItem(Player player) { return false; } public override void AddRecipes() { ModRecipe r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ModContent.ItemType()); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ModContent.ItemType()); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ModContent.ItemType()); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); } } }