メインコンテンツまでスキップ

Dungeon Facts

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.

indungeonMap

Properties

id

Unique identifier for this fact. nameString

Display name. group

"> Group this fact belongs to.

InDungeonInstance Fact

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

indungeon_instanceMap

Properties

id

Unique identifier. nameString

Display name. group

"> Group this fact belongs to. dungeonInstance

"> Dungeon instance to check.

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