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(MortarProductionSkill), 3)] public class BakedPitchRecipe : Recipe { public BakedPitchRecipe() { this.Products = new CraftingElement[] { new CraftingElement(1), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(BasicCraftingEfficiencySkill), 20, BasicCraftingEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Baked Pitch", typeof(BakedPitchRecipe)); this.CraftMinutes = CreateCraftTimeValue(typeof(BakedPitchRecipe), this.UILink(), 0.1f, typeof(BasicCraftingEfficiencySkill)); CraftingComponent.AddRecipe(typeof(BakeryOvenObject), this); } } }