public override void AddRecipes()
        {
            ScienceRecipe recipe = new ScienceRecipe(mod);

            recipe.AddIngredient(ItemID.GoldBar, 2);
            recipe.AddIngredient(ItemID.IronBar, 5);
            recipe.AddIngredient(ModContent.ItemType <TFWireItem>(), 8);
            recipe.AddIngredient(ModContent.ItemType <Silicon>(), 15);
            recipe.AddTile(ModContent.TileType <ScienceWorkbench>());
            recipe.SetResult(this, 1);
            recipe.AddRecipe();
        }
Ejemplo n.º 2
0
        public override void AddRecipes()
        {
            ScienceRecipe recipe = new ScienceRecipe(mod);

            recipe.AddIngredient(ModContent.ItemType <Vial_Water>(), 2);
            recipe.AddIngredient(ModContent.ItemType <TerraFluxIndicator>());
            recipe.AddTile(ModContent.TileType <SaltExtractor>());
            recipe.SetResult(this, 1);
            recipe.AddRecipe();

            recipe = new ScienceRecipe(mod);
            recipe.AddIngredient(ModContent.ItemType <Vial_Saltwater>(), 2);
            recipe.AddIngredient(ModContent.ItemType <TerraFluxIndicator>());
            recipe.AddTile(ModContent.TileType <SaltExtractor>());
            recipe.SetResult(this, 3);
            recipe.AddRecipe();
        }