Added in recipes for chainsaw and mining drill.

This commit is contained in:
JoshuaNavarro 2019-09-25 16:03:54 -07:00
parent 9dfe8a3783
commit 1acfc40639
1 changed files with 15 additions and 1 deletions

View File

@ -528,7 +528,21 @@ namespace Revitalize.Framework.Crafting
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SteelIngot"),30), new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SteelIngot"),30),
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.CopperBar,10), 10), new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.CopperBar,10), 10),
new CraftingRecipeComponent(new StardewValley.Objects.Chest(true),1) new CraftingRecipeComponent(new StardewValley.Objects.Chest(true),1)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("Grinder"), 1)), true));; }, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("Grinder"), 1)), true));
AnvilRecipes.addCraftingRecipe("Mining Drill V1", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SteelIngot",10),10),
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("BrassIngot",10),10),
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.BatteryPack,1),1)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetTool("MiningDrillV1"), 1)), true));
AnvilRecipes.addCraftingRecipe("Chainsaw V1", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SteelIngot",10),10),
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("BronzeIngot",10),10),
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.BatteryPack,1),1)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetTool("ChainsawV1"), 1)), true));
if (CraftingRecipesByGroup.ContainsKey(AnvilRecipes.craftingGroup)) if (CraftingRecipesByGroup.ContainsKey(AnvilRecipes.craftingGroup))