# Stages

Stages contain all `Actions` and `Completions` to do, `Objectives` to check in this phase, as well as different parameters. They are declared in stages.yml.

## Under `Stages.<ID>.Options`:

<table data-full-width="false"><thead><tr><th>Parameters</th><th>Explanation</th><th>Examples</th></tr></thead><tbody><tr><td>Initial</td><td>Define the first stage of the dungeon. Only 1 stage can be defined as initial</td><td><code>true</code> if this is the first stage of the dungeon, otherwise, it can be omitted</td></tr><tr><td>Delay</td><td>How long in ticks will the stage wait before starting, the actions will not be done, and the objectives will not be shown on the scoreboard and checked during the delay</td><td></td></tr><tr><td>End</td><td>Define the last stage of the dungeon. Once this stage is completed, the dungeon ends</td><td><code>true</code> if this is the last stage of the dungeon, more than 1 stage can be defined as last stage</td></tr></tbody></table>


---

# 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://factorycraft.gitbook.io/wiki/staged-dungeon/stages.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.
