Skip to content

Some map loader and vault stuff + asteroid pond vault update

Rob Nelson requested to merge pull/11282/dungeons_of_dredmonr into Bleeding-Edge

Created by: unid15

  • It's now possible to load a vault/other map element without specifying any coordinates, the game will just put it in a good secure place on z2. You can load a lot of map elements this way, and they will never overlap.
  • Added a proc "load_dungeon( map element object or path )" that does that
  • "Load Map Element" admin verb now contains this option too
  • You need to put a marker (/obj/effect/landmark/dungeon_area) somewhere on z2 for this feature to work

This can be done to make more interesting vaults. For example, a wizard's den that contains a portal to another dimension. The "another dimension" would be a 60x60 map hidden on z-level 2, loaded only after the main vault spawns.

As an example of a two-map vault, I added a wine cellar to the asteroid pond. Code-wise, it's extremely simple pond The ladder leads to

Merge request reports