# Quest Block

![Quest Block](/files/-LNjFQs62SN4p7dr8kZ8)

The quest block creates a new quest wrapper and is needed to create a quest.

### Parameters

| Name               | Usage                                                     | Type    | Other                                                                          |
| ------------------ | --------------------------------------------------------- | ------- | ------------------------------------------------------------------------------ |
| Level Requirement  | The level that is needed to start the quest               | Number  |                                                                                |
| QP Requirement     | The amount of quest points needed to start the quest.     | Number  |                                                                                |
| Members Only       | If the quest is members only.                             | Boolean |                                                                                |
| Quest Name         | The name of the quest                                     | Text    |                                                                                |
| Quest ID           | The ID of the quest                                       | Number  |                                                                                |
| Start NPC          | The ID of the NPC that starts the quest                   | Number  |                                                                                |
| Filename           | The internal name of the quest                            | Text    |                                                                                |
| Stages             | The amount of stages the quest has                        | Number  |                                                                                |
| Gold Reward        | The amount of gold the user will be rewarded with         | Number  |                                                                                |
| XP Reward          | The amount of XP the user will be rewarded with           | Number  |                                                                                |
| Quest Point Reward | The amount of quest points the user will be rewarded with | Number  |                                                                                |
| Item Rewards       | The items the user gets when the quest is completed       | List    | See [here](/quest-editor/quest-blocks/quest.md#item-list) for more information |

## Item List

The item list is special as it needs a list of lists.

To add an item, drag two [`Create List With`](https://github.com/DiscordDungeons/quest-editor-docs/tree/b4193be94b7b0d5dd330890b30d1fa49f6aa68ee/blocks/blocks/list/create_list.md) blocks into the `Item Rewards` parameter, attaching the second list block to the first list block.

![Quest Block With Lists](/files/-LOI2Y5l2QI8lOTGESWi)

In the second block, add two [`Text`](https://github.com/DiscordDungeons/quest-editor-docs/tree/b4193be94b7b0d5dd330890b30d1fa49f6aa68ee/blocks/blocks/text/text.md) blocks and set the first one to the ID of the item you want to give, and the second one to the amount.

![Quest Block With Items](/files/-LOI2Y5oGEBs52l5PXMf)


---

# 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://docs.discorddungeons.me/quest-editor/quest-blocks/quest.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.
