Sign in to follow this  
Batta

Recipes within recipes

Recommended Posts

I'm struggling with how to use one completed meal as an ingredient in another. Specifically, we have created a "savory ground beef" that I would like to use as an ingredient in our "shepherd's pie" recipe.  Does anyone know how this is done?  Here's what I have so far:

 

Spoiler

{
  "name": "Shepherd's Pie by Lauren",
  "recipeid": "1505",
    "known":true,  
  "skill": "hot food cooking",
  "trigger": "heat",
  "cookers": [
    {"id": "oven"}
  ],
  "containers": [
    {"id": "roasting dish"}
    ],
  "ingredients":{
    "mandatory":[
      {"id": "savory ground beef"},
      {"id": "potato","pstate": "mashed"},     
      {"id": "tomato","pstate": "chopped"},     
      {"id": "carrot","pstate": "chopped"},
      {"id": "pea pod","pstate": "chopped"},
      {"id": "corn","pstate": "chopped"},     
      {"id": "red mushroom"},
      {"id":"egg","cstate":"raw"},
      {"id": "turmeric","pstate": "ground"},
      {"id": "water","ratio": 10.0,"loss": 0.0}
    ],
  "result": {
    "id": "meal",
    "name": "shepherd's pie",
    "cstate": "baked",
    "material": "beef",
    "difficulty": 50,
    "description": "A tasty baked beef dish full of veggie goodness. Recipe by Lauren."
  }
}

 

And here is the Savory Ground Beef recipe, which is working fine:

Spoiler

{
  "name": "Savory Ground Beef by Marla",
  "recipeid": "1504",
  "known":true,
  "skill": "hot food cooking",
  "trigger": "heat",
  "cookers": [
    {"id": "oven"}
  ],
  "containers": [
    {"id": "frying pan"}
    ],
  "ingredients":{
    "mandatory":[
      {"id": "meat","pstate": "minced","material": "beef"},
      {"id": "onion","pstate": "chopped"},
      {"id": "garlic","pstate": "chopped"},
      {"id": "basil","pstate": "chopped"},
      {"id":"any oil","ratio":0,"loss":100},
      {"id": "salt"}
    ]
  },
  "result": {
    "id": "meal",
    "name": "savory ground beef",
    "cstate": "fried",
    "material": "beef",
    "difficulty": 30,
    "description": "A delicious savory fried beef dish. Recipe by Marla."
  }
}

 

Share this post


Link to post
Share on other sites

You are specifying  "id": "meal" in the result of the ground beef recipe, but use "id": "savory ground beef" in the ingredient list...

 

You could change the ingredient to match, but that will allow any meal made from fried beef (idk if there are any other recipes that actually produce that)

 

        {"id":"meal","cstate":"fried","material":"beef"}
 

The other way is to make the ground beef into a separate item on it's own, but you'll need to actually add that item with a mod.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this