Added in recipe for fluid pump and steam boiler.

This commit is contained in:
JoshuaNavarro 2019-09-25 16:09:23 -07:00
parent 1acfc40639
commit 720ac67216
1 changed files with 12 additions and 1 deletions

View File

@ -509,7 +509,7 @@ namespace Revitalize.Framework.Crafting
///Alt solar array crafting recipe. ///Alt solar array crafting recipe.
AnvilRecipes.addCraftingRecipe("Solar Array Alt. Recipe", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>() AnvilRecipes.addCraftingRecipe("Solar Array Alt. Recipe", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{ {
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.IronBar,5),45), new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.IronBar,5),5),
new CraftingRecipeComponent(ModCore.ObjectManager.resources.getResource("Glass"),4), new CraftingRecipeComponent(ModCore.ObjectManager.resources.getResource("Glass"),4),
new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SolarPanelTier1"), 4) new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SolarPanelTier1"), 4)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SolarArrayTier1"), 1)), true)); }, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SolarArrayTier1"), 1)), true));
@ -544,6 +544,17 @@ namespace Revitalize.Framework.Crafting
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.BatteryPack,1),1) new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.BatteryPack,1),1)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetTool("ChainsawV1"), 1)), true)); }, new CraftingRecipeComponent(ModCore.ObjectManager.GetTool("ChainsawV1"), 1)), true));
AnvilRecipes.addCraftingRecipe("Water Pump V1", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.IronBar,15),15)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("WaterPumpV1"), 1)), true));
AnvilRecipes.addCraftingRecipe("Steam Boiler V1", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.IronBar,25),25),
new CraftingRecipeComponent(new StardewValley.Objects.Chest(true),1)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SteamBoilerV1"), 1)), true));
if (CraftingRecipesByGroup.ContainsKey(AnvilRecipes.craftingGroup)) if (CraftingRecipesByGroup.ContainsKey(AnvilRecipes.craftingGroup))
{ {