summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata/CoreAssets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Metadata/CoreAssets.cs')
-rw-r--r--src/SMAPI/Metadata/CoreAssets.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/CoreAssets.cs b/src/SMAPI/Metadata/CoreAssets.cs
index 24f23af7..5a98da4b 100644
--- a/src/SMAPI/Metadata/CoreAssets.cs
+++ b/src/SMAPI/Metadata/CoreAssets.cs
@@ -37,6 +37,10 @@ namespace StardewModdingAPI.Metadata
this.SingletonSetters =
new Dictionary<string, Action<SContentManager, string>>
{
+ // from CraftingRecipe.InitShared
+ ["Data\\CraftingRecipes"] = (content, key) => CraftingRecipe.craftingRecipes = content.Load<Dictionary<string, string>>(key),
+ ["Data\\CookingRecipes"] = (content, key) => CraftingRecipe.cookingRecipes = content.Load<Dictionary<string, string>>(key),
+
// from Game1.loadContent
["LooseSprites\\daybg"] = (content, key) => Game1.daybg = content.Load<Texture2D>(key),
["LooseSprites\\nightbg"] = (content, key) => Game1.nightbg = content.Load<Texture2D>(key),