map_template
Vars | |
created_atoms | the list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE |
---|---|
default_area | Default area associated with the map template |
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 |
Procs | |
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). |
Var Details
created_atoms
the list of atoms created by this template being loaded, only populated if returns_created_atoms is TRUE
default_area
Default area associated with the map template
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).