/tg/ Station 13 - Modules - TypesVar Details - Proc Details

map_template

Vars

created_atomsthe list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE
returns_created_atomsif true, creates a list of all atoms created by this template loading, defaults to FALSE
should_place_on_topif true, turfs loaded from this template are placed on top of the turfs already there, defaults to TRUE

Procs

discover_offsetTakes in a type path, locates an instance of that type in the cached map, and calculates its offset from the origin of the map, returns this offset in the form list(x, y).

Var Details

created_atoms

the list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE

returns_created_atoms

if true, creates a list of all atoms created by this template loading, defaults to FALSE

should_place_on_top

if true, turfs loaded from this template are placed on top of the turfs already there, defaults to TRUE

Proc Details

discover_offset

Takes in a type path, locates an instance of that type in the cached map, and calculates its offset from the origin of the map, returns this offset in the form list(x, y).