EcoGSCE-Modpack/AutoGen/Recipe/GrindStoneToDirt.cs

32 lines
1.1 KiB
C#

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<DirtItem>(2),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<StoneItem>(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);
}
}
}