Added in recipe for the sandbox.

This commit is contained in:
JoshuaNavarro 2019-09-25 15:17:53 -07:00
parent 486529f250
commit 822ef651f5
1 changed files with 6 additions and 0 deletions

View File

@ -344,6 +344,12 @@ namespace Revitalize.Framework.Crafting
new CraftingRecipeComponent(ModCore.ObjectManager.resources.getResource("Sand"), 10) new CraftingRecipeComponent(ModCore.ObjectManager.resources.getResource("Sand"), 10)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("AlloyFurnace"), 1), null, 0), true)); }, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("AlloyFurnace"), 1), null, 0), true));
WorkbenchRecipes.addCraftingRecipe("Sand Box", new UnlockableCraftingRecipe("Default", new Recipe(new List<CraftingRecipeComponent>()
{
new CraftingRecipeComponent(new StardewValley.Object((int)Enums.SDVObject.Wood,100),100),
new CraftingRecipeComponent(ModCore.ObjectManager.resources.getResource("Sand"), 25)
}, new CraftingRecipeComponent(ModCore.ObjectManager.GetItem("SandBox"), 1), null, 0), true));
if (CraftingRecipesByGroup.ContainsKey(WorkbenchRecipes.craftingGroup)) if (CraftingRecipesByGroup.ContainsKey(WorkbenchRecipes.craftingGroup))
{ {
foreach(KeyValuePair<string, UnlockableCraftingRecipe> recipe in WorkbenchRecipes.craftingRecipes) foreach(KeyValuePair<string, UnlockableCraftingRecipe> recipe in WorkbenchRecipes.craftingRecipes)