using CalamityMod.Items.Materials; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { public class KnowledgeMechs : LoreItem { public override void SetStaticDefaults() { DisplayName.SetDefault("The Mechanical Trio"); Tooltip.SetDefault("I see you have awakened Draedon's old toys.\n" + "Once useful tools turned into savage beasts when their AIs went rogue, a mistake that Draedon failed to rectify in time."); } 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() { ModRecipe r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ItemID.RetinazerTrophy); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ItemID.SpazmatismTrophy); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ItemID.DestroyerTrophy); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); r.AddIngredient(ItemID.SkeletronPrimeTrophy); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); } } }