StardewModders / mod-ideas

Submit ideas for mods to create, or find your next mod project!
93 stars 5 forks source link

Dynamic Recipes #1104

Open cho0pera opened 1 year ago

cho0pera commented 1 year ago

No idea if it's possible and it's likely a C# mod, but it'd be so cool to be able to have recipes that allow for ingredient substitutions.

For example, a dish that calls for Salmon or Tuna and will accept either ingredient. Or for modded JA objects, a recipe that will accept one of the listed options for carrots (there are so many versions of carrots btwn mods).

I think it would be a framework mod possibly that mod authors can use to write new "dynamic recipes" allowing for more flexibility in cooking.

I've seen mods that are sort of similar to this idea (Advanced Cooking and Okay Recipes) but they don't have an option for recipe ingredient substitutions.

Using categories for ingredients is the closest thing we have now and that's neat but they're pretty broad. Having subcategories for things like vegan products within the larger -5/-6 egg/milk categories would be cool!

Also, the fish category makes sashimi kind of annoying as any fish will become the same generic sashimi and the price values of the fish are not accounted for. (Tiered sashimi was another idea I had to make low/mid/high grade sashimi and maki rolls).

spacechase0 commented 1 year ago

DGA allows you to use context tags for recipe ingredients - 1.6 will have this feature in SpaceCore

cho0pera commented 1 year ago

@spacechase0 - oh, but DGA recipe and Love of Cooking are not cooperative AFAIK (?) I don't know the how or why but I was told that LoC breaks DGA recipes. Is this correct?

spacechase0 commented 1 year ago

Yeah, Love of Cooking would need to add support for SpaceCore's crafting recipe API.