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