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), 1)] public class GrindStoneToDirtRecipe : Recipe { public GrindStoneToDirtRecipe() { this.Products = new CraftingElement[] { new CraftingElement(2), }; this.Ingredients = new CraftingElement[] { new CraftingElement(typeof(MortarProductionEfficiencySkill), 4, MortarProductionEfficiencySkill.MultiplicativeStrategy), }; this.Initialize("Grind Stone To Dirt", typeof(GrindStoneToDirtRecipe)); this.CraftMinutes = CreateCraftTimeValue(typeof(GrindStoneToDirtRecipe), this.UILink(), 3, typeof(MortarProductionSpeedSkill)); CraftingComponent.AddRecipe(typeof(MasonryTableObject), this); } } }