# NPC Block

![NPC Block](/files/-LNnujrD3GMUsDgiDDlw)

The NPC block creates a new NPC.

## Parameters

| Name                   | Usage                                                                          | Type          | Other                                                    |
| ---------------------- | ------------------------------------------------------------------------------ | ------------- | -------------------------------------------------------- |
| ID                     | The NPCs ID                                                                    | Number        |                                                          |
| HP                     | The NPCs HP                                                                    | Number        | Isn't actually used, but needs to be set.                |
| Name                   | The NPCs Name                                                                  | Text          |                                                          |
| Level                  | The NPCs Level                                                                 | Number        | Isn't actually used, but needs to be set.                |
| Quest                  | The quest the NPC is a part of.                                                | Text          |                                                          |
| Quest Stages           | The stages of the quest the NPC is a part of.                                  | Text          | )Each stage is a number and is seperated with a comma (, |
| Remove When Quest Done | If the NPC should be removed when the NPCs quest is completed by the user.     | Boolean       |                                                          |
| Random Dialog          | The dialog the NPC has                                                         | List of Texts |                                                          |
| Quest In Progress      | The dialog the NPC has when another quest is in progress                       | Text          |                                                          |
| No Requirement         | The dialog the NPC has when the user doesn't meet the requirements for a quest | Text          |                                                          |


---

# 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/npc.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.
