#Nice nice. Got it on Github?

1 messages · Page 1 of 1 (latest)

swift forum
#

not yet it's still very early ive only started it 🫡
but if any wanna contribute the recipes are json format for now

{
  RecipeName : {
   "Ingredient": IngredientName,
    "Quantity": IngredientQuantity,
    "Ingredient_2": Ingredient2Name,
    "Quantity_2": Ingredient2Quantity,
    etc
  },
  etc
}

tho it's not the best so might change it later on DeltaVeryFunny

rose mist
#

What about something like this?

{
 Recipe: {
  "RecipeName": string,
  "StationName": string,
  "SkillName": string,
  "SkillLevel": integer,
  "ToolName": string,
  "Effort": integer,
  "Ingredients": [
   {"IngredientName": string, "IngredientQuantity": integer},
   {"IngredientName": string, "IngredientQuantity": integer}
  ],
  "Output": [
   {"OutputName": string, "OutputQuantity": integer},
   {"OutputName": string, "OutputQuantity": integer}
  ]
 }
}