35 lines
1.3 KiB
C#
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), 2)]
|
|
public class ButcherWolfRecipe : Recipe
|
|
{
|
|
public ButcherWolfRecipe()
|
|
{
|
|
this.Products = new CraftingElement[]
|
|
{
|
|
new CraftingElement<RawMeatItem>(4),
|
|
new CraftingElement<FurPeltItem>(3),
|
|
};
|
|
this.Ingredients = new CraftingElement[]
|
|
{
|
|
new CraftingElement<WolfCarcassItem>(typeof(LargeButcheryEfficiencySkill), 1, LargeButcheryEfficiencySkill.MultiplicativeStrategy),
|
|
};
|
|
this.Initialize("Butcher Wolf", typeof(ButcherWolfRecipe));
|
|
//default crafting speed 1.5f
|
|
var craftingspeed = 1.5f;
|
|
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherWolfRecipe), this.UILink(), craftingspeed, typeof(LargeButcherySpeedSkill));
|
|
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
|
}
|
|
}
|
|
} |