map_template
Vars | |
ceiling_baseturfs | What baseturfs to set when replacing openspace when has_ceiling is true |
---|---|
ceiling_turf | What turf to replace openspace with when has_ceiling is true |
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 |
has_ceiling | If true, any openspace turfs above the template will be replaced with ceiling_turf when loading. Should probably be FALSE for lower levels of multi-z ruins. |
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
ceiling_baseturfs
What baseturfs to set when replacing openspace when has_ceiling is true
ceiling_turf
What turf to replace openspace with when has_ceiling is true
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
has_ceiling
If true, any openspace turfs above the template will be replaced with ceiling_turf when loading. Should probably be FALSE for lower levels of multi-z ruins.
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).