Skip to main content
Facts that return 1 (true) or 0 (false) depending on whether the player is inside a dungeon instance.

Entry Types

InDungeon Fact

Returns 1 if the player is inside any active dungeon instance.
indungeon
Map
required

InDungeonInstance Fact

Returns 1 if the player is inside a specific dungeon instance.
indungeon_instance
Map
required

Example

# Check if player is in any dungeon
fact:
  type: indungeon
  id: "player_in_dungeon"
  name: "In Dungeon"

# Check if player is in the Ancient Temple specifically
fact:
  type: indungeon_instance
  id: "in_temple"
  name: "In Ancient Temple"
  dungeonInstance: "ancient_temple"

Usage in Criteria

criteria:
  - type: fact
    fact: "player_in_dungeon"
    operator: ">="
    value: 1