Adds proc for filling an area with map elements, raised vault amount to 5-15
Created by: unid15
#12908 but by me
-
Added get_dimensions() proc to map elements, and get_map_dimensions(file) proc to maploader. Both of them return a list with the map file's width and height.
-
Added populate_area_with_vaults() proc. It randomly fills an area with multiple vaults. The vaults will not overlap with each other. The area can either be an actual area object, or a list of turfs.
-
Added datum/map_element/customizable/vault_spawner for testing the proc above. It fills a rectangle (from 4x4 to 400x400) with random vaults
-
Made vault spawning use the proc above - a lot of bad code removed, now you can change amount of spawned vaults
-
Incorporates #11994, raising amount of spawned vaults from 1-10 to 5-15.