namespace Eco.Mods.TechTree { using System; using System.Collections.Generic; using System.ComponentModel; using Eco.Gameplay.Blocks; using Eco.Gameplay.Components; using Eco.Gameplay.DynamicValues; using Eco.Gameplay.Items; using Eco.Gameplay.Objects; using Eco.Gameplay.Players; using Eco.Gameplay.Skills; using Eco.Gameplay.Systems.TextLinks; using Eco.Shared.Localization; using Eco.Shared.Serialization; using Eco.Shared.Utils; using Eco.World; using Eco.World.Blocks; using Eco.Gameplay.Pipes; [RequiresSkill(typeof(AlloySmeltingSkill), 2)] public partial class SteelRecipe : Recipe { public SteelRecipe() { this.Products = new CraftingElement[] { new CraftingElement(), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(AlloySmeltingEfficiencySkill), 6, AlloySmeltingEfficiencySkill.MultiplicativeStrategy), new CraftingElement(typeof(AlloySmeltingEfficiencySkill), 2, AlloySmeltingEfficiencySkill.MultiplicativeStrategy), new CraftingElement(typeof(AlloySmeltingEfficiencySkill), 2, AlloySmeltingEfficiencySkill.MultiplicativeStrategy), }; this.CraftMinutes = CreateCraftTimeValue(typeof(SteelRecipe), Item.Get().UILink(), 5, typeof(AlloySmeltingSpeedSkill)); this.Initialize("Steel", typeof(SteelRecipe)); CraftingComponent.AddRecipe(typeof(BlastFurnaceObject), this); } } [Serialized] [Weight(4000)] [Currency] public partial class SteelItem : Item { public override string FriendlyName { get { return "Steel"; } } public override string Description { get { return "A strong alloy of iron and other elements."; } } } }