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(LargeButcherySkill), 1)] public class ButcherElkRecipe : Recipe { public ButcherElkRecipe() { this.Products = new CraftingElement[] { new CraftingElement(10), new CraftingElement(2), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(LargeButcheryEfficiencySkill), 1, LargeButcheryEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Butcher Elk", typeof(ButcherElkRecipe)); //default crafting speed 1 var craftingspeed = 1; this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherElkRecipe), this.UILink(), craftingspeed, typeof(LargeButcherySpeedSkill)); CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this); } } }