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