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(SmallButcherySkill), 2)] public class CleanSalmonRecipe : Recipe { public CleanSalmonRecipe() { this.Products = new CraftingElement[] { new CraftingElement(5), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Clean Salmon", typeof(CleanSalmonRecipe)); //default crafting speed 1 var craftingspeed = 1; this.CraftMinutes = CreateCraftTimeValue(typeof(CleanSalmonRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill)); CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this); } } }