32 lines
1.1 KiB
C#
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), 3)]
|
|
public class BakedPitchRecipe : Recipe
|
|
{
|
|
public BakedPitchRecipe()
|
|
{
|
|
this.Products = new CraftingElement[]
|
|
{
|
|
new CraftingElement<PitchItem>(1),
|
|
};
|
|
this.Ingredients = new CraftingElement[]
|
|
{
|
|
new CraftingElement<DirtItem>(typeof(BasicCraftingEfficiencySkill), 20, BasicCraftingEfficiencySkill.MultiplicativeStrategy),
|
|
};
|
|
this.Initialize("Baked Pitch", typeof(BakedPitchRecipe));
|
|
this.CraftMinutes = CreateCraftTimeValue(typeof(BakedPitchRecipe), this.UILink(), 0.1f, typeof(BasicCraftingEfficiencySkill));
|
|
CraftingComponent.AddRecipe(typeof(BakeryOvenObject), this);
|
|
}
|
|
}
|
|
} |