namespace Eco.Mods.TechTree { using System; using System.Collections.Generic; using Eco.Gameplay.Components; using Eco.Gameplay.DynamicValues; using Eco.Gameplay.Items; using Eco.Gameplay.Skills; using Eco.Shared.Utils; using Eco.World; using Eco.World.Blocks; using Gameplay.Systems.TextLinks; [RequiresSkill(typeof(BasicSmeltingSkill), 3)] public class SmeltIronRecipe : Recipe { public SmeltIronRecipe() { this.Products = new CraftingElement[] { new CraftingElement(1), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(BasicSmeltingEfficiencySkill), 20, BasicSmeltingEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Smelt Iron", typeof(SmeltIronRecipe)); this.CraftMinutes = CreateCraftTimeValue(typeof(SmeltIronRecipe), this.UILink(), 0.5f, typeof(BasicSmeltingSpeedSkill)); CraftingComponent.AddRecipe(typeof(BlastFurnaceObject), this); } } }