Gitlab to Gitea Migration
This commit is contained in:
32
AutoGen/Recipe/BakedPitch.cs
Normal file
32
AutoGen/Recipe/BakedPitch.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherBison.cs
Normal file
35
AutoGen/Recipe/ButcherBison.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherElk.cs
Normal file
35
AutoGen/Recipe/ButcherElk.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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), 1)]
|
||||
public class ButcherElkRecipe : Recipe
|
||||
{
|
||||
public ButcherElkRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawMeatItem>(10),
|
||||
new CraftingElement<LeatherHideItem>(2),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<ElkCarcassItem>(typeof(LargeButcheryEfficiencySkill), 1, LargeButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Butcher Elk", typeof(ButcherElkRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherElkRecipe), this.UILink(), craftingspeed, typeof(LargeButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherFox.cs
Normal file
35
AutoGen/Recipe/ButcherFox.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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 ButcherFoxRecipe : Recipe
|
||||
{
|
||||
public ButcherFoxRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawMeatItem>(3),
|
||||
new CraftingElement<FurPeltItem>(2),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FoxCarcassItem>(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Butcher Fox", typeof(ButcherFoxRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherFoxRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherHare.cs
Normal file
35
AutoGen/Recipe/ButcherHare.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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), 1)]
|
||||
public class ButcherHareRecipe : Recipe
|
||||
{
|
||||
public ButcherHareRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawMeatItem>(1),
|
||||
new CraftingElement<FurPeltItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<HareCarcassItem>(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Butcher Hare", typeof(ButcherHareRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherHareRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherTurkey.cs
Normal file
35
AutoGen/Recipe/ButcherTurkey.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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), 1)]
|
||||
public class ButcherTurkeyRecipe : Recipe
|
||||
{
|
||||
public ButcherTurkeyRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawMeatItem>(2),
|
||||
new CraftingElement<LeatherHideItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<TurkeyCarcassItem>(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Butcher Turkey", typeof(ButcherTurkeyRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ButcherTurkeyRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ButcherWolf.cs
Normal file
35
AutoGen/Recipe/ButcherWolf.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/CampfireBison.cs
Normal file
35
AutoGen/Recipe/CampfireBison.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(CampfireCookingSkill), 4)]
|
||||
public class CampfireBisonRecipe : Recipe
|
||||
{
|
||||
public CampfireBisonRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(16),
|
||||
new CraftingElement<TallowItem>(7),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BisonCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Bison", typeof(CampfireBisonRecipe));
|
||||
//default crafting speed 20
|
||||
var craftingspeed = 2;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireBisonRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/CampfireElk.cs
Normal file
35
AutoGen/Recipe/CampfireElk.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(CampfireCookingSkill), 2)]
|
||||
public class CampfireElkRecipe : Recipe
|
||||
{
|
||||
public CampfireElkRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(7),
|
||||
new CraftingElement<TallowItem>(4),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<ElkCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Elk", typeof(CampfireElkRecipe));
|
||||
//default crafting speed 10
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireElkRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/CampfireFox.cs
Normal file
35
AutoGen/Recipe/CampfireFox.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(CampfireCookingSkill), 3)]
|
||||
public class CampfireFoxRecipe : Recipe
|
||||
{
|
||||
public CampfireFoxRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(2),
|
||||
new CraftingElement<TallowItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FoxCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Fox", typeof(CampfireFoxRecipe));
|
||||
//default crafting speed 4
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireFoxRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CampfireHare.cs
Normal file
34
AutoGen/Recipe/CampfireHare.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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(CampfireCookingSkill), 1)]
|
||||
public class CampfireHareRecipe : Recipe
|
||||
{
|
||||
public CampfireHareRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<HareCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Hare", typeof(CampfireHareRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 0.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireHareRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CampfireSalmon.cs
Normal file
34
AutoGen/Recipe/CampfireSalmon.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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(CampfireCookingSkill), 2)]
|
||||
public class CampfireSalmonRecipe : Recipe
|
||||
{
|
||||
public CampfireSalmonRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredFishItem>(2),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<SalmonItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Salmon", typeof(CampfireSalmonRecipe));
|
||||
//default crafting speed 5
|
||||
var craftingspeed = 2;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireSalmonRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CampfireTrout.cs
Normal file
34
AutoGen/Recipe/CampfireTrout.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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(CampfireCookingSkill), 1)]
|
||||
public class CampfireTroutRecipe : Recipe
|
||||
{
|
||||
public CampfireTroutRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredFishItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<TroutItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Trout", typeof(CampfireTroutRecipe));
|
||||
//default crafting speed 3
|
||||
var craftingspeed = 1.1f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireTroutRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CampfireTuna.cs
Normal file
34
AutoGen/Recipe/CampfireTuna.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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(CampfireCookingSkill), 4)]
|
||||
public class CampfireTunaRecipe : Recipe
|
||||
{
|
||||
public CampfireTunaRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredFishItem>(3),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<TunaItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Tuna", typeof(CampfireTunaRecipe));
|
||||
//default crafting speed 10
|
||||
var craftingspeed = 2.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireTunaRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/CampfireTurkey.cs
Normal file
35
AutoGen/Recipe/CampfireTurkey.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(CampfireCookingSkill), 1)]
|
||||
public class CampfireTurkeyRecipe : Recipe
|
||||
{
|
||||
public CampfireTurkeyRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(2),
|
||||
new CraftingElement<TallowItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<TurkeyCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Turkey", typeof(CampfireTurkeyRecipe));
|
||||
//default crafting speed 5
|
||||
var craftingspeed = 1.2f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireTurkeyRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/CampfireWolf.cs
Normal file
35
AutoGen/Recipe/CampfireWolf.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(CampfireCookingSkill), 3)]
|
||||
public class CampfireWolfRecipe : Recipe
|
||||
{
|
||||
public CampfireWolfRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CharredMeatItem>(3),
|
||||
new CraftingElement<TallowItem>(2),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<WolfCarcassItem>(typeof(CampfireCookingEfficiencySkill), 1, CampfireCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Campfire Wolf", typeof(CampfireWolfRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 0.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CampfireWolfRecipe), this.UILink(), craftingspeed, typeof(CampfireCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CampfireObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CleanSalmon.cs
Normal file
34
AutoGen/Recipe/CleanSalmon.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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), 2)]
|
||||
public class CleanSalmonRecipe : Recipe
|
||||
{
|
||||
public CleanSalmonRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawFishItem>(5),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<SalmonItem>(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Clean Salmon", typeof(CleanSalmonRecipe));
|
||||
//default crafting speed 1
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CleanSalmonRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CleanTrout.cs
Normal file
34
AutoGen/Recipe/CleanTrout.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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), 1)]
|
||||
public class CleanTroutRecipe : Recipe
|
||||
{
|
||||
public CleanTroutRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<RawFishItem>(3),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<TroutItem>(typeof(SmallButcheryEfficiencySkill), 1, SmallButcheryEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Clean Trout", typeof(CleanTroutRecipe));
|
||||
//default crafting speed 1.5
|
||||
var craftingspeed = 1;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(CleanTroutRecipe), this.UILink(), craftingspeed, typeof(SmallButcherySpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(ButcheryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
AutoGen/Recipe/CleanTuna.cs
Normal file
34
AutoGen/Recipe/CleanTuna.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/ExoticFruitSalad.cs
Normal file
35
AutoGen/Recipe/ExoticFruitSalad.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(HomeCookingSkill), 3)]
|
||||
public class ExoticFruitSaladRecipe : Recipe
|
||||
{
|
||||
public ExoticFruitSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FruitSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<PricklyPearFruitItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<TomatoItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Exotic Fruit Salad", typeof(ExoticFruitSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ExoticFruitSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
AutoGen/Recipe/ExoticSalad.cs
Normal file
36
AutoGen/Recipe/ExoticSalad.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(HomeCookingSkill), 2)]
|
||||
public class ExoticSaladRecipe : Recipe
|
||||
{
|
||||
public ExoticSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BasicSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<PricklyPearFruitItem>(typeof(HomeCookingEfficiencySkill), 10, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<CriminiMushroomsItem>(typeof(HomeCookingEfficiencySkill), 10, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<RiceItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Exotic Salad", typeof(ExoticSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ExoticSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
AutoGen/Recipe/ExoticVegetableMedley.cs
Normal file
36
AutoGen/Recipe/ExoticVegetableMedley.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(HomeCookingSkill), 3)]
|
||||
public class ExoticVegetableMedleyRecipe : Recipe
|
||||
{
|
||||
public ExoticVegetableMedleyRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<VegetableMedleyItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BeansItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<TomatoItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<BeetItem>(typeof(HomeCookingEfficiencySkill), 10, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Exotic Vegetable Medley", typeof(ExoticVegetableMedleyRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ExoticVegetableMedleyRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
AutoGen/Recipe/ForestSalad.cs
Normal file
36
AutoGen/Recipe/ForestSalad.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(HomeCookingSkill), 1)]
|
||||
public class ForestSaladRecipe : Recipe
|
||||
{
|
||||
public ForestSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BasicSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FiddleheadsItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<HuckleberriesItem>(typeof(HomeCookingEfficiencySkill), 30, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<BeansItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Forest Salad", typeof(ForestSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(ForestSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
AutoGen/Recipe/GrasslandSalad.cs
Normal file
36
AutoGen/Recipe/GrasslandSalad.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(HomeCookingSkill), 1)]
|
||||
public class GrasslandSaladRecipe : Recipe
|
||||
{
|
||||
public GrasslandSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BasicSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CornItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<TomatoItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<BeetItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Grassland Salad", typeof(GrasslandSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(GrasslandSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/GrindStoneToDirt.cs
Normal file
32
AutoGen/Recipe/GrindStoneToDirt.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/GrindStoneToSand.cs
Normal file
32
AutoGen/Recipe/GrindStoneToSand.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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 GrindStoneToSandRecipe : Recipe
|
||||
{
|
||||
public GrindStoneToSandRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<SandItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<StoneItem>(typeof(MortarProductionEfficiencySkill), 5, MortarProductionEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Grind Stone To Sand", typeof(GrindStoneToSandRecipe));
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(GrindStoneToSandRecipe), this.UILink(), 5, typeof(MortarProductionSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(MasonryTableObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/MassCutWire.cs
Normal file
32
AutoGen/Recipe/MassCutWire.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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(IndustrialEngineeringSkill), 2)]
|
||||
public class MassCutWireRecipe : Recipe
|
||||
{
|
||||
public MassCutWireRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CopperWiringItem>(20),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CopperIngotItem>(typeof(IndustrialEngineeringEfficiencySkill), 20, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Mass Cut Wire", typeof(MassCutWireRecipe));
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(MassCutWireRecipe), this.UILink(), 5, typeof(IndustrialEngineeringSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/MixedFruitSalad.cs
Normal file
35
AutoGen/Recipe/MixedFruitSalad.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(HomeCookingSkill), 2)]
|
||||
public class MixedFruitSaladRecipe : Recipe
|
||||
{
|
||||
public MixedFruitSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FruitSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<HuckleberriesItem>(typeof(HomeCookingEfficiencySkill), 40, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<BeetItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Mixed Fruit Salad", typeof(MixedFruitSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(MixedFruitSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
AutoGen/Recipe/MixedSalad.cs
Normal file
36
AutoGen/Recipe/MixedSalad.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(HomeCookingSkill), 2)]
|
||||
public class MixedSaladRecipe : Recipe
|
||||
{
|
||||
public MixedSaladRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<BasicSaladItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<FiddleheadsItem>(typeof(HomeCookingEfficiencySkill), 20, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<TomatoItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<FireweedShootsItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Mixed Salad", typeof(MixedSaladRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(MixedSaladRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
35
AutoGen/Recipe/MixedVegetableMedley.cs
Normal file
35
AutoGen/Recipe/MixedVegetableMedley.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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(HomeCookingSkill), 2)]
|
||||
public class MixedVegetableMedleyRecipe : Recipe
|
||||
{
|
||||
public MixedVegetableMedleyRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<VegetableMedleyItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CornItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
new CraftingElement<CamasBulbItem>(typeof(HomeCookingEfficiencySkill), 15, HomeCookingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Mixed Vegetable Medley", typeof(MixedVegetableMedleyRecipe));
|
||||
//default crafting speed 2
|
||||
var craftingspeed = 1.5f;
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(MixedVegetableMedleyRecipe), this.UILink(), craftingspeed, typeof(HomeCookingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(CastIronStoveObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/SmeltCopper.cs
Normal file
32
AutoGen/Recipe/SmeltCopper.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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(BasicSmeltingSkill), 2)]
|
||||
public class SmeltCopperRecipe : Recipe
|
||||
{
|
||||
public SmeltCopperRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CopperIngotItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<CopperOreItem>(typeof(BasicSmeltingEfficiencySkill), 20, BasicSmeltingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Smelt Copper", typeof(SmeltCopperRecipe));
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(SmeltCopperRecipe), this.UILink(), 0.5f, typeof(BasicSmeltingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(BlastFurnaceObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/SmeltGold.cs
Normal file
32
AutoGen/Recipe/SmeltGold.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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(BasicSmeltingSkill), 4)]
|
||||
public class SmeltGoldRecipe : Recipe
|
||||
{
|
||||
public SmeltGoldRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<GoldIngotItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<GoldOreItem>(typeof(BasicSmeltingEfficiencySkill), 20, BasicSmeltingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Smelt Gold", typeof(SmeltGoldRecipe));
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(SmeltGoldRecipe), this.UILink(), 0.5f, typeof(BasicSmeltingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(BlastFurnaceObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
AutoGen/Recipe/SmeltIron.cs
Normal file
32
AutoGen/Recipe/SmeltIron.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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(BasicSmeltingSkill), 3)]
|
||||
public class SmeltIronRecipe : Recipe
|
||||
{
|
||||
public SmeltIronRecipe()
|
||||
{
|
||||
this.Products = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<IronIngotItem>(1),
|
||||
};
|
||||
this.Ingredients = new CraftingElement[]
|
||||
{
|
||||
new CraftingElement<IronOreItem>(typeof(BasicSmeltingEfficiencySkill), 20, BasicSmeltingEfficiencySkill.MultiplicativeStrategy),
|
||||
};
|
||||
this.Initialize("Smelt Iron", typeof(SmeltIronRecipe));
|
||||
this.CraftMinutes = CreateCraftTimeValue(typeof(SmeltIronRecipe), this.UILink(), 0.5f, typeof(BasicSmeltingSpeedSkill));
|
||||
CraftingComponent.AddRecipe(typeof(BlastFurnaceObject), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user