public override void AddRecipes() { //-------------------------------------Existing Recipes-------------------------------------\\ RecipeFinder finder = new RecipeFinder(); finder.SetResult(151); //Necro Helmet foreach (Recipe r in finder.SearchRecipes()) { RecipeEditor editor = new RecipeEditor(r); editor.DeleteTile(18); //Workbench editor.AddTile(300); //Bone Welder } finder = new RecipeFinder(); finder.SetResult(152); //Necro Breastplate foreach (Recipe r in finder.SearchRecipes()) { RecipeEditor editor = new RecipeEditor(r); editor.DeleteTile(18); //Workbench editor.AddTile(300); //Bone Welder } finder = new RecipeFinder(); finder.SetResult(153); //Necro Greaves foreach (Recipe r in finder.SearchRecipes()) { RecipeEditor editor = new RecipeEditor(r); editor.DeleteTile(18); //Workbench editor.AddTile(300); //Bone Welder } finder = new RecipeFinder(); finder.AddIngredient(795); //Blood Butcherer finder.AddIngredient(155); //Muramasa finder.AddIngredient(190); //Blade of Grass finder.AddIngredient(121); //Fiery Greatsword finder.AddTile(26); //Altar finder.SetResult(273); //Night's Edge Recipe exactRecipe = finder.FindExactRecipe(); bool isRecipeFound = exactRecipe != null; if (isRecipeFound) { RecipeEditor editor = new RecipeEditor(exactRecipe); editor.DeleteRecipe(); } //-------------------------------------New Recipes-------------------------------------\\ /* * recipe = new ModRecipe(this); * recipe.AddIngredient(000); * recipe.AddTile(114); //Tinkerer's Workshop * recipe.SetResult(000); * recipe.AddRecipe(); */ ModRecipe recipe = new ModRecipe(this); recipe.AddIngredient(null, "TrueNightsEdgeB"); recipe.AddIngredient(674); //True Excalibur recipe.AddTile(134); //Hardmode Anvil recipe.SetResult(757); //Terra Blade recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(null, "Obfuscator"); recipe.AddIngredient(null, "CursedNaginata"); recipe.AddIngredient(null, "BoOfGrass"); recipe.AddIngredient(null, "HellHalberd"); recipe.AddTile(26); //Altar recipe.SetResult(274); //Dark Lance recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(706, 3); //Platinum Bar recipe.AddIngredient(381, 12); //Cobalt Bar recipe.AddIngredient(327); //Golden Key recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(156); //Cobalt Shield recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(147, 10); //Spike recipe.AddIngredient(259, 6); //Leather recipe.AddIngredient(225, 2); //Silk recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(953); //Climbing Claws recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(147, 10); //Spike recipe.AddIngredient(259, 6); //Leather recipe.AddIngredient(225, 2); //Silk recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(975); //Shoe Spikes recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(765, 90); //Rain Cloud recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(19, 15); //Gold Bar recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(158); //Lucky Horseshoe recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(3756, 90); //Snow Cloud recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(3306); //White String recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(159); //Shiny Red Balloon recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(751, 90); //Cloud Block recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(31); //Bottle recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(53); //Cloud in a Bottle recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(169, 90); //Sand Block recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(31); //Bottle recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(857); //Sandstorm in a Bottle recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(593, 90); //Snow Block recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(31); //Bottle recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(987); //Blizzard in a Bottle recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(2435, 90); //Coralstone Block recipe.AddIngredient(575, 5); //Soul of Flight recipe.AddIngredient(31); //Bottle recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(3201); //Tsunami in a Bottle recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(318); //Fireblossom recipe.AddIngredient(172, 100); //Ash recipe.AddIngredient(173, 100); //Obsidian recipe.AddIngredient(207, 3); //Lava Bucket recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(1323); //Obsidian Rose recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(275); //Coral recipe.AddTile(18); //Workbench recipe.SetResult(2435); //Coralstone Block recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(2435); //Coralstone Block recipe.AddTile(18); //Workbench recipe.SetResult(275); //Coral recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddRecipeGroup("AdvancedTinkering:AnimalSkin"); recipe.AddTile(18); //Workbench recipe.SetResult(259, 12); //Leather recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(225, 20); //Silk recipe.AddIngredient(259, 20); //Leather recipe.AddIngredient(254, 3); //Black Thread recipe.AddTile(86); //Loom recipe.SetResult(410); //Miner's Shirt recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(225, 15); //Silk recipe.AddIngredient(259, 25); //Leather recipe.AddIngredient(254, 3); //Black Thread recipe.AddTile(86); //Loom recipe.SetResult(411); //Miner's Pants recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(null, "RetinazerMask"); recipe.AddIngredient(null, "SpazmatismMask"); recipe.AddTile(18); //Workbench recipe.SetResult(2106); //The Twins Mask recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(3111, 30); //Pink Gel recipe.AddIngredient(23, 100); //Gel recipe.AddIngredient(9, 7); //Purity Wood recipe.AddTile(220); //Solidifier recipe.SetResult(1309); //Slime Staff recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(545, 999); //Cursed Arrow recipe.AddIngredient(1334, 999); //Ichor Arrow recipe.AddIngredient(47, 999); //Unholy Arrow recipe.AddIngredient(516, 999); //Holy Arrow recipe.AddIngredient(265, 999); //Hellfire Arrow recipe.AddIngredient(3003, 999); //Bone Arrow recipe.AddIngredient(259, 25); //Leather recipe.AddTile(114); //Tinkerer's Workshop recipe.SetResult(1321); //Magic Quiver recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(210); //Vine recipe.SetResult(2996, 6); //Vine Rope recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddRecipeGroup("Wood", 3); recipe.AddTile(17); //Furnace recipe.SetResult(1922); //Coal recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(2339); //Tin Can recipe.AddTile(17); //Furnace recipe.SetResult(703); //Tin Bar recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(766); //Bone Block recipe.AddTile(300); //Bone Welder recipe.SetResult(154); //Bone recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(154, 5); //Bone recipe.AddTile(300); //Bone Welder recipe.SetResult(3003, 5); //Bone Arrow recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(154); //Bone recipe.AddIngredient(8, 3); //Torch recipe.AddTile(300); //Bone Welder recipe.SetResult(3004, 3); //Bone Torch recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(19); //Gold Bar recipe.SetResult(1348, 2); //Gold Dust recipe.AddTile(247); //Autohammer recipe.SetResult(327); //Golden Key recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(1101, 8); //Lihzahrd Brick recipe.AddRecipeGroup("IronBar", 2); recipe.AddTile(303); //Lihzahrd Furnace recipe.SetResult(1142); //Lihzahrd Chest recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(9, 8); //Purity Wood recipe.AddRecipeGroup("IronBar", 2); recipe.AddTile(304); //Living Loom recipe.SetResult(831); //Living Wood Chest recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(824, 8); //Sunplate Block recipe.AddRecipeGroup("IronBar", 2); recipe.AddTile(305); //Sky Mill recipe.SetResult(838); //Skyware Chest recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(3272); //Hardened Sand Block recipe.AddTile(17); //Furnace recipe.SetResult(607, 2); //Sandstone Brick recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(3271); //Sandstone Block recipe.AddTile(17); //Furnace recipe.SetResult(607, 3); //Sandstone Brick recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(586, 22); //Candy Cane Block recipe.AddTile(17); //Furnace recipe.SetResult(1909); //Candy Cane Sword recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(586, 24); //Candy Cane Block recipe.AddTile(17); //Furnace recipe.SetResult(1917); //Candy Cane Pickaxe recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(586, 20); //Candy Cane Block recipe.AddTile(17); //Furnace recipe.SetResult(1915); //Candy Cane Hook recipe.AddRecipe(); }