this post was submitted on 31 Jul 2022
1 points (100.0% liked)

RPG

4043 readers
2 users here now

Discussion of table top roleplaying games.

founded 4 years ago
MODERATORS
 

I'm making a dungeon generator, partly for fun, and partly to learn python.

I want the output to be plausible, so it'll lay down in three stages:

  1. Make random mine/ natural caves/ fortress
  2. Add a civilization like dwarves/ elves/ gnomes to add rooms, traps at the entrance, maybe a library, and art (i.e. treasure).
  3. Make an invader, e.g. necromancer, goblins, or mad wizard.

At each stage rooms change, so the necromancer will turn dwarves into undead dwarves, and goblins will turn nice spaces into nasty spaces, and maybe set more traps.

Atm it's in early stages, and uses graph-easy to output a conceptual map.

PRs and coding suggestions very welcome.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here