Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/lazy_template

Datum used to designate certain areas that do not need to exist nor be loaded at world start but do want to be loaded under certain circumstances. Use this for stuff like the nukie base or wizden, aka stuff that only matters when their antag is rolled.

Vars

keyKey to identify this template - used in caching
map_dirDirectory of maps to prefix to the filename
map_nameThe filename (without extension) of the map to load
reservationsIf this is true each load will increment an index keyed to the type and it will load [map_name]_[index]

Procs

lazy_loadDoes the grunt work of loading the template.

Var Details

key

Key to identify this template - used in caching

map_dir

Directory of maps to prefix to the filename

map_name

The filename (without extension) of the map to load

reservations

If this is true each load will increment an index keyed to the type and it will load [map_name]_[index]

Proc Details

lazy_load

Does the grunt work of loading the template.