35 lines
1.3 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(LargeButcherySkill), 3)]
public class ButcherBisonRecipe : Recipe
{
public ButcherBisonRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<RawMeatItem>(20),
new CraftingElement<LeatherHideItem>(3),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<BisonCarcassItem>(typeof(LargeButcheryEfficiencySkill), 1, LargeButcheryEfficiencySkill.MultiplicativeStrategy),
};
this.Initialize("Butcher Bison", typeof(ButcherBisonRecipe));
//default crafting speed 3
var craftingspeed = 1;
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherBisonRecipe), this.UILink(), craftingspeed, typeof(LargeButcherySpeedSkill));
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
}
}
}