> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/shared-properties/prerequisite-conditions.md).

# Prerequisite Conditions

Prerequisite conditions are lists of conditions that must be satisfied, and can be used to gate objects from spawning or interactable options from being available.

## Properties

| Name                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Require Any                   | If true, only one condition needs to be satisfied for the prerequisite to be met.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Reverse Match                 | If true, the prerequisites will use use NOT logic, and must be false to be met.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Level Prerequisites           | <p>A list of level prerequisites that must be met.<br><strong>Required Level</strong><br>The character must be at or above this level for the prerequisite to be met.</p>                                                                                                                                                                                                                                                                                                                                                                            |
| Character Class Prerequisites | <p>A list of <a href="/scriptable-objects/character-class.md">Character Class</a> prerequisites that must be met.<br><strong>Required Character Class</strong><br>The character class that the character must be for the prerequisite to be met.</p>                                                                                                                                                                                                                                                                                                 |
| Quest Prerequisites           | <p>A list of <a href="/scriptable-objects/quest.md">Quest</a> prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the quest.  If Require Complete and Require Turned In are false, the character must have the quest in their quest log.<br><strong>Step Index</strong><br>For multi-step quests, the step of the quest that must be active.<br><strong>Require Complete</strong><br>If true, the quest must be marked complete.<br><strong>Require Turned In</strong><br>If true, the quest must be turned in.</p> |
| Dialog Prerequisites          | <p>A list of <a href="/scriptable-objects/dialog.md">Dialog</a> prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the <a href="/scriptable-objects/dialog.md">Dialog</a> that must be completed.</p>                                                                                                                                                                                                                                                                                                              |
| Visit Zone Prerequisites      | <p>A list of visit zone prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the Scene that must have been visited for the prerequisite to be met.</p>                                                                                                                                                                                                                                                                                                                                                               |
| Trade Skill Prerequisites     | <p>A list of trade skill prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the <a href="/scriptable-objects/skill.md">Trade Skill</a> the character must know for the prerequisite to be met.</p>                                                                                                                                                                                                                                                                                                                 |
| Ability Prerequisites         | <p>A list of ability prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the <a href="/scriptable-objects/abilities.md">Ability</a> that must be known for the prerequisite to be met.</p>                                                                                                                                                                                                                                                                                                                          |
| Faction Prerequisites         | <p>A list of faction prerequisites that must be met.<br><strong>Prerequisite Name</strong><br>The name of the faction the character must have reputation with.<br><strong>Prerequisite Disposition</strong><br>The amount of reputation the character must have.</p>                                                                                                                                                                                                                                                                                 |
