Mixing 2 ideas of level generation


I am trying to build the dungeon which want both randomly generated map with some there and custom premade elements.

Simple example:
Custom elements:

  • Side quest room
  • Boss room
  • Some special event room
  • Start room

Now I would like to generate a level when we always use predefined start and boss room(boss is end of the dungeon). Between those I would like to fully randomise generate the paths and rooms. One of the generated paths should lead to predefined side quest room. 2 rooms before the boss, there should be premade special event room.

I managed to generate levels from custom modules and it is working fine but I am wondering if there is any way to skip the need of defining everything manually (so I can put the all the effort only for the most important rooms).