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(CampfireCookingSkill), 3)] public class CampfireFoxRecipe : Recipe { public CampfireFoxRecipe() { this.Products = new CraftingElement[] { new CraftingElement(2), new CraftingElement(1), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Campfire Fox", typeof(CampfireFoxRecipe)); //default crafting speed 4 var craftingspeed = 1; this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireFoxRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill)); CraftingComponent.AddRecipe(typeof(CampfireObject), this); } } }