Runs the OSE dungeon exploration turn loop: movement between keyed areas, wandering monster checks, resource tracking, searching, doors, and traps. Use when actively exploring a dungeon or wilderness location during an adventure.
Run the exploration turn loop for keyed module adventures. Each turn is 10 minutes of in-game time.
The referee's constitution governs all behavior. Read it before beginning play if it is not already in context. Additionally:
roll.pyplugins/bx-referee/skills/referee/scripts/roll.pyplugins/bx-referee/skills/referee/references/srd_map.mdplugins/bx-referee/skills/referee/references/srd_monsters.mdplugins/bx-referee/skills/referee/references/srd_spells.mduv run plugins/bx-referee/skills/referee/scripts/roll.py "1d6"
Determine the active adventure directory from conversation context. If not available, read the game root path from conversation context or AskUserQuestion, then Glob <game-root>/adventures/*/SESSION.md
Read SESSION.md — current location, turn, hour, game root, and the module file path
Read PARTY.md — cache party composition, HP, equipment, light sources, movement rates
Read LOCATIONS.md — available keyed locations with page/section references
Read the SRD Encounters page: plugins/bx-referee/skills/referee/references/srd/Encounters.md
If no marching order established: AskUserQuestion for marching order (front to back)
The module file stays at its original location. SESSION.md records its path. To read a keyed location, use the Read tool with the reference from LOCATIONS.md:
pages parameter (e.g. pages: "8-9")When moving to a new area, always read the relevant content before describing anything to the player.
Each turn follows this loop:
srd/Dungeon_Adventuring.md (Wandering Monsters section)Skill "encounter" immediately — do not resolve the encounter yourselfPARTY.md to pick up HP/status changes, then resumeWait for the player to state what they do. Do not offer a menu of actions. Common actions include movement, searching, listening, opening doors, interacting with features, and resting — but the player may attempt anything.
A 10-minute turn covers a sequence of cautious exploration, not a single action. Multiple quick actions in the same area fit within one turn. Only advance the turn counter when the party does something that genuinely takes ~10 minutes.
Consumes a full turn:
Free/quick actions within the current turn:
Movement:
Skill "encounter" immediately — do not resolve the encounter yourselfSearch:
srd/Dungeon_Adventuring.mdListen at door:
srd/Dungeon_Adventuring.mdDoors:
srd/Dungeon_Adventuring.md (stuck, locked, closing behaviour)Cast a spell (non-combat):
When a PC casts a spell outside of combat:
plugins/bx-referee/skills/referee/references/srd_spells.md) to find the spell file, then Read it. Note range, duration, area of effect, and saving throw.roll.py against the target's save value. Do not reveal the target number (Article II). Narrate success or failure.Casting a spell takes a full turn (the caster is concentrating on the ritual).
srd/Hazards_and_Challenges.mdsrd/Dungeon_Adventuring.md (Resting section)srd/Time%2C_Weight%2C_Movement.md (gems 1 cn, jewellery 10 cn, potions 10 cn, etc.)ENC and MV on the PC's stat block in PARTY.md using EditOnly show what changed. Compact format:
Turn 7 | Hour 2 | Torch: 5 turns left
Location: 14a — The Chamber of the Magi
Return to step 1.
When monsters are encountered (wandering or room-based):
Skill "encounter" "<monster> <count> dungeon"PARTY.md for updated state| Resource | Duration | Notes |
|---|---|---|
| Torch | 6 turns | 30' radius light |
| Lantern | 24 turns | 30' radius light |
| Rest | After 24 turns | Party should rest 8 hours |
| Rations | 1 per day | Track food supply |
If the player asks to save or stop: Skill "adventure" "save"
Encounters — encounter procedures, wandering monster frequencyDungeon_Adventuring — exploration procedures, doors, searchingEvasion_and_Pursuit — fleeing rules