Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Million Dollar TTRPG Crowdfunders
Most Anticipated Tabletop RPGs Of The Year
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*TTRPGs General
Shadowdark: Stocking A Dungeon Example
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ruemere" data-source="post: 9869601" data-attributes="member: 5515"><p>A small update - just in case anyone was interested.</p><p></p><p>I have created a dungeon stocking generator that runs in Python and stocks a dungeon based on Shadowdark dungeon stocking tables. Actually, I have used Shadowdark tables, imported them into YAML file, and used ChatGPT to generate necessary scripts.</p><p></p><p>The files:</p><p>(see attached <strong>py.zip</strong>)</p><p>test.md - a text file of a test dungeon - markdown format</p><p>test.yml - a text file for potential further processing - yaml format</p><p>dungeon_stocking.py - the generator in Python. To run it, you need to install Python, and then install pyyaml module by running "pip install pyyaml"</p><p>dungeon_stocking.yml - the Shadowdark dungeon stocking tables definitions</p><p></p><p>To call the script call it like this for <strong>repeatable</strong> results:</p><p><strong>python dungeon_stocking.py --out-md test.md --out-yaml test.yml --seed 1499496584 --danger-level Unsafe --site-size Large --site-type Ruins dungeon_stocking.yml</strong></p><p></p><p>Or like this to get fully randomized:</p><p><strong>python dungeon_stocking.py --out-md test.md --out-yaml test.yml dungeon_stocking.yml</strong></p><p></p><p>Trace section is to provide more insight into working of the generator.</p><p></p><p>Enjoy!</p><p></p><p>Sample results:</p><p>----</p><p></p><h3>Dungeon Stocking</h3><h3>Site Profile</h3> <ul> <li data-xf-list-type="ul"><strong>Danger level:</strong> Unsafe</li> <li data-xf-list-type="ul"><strong>Site size:</strong> Large (12d10)</li> <li data-xf-list-type="ul"><strong>Site type:</strong> Ruins</li> </ul><h3>Rooms</h3><h4>Room 1 (treasure: Protected by trap; add-on: trap: Ancient, Magical)</h4><h4>Room 2 (major hazard: Drowning hazard)</h4><h4>Room 3 (npc: Wounded)</h4><h4>Room 4 (trap: Sturdy, Mechanical)</h4><h4>Room 5 (minor hazard: Enfeebling magic)</h4><h4>Room 6 (empty)</h4><h4>Room 7 (major hazard: Long fall)</h4><h4>Room 8 (treasure: Guarded by monster; add-on: solo monster: Sneaky, Spellcaster)</h4><h4>Room 9 (monster mob: Stealthy, Vermin)</h4><h4>Room 10 (npc: Hiding)</h4><h4>Room 11 (npc: Wounded)</h4><h4>Room 12 (treasure: Guarded by monster; add-on: solo monster: Clever, Pariah)</h4><p></p><p>----</p><h3>Dungeon Stocking</h3><h3>Site Profile</h3> <ul> <li data-xf-list-type="ul"><strong>Danger level:</strong> Unsafe</li> <li data-xf-list-type="ul"><strong>Site size:</strong> Medium (8d10)</li> <li data-xf-list-type="ul"><strong>Site type:</strong> Ruins</li> </ul><h3>Rooms</h3><h4>Room 1 (npc: Hiding)</h4><h4>Room 2 (npc: Captive)</h4><h4>Room 3 (empty)</h4><h4>Room 4 (solo monster: Mighty, Ambusher)</h4><h4>Room 5 (major hazard: Long fall)</h4><h4>Room 6 (monster mob: Stealthy, Vermin)</h4><h4>Room 7 (empty)</h4><h4>Room 8 (npc: Wounded)</h4><p></p><p>----</p><h3>Dungeon Stocking</h3><h3>Site Profile</h3> <ul> <li data-xf-list-type="ul"><strong>Danger level:</strong> Unsafe</li> <li data-xf-list-type="ul"><strong>Site size:</strong> Large (12d10)</li> <li data-xf-list-type="ul"><strong>Site type:</strong> Tomb</li> </ul><h3>Rooms</h3><h4>Room 1 (solo monster: Clever, Pariah)</h4><h4>Room 2 (npc: Wounded)</h4><h4>Room 3 (major hazard: Entrapping terrain)</h4><h4>Room 4 (monster mob: Magical, Warriors)</h4><h4>Room 5 (npc: Rival crawlers)</h4><h4>Room 6 (empty)</h4><h4>Room 7 (boss_monster: Physically strongest)</h4><h4>Room 8 (npc: Rival crawlers)</h4><h4>Room 9 (npc: Captive)</h4><h4>Room 10 (trap: Large, Magical)</h4><h4>Room 11 (monster mob: Reckless, Tricksters)</h4><h4>Room 12 (boss_monster: Supreme sorcerer)</h4></blockquote><p></p>
[QUOTE="ruemere, post: 9869601, member: 5515"] A small update - just in case anyone was interested. I have created a dungeon stocking generator that runs in Python and stocks a dungeon based on Shadowdark dungeon stocking tables. Actually, I have used Shadowdark tables, imported them into YAML file, and used ChatGPT to generate necessary scripts. The files: (see attached [B]py.zip[/B]) test.md - a text file of a test dungeon - markdown format test.yml - a text file for potential further processing - yaml format dungeon_stocking.py - the generator in Python. To run it, you need to install Python, and then install pyyaml module by running "pip install pyyaml" dungeon_stocking.yml - the Shadowdark dungeon stocking tables definitions To call the script call it like this for [B]repeatable[/B] results: [B]python dungeon_stocking.py --out-md test.md --out-yaml test.yml --seed 1499496584 --danger-level Unsafe --site-size Large --site-type Ruins dungeon_stocking.yml[/B] Or like this to get fully randomized: [B]python dungeon_stocking.py --out-md test.md --out-yaml test.yml dungeon_stocking.yml[/B] Trace section is to provide more insight into working of the generator. Enjoy! Sample results: ---- [HEADING=2]Dungeon Stocking[/HEADING] [HEADING=2]Site Profile[/HEADING] [LIST] [*][B]Danger level:[/B] Unsafe [*][B]Site size:[/B] Large (12d10) [*][B]Site type:[/B] Ruins [/LIST] [HEADING=2]Rooms[/HEADING] [HEADING=3]Room 1 (treasure: Protected by trap; add-on: trap: Ancient, Magical)[/HEADING] [HEADING=3]Room 2 (major hazard: Drowning hazard)[/HEADING] [HEADING=3]Room 3 (npc: Wounded)[/HEADING] [HEADING=3]Room 4 (trap: Sturdy, Mechanical)[/HEADING] [HEADING=3]Room 5 (minor hazard: Enfeebling magic)[/HEADING] [HEADING=3]Room 6 (empty)[/HEADING] [HEADING=3]Room 7 (major hazard: Long fall)[/HEADING] [HEADING=3]Room 8 (treasure: Guarded by monster; add-on: solo monster: Sneaky, Spellcaster)[/HEADING] [HEADING=3]Room 9 (monster mob: Stealthy, Vermin)[/HEADING] [HEADING=3]Room 10 (npc: Hiding)[/HEADING] [HEADING=3]Room 11 (npc: Wounded)[/HEADING] [HEADING=3]Room 12 (treasure: Guarded by monster; add-on: solo monster: Clever, Pariah)[/HEADING] ---- [HEADING=2]Dungeon Stocking[/HEADING] [HEADING=2]Site Profile[/HEADING] [LIST] [*][B]Danger level:[/B] Unsafe [*][B]Site size:[/B] Medium (8d10) [*][B]Site type:[/B] Ruins [/LIST] [HEADING=2]Rooms[/HEADING] [HEADING=3]Room 1 (npc: Hiding)[/HEADING] [HEADING=3]Room 2 (npc: Captive)[/HEADING] [HEADING=3]Room 3 (empty)[/HEADING] [HEADING=3]Room 4 (solo monster: Mighty, Ambusher)[/HEADING] [HEADING=3]Room 5 (major hazard: Long fall)[/HEADING] [HEADING=3]Room 6 (monster mob: Stealthy, Vermin)[/HEADING] [HEADING=3]Room 7 (empty)[/HEADING] [HEADING=3]Room 8 (npc: Wounded)[/HEADING] ---- [HEADING=2]Dungeon Stocking[/HEADING] [HEADING=2]Site Profile[/HEADING] [LIST] [*][B]Danger level:[/B] Unsafe [*][B]Site size:[/B] Large (12d10) [*][B]Site type:[/B] Tomb [/LIST] [HEADING=2]Rooms[/HEADING] [HEADING=3]Room 1 (solo monster: Clever, Pariah)[/HEADING] [HEADING=3]Room 2 (npc: Wounded)[/HEADING] [HEADING=3]Room 3 (major hazard: Entrapping terrain)[/HEADING] [HEADING=3]Room 4 (monster mob: Magical, Warriors)[/HEADING] [HEADING=3]Room 5 (npc: Rival crawlers)[/HEADING] [HEADING=3]Room 6 (empty)[/HEADING] [HEADING=3]Room 7 (boss_monster: Physically strongest)[/HEADING] [HEADING=3]Room 8 (npc: Rival crawlers)[/HEADING] [HEADING=3]Room 9 (npc: Captive)[/HEADING] [HEADING=3]Room 10 (trap: Large, Magical)[/HEADING] [HEADING=3]Room 11 (monster mob: Reckless, Tricksters)[/HEADING] [HEADING=3]Room 12 (boss_monster: Supreme sorcerer)[/HEADING] [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
Shadowdark: Stocking A Dungeon Example
Top