automapper 
Vars | |
| config_file | The path to our TOML file |
|---|---|
| loaded_config | Our loaded TOML file |
| preloaded_map_templates | Our preloaded map templates |
| reserved_turfs | Every turf our preloaded templates have laid claim to, kept for the whole round. Anything that loads maps after LoadGroup() has run (modular map modules, for example) must not write over these. |
Procs | |
| get_turf_blacklists | This returns a list of turfs that have been preloaded and preselected using our templates. |
| has_turf_noop | Get whether a given turf of the map template is a /turf/template_noop. |
| init_contents | CentCom atoms aren't initialized but already exist, so must be properly initialized and then qdel'd. Arguments: |
| load_templates_from_cache | Assuming we have preloaded our templates, this will load them from the cache. |
| preload_templates_from_toml | This will preload our templates into a cache ready to be loaded later. |
Var Details
config_file 
The path to our TOML file
loaded_config 
Our loaded TOML file
preloaded_map_templates 
Our preloaded map templates
reserved_turfs 
Every turf our preloaded templates have laid claim to, kept for the whole round. Anything that loads maps after LoadGroup() has run (modular map modules, for example) must not write over these.
Proc Details
get_turf_blacklists
This returns a list of turfs that have been preloaded and preselected using our templates.
Not really useful outside of load groups.
has_turf_noop
Get whether a given turf of the map template is a /turf/template_noop.
You'd think there would be a better API way of doing this, but there is not.
Arguments:
- map - The map_template we are looking at.
- x - The zero-based x coordinate RELATIVE to the map_template.
- y - The zero-based y coordinate RELATIVE to the map_template.
init_contents
CentCom atoms aren't initialized but already exist, so must be properly initialized and then qdel'd. Arguments:
- parent - parent turf
load_templates_from_cache
Assuming we have preloaded our templates, this will load them from the cache.
preload_templates_from_toml
This will preload our templates into a cache ready to be loaded later.
IMPORTANT: This requires Z levels to exist in order to function, so make sure it is preloaded AFTER that.