From 5a5c01ddb4c0586646ab6d157cf5f5b80ed68683 Mon Sep 17 00:00:00 2001 From: prawnzyy Date: Wed, 15 Nov 2023 23:35:32 +0800 Subject: [PATCH 1/2] Update --- docs/UserGuide.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index a9d2caa290f..f9d250d97ce 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -128,8 +128,6 @@ into the application's input box as shown below.

3. You should see the ingredient added into your ingredient list as seen below. Hooray! You have added your first ingredient!

-
- #### Adding your first recipe Recipe adding is a little more complicated! But don't worry, you will get the hang of it in no time! Refer to the infographic below for step-by-step instructions on adding your first recipe. @@ -408,12 +406,15 @@ Example: * Assuming flour is used in the recipe, `modify i/1 n/Flour q/100 u/g` modifies the `Flour` ingredient in the recipe to 100 grams of flour. * Assuming flour is not used in the recipe, `modify i/1 n/Flour q/100 u/g` adds the 100 grams of the `Flour` ingredient to the recipe. +
+ Example Used: `modify i/1 n/Flour q/100 u/g` **Note**: Recipe being modified has 200g of flour as part of the ingredient list +
Example Used: `modify i/1 n/Cream q/100 u/g` **Note**: Recipe being modified does not have cream in its ingredient list @@ -467,10 +468,13 @@ Examples: * `search flour` searches for all recipes that use `flour` * `search butter` searches for all recipes that use `butter` +
+ Example used: `search flour` **Note**: Multiple recipes use the ingredient flour
+
Example used: `search blueberry` **Note**: Only one recipe uses the ingredient blueberry @@ -490,6 +494,7 @@ Inventory and Recipe data are saved in the hard disk automatically after any com **Note**: When the application loads for the first time and no command is run, no inventory or recipe data will be saved.
+ ### Editing the data file Inventory data are saved automatically as a JSON file `[JAR file location]/data/inventory.json`. Advanced users are welcome to update data directly by editing that data file. From c372c5eeda9dcea3696066a4ed0f21b47742cb44 Mon Sep 17 00:00:00 2001 From: prawnzyy Date: Wed, 15 Nov 2023 23:37:27 +0800 Subject: [PATCH 2/2] Update --- docs/UserGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index f9d250d97ce..e7f2e128132 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -74,7 +74,7 @@ Used to highlight errors to look out for * [Add ingredient](#adding-an-ingredient-add) * [Use ingredient](#using-up-ingredients-use) * [Find quantity of ingredient](#finding-the-quantity-of-an-ingredient-by-name-stock) - * [Clear ingredient list](#clearing-all-entries-from-ingredient-stock-clear) + * [Clear ingredient list](#clearing-all-ingredients-from-ingredient-stock-clear) * [View list of all recipes](#listing-all-recipes-list) * [View a recipe](#viewing-specific-recipes-view) * [Add a recipe](#adding-recipes-addrecipe)