From 00414965fd25281cfda4a37566fe05414ffec836 Mon Sep 17 00:00:00 2001 From: DominicKarma <51094361+DominicKarma@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:58:05 -0500 Subject: [PATCH] Exo Mech lore recipes --- Items/LoreItems/KnowledgeExoMechs.cs | 30 ++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/Items/LoreItems/KnowledgeExoMechs.cs b/Items/LoreItems/KnowledgeExoMechs.cs index 4a7bf9f19f..da9684b23d 100644 --- a/Items/LoreItems/KnowledgeExoMechs.cs +++ b/Items/LoreItems/KnowledgeExoMechs.cs @@ -1,5 +1,8 @@ +using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.Trophies; using Terraria; using Terraria.ID; +using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { @@ -23,17 +26,36 @@ namespace CalamityMod.Items.LoreItems public override bool CanUseItem(Player player) => false; - // Requires an Exo Mechs trophy. - /* + public override void AddRecipes() { ModRecipe r = new ModRecipe(mod); r.SetResult(this); r.AddTile(TileID.Bookcases); - r.AddIngredient(ModContent.ItemType()); + 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(); + + r = new ModRecipe(mod); + r.SetResult(this); + r.AddTile(TileID.Bookcases); + r.AddIngredient(ModContent.ItemType()); r.AddIngredient(ModContent.ItemType(), 10); r.AddRecipe(); } - */ } }