devfort / nosebag

Yet another recipe management system
1 stars 0 forks source link

Alternative ingredients #8

Open norm opened 4 years ago

norm commented 4 years ago

I have some recipes that list ingredients that can be substituted for others — eg the original gumbo recipe mine is based on allows for courgette instead of okra where it is hard to find.

Would Dr Syntax be open to representing alternate ingredients, and possibly alternate cooking steps as a result?

jaylett commented 4 years ago

Alternative ingredients would be fairly easy, and Dr. Syntax would support this (he assumes this would be tackled as alternate ingredient objects nested within the primary ingredient objects, as ingredients[n].alternatives[n] or similar, since amounts and prep may vary by alternate).

Alternate steps gets into the same question as in #7, and I think would want to be tackled consistently. (If there's a "nice" way of doing it semantically, that does lend weight to solving #7 within a single recipe.)