# Recipes

This system allows you to build multi-stage, interactive crafting recipes with items, timers, mini-games, and more.

### :yellow\_circle: How to Create a Recipe

1. Open the menu:\
   \&#xNAN;**`/lcooking menu`**
2. Click the `Recipes` button.
3. Drag your future **result item** into the **Add** button.\
   A new recipe file will be created automatically, with this item set as the final reward.
4. Click the newly created recipe in the list to open its configuration menu.

### :yellow\_circle: Stage Configuration

After selecting a recipe, you enter the **Stage Configuration** screen.\
Here you define how the crafting process will work.

#### Adding a Stage

Press **Add**, then choose one of the stage types:

#### **1. Add Item**

A stage where the player must insert required items.

* Place items into the `Add` button to add them to the requirements list.

#### **2. Wait**

A timed waiting stage.\
The player must simply wait for the process to complete.

#### **3. MiniGame**

A stage that requires completing a mini-game before proceeding.

### :yellow\_circle: Stage Flow

Stages are executed sequentially:

* When the player completes the current stage, the system moves to the next.
* When the last stage finishes successfully, the player receives the final result.
* If the player fails the recipe at any point, all items they inserted are returned.

### :yellow\_circle: Stage Settings

Each stage has additional configuration options:

#### **• Stage Duration**

You can define a time limit for the stage.\
If the player fails to complete the stage before the time ends, the recipe fails.

#### **• Tooltip**

Text hints and messages shown during cooking.\
Supports placeholder:

* **`%time%`** — displays remaining time

Tooltips help guide the player throughout the crafting process.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://paw-studio.gitbook.io/paw-studio-docs/litecooking/recipes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
