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