map_generator ![code/modules/procedural_mapping/mapGenerator.dm 3](git.png)
This type is responsible for any map generation behavior that is done in areas, override this to allow for area-specific map generation. This generation is ran by areas in initialize.
Vars | |
map | Map information, such as the start and end turfs of the map generation. |
---|---|
modules | The map generator modules that we will generate and sync to. |
Procs | |
generate_terrain | This proc will be ran by areas on Initialize, and provides the areas turfs as argument to allow for generation. |
populate_terrain | Populate terrain with flora, fauna, features and basically everything that isn't a turf. |
Var Details
map ![code/modules/procedural_mapping/mapGenerator.dm 6](git.png)
Map information, such as the start and end turfs of the map generation.
modules ![code/modules/procedural_mapping/mapGenerator.dm 9](git.png)
The map generator modules that we will generate and sync to.
Proc Details
generate_terrain
This proc will be ran by areas on Initialize, and provides the areas turfs as argument to allow for generation.
populate_terrain
Populate terrain with flora, fauna, features and basically everything that isn't a turf.