Space Station 13 - Modules - TypesVar Details - Proc Details

mapping

Vars

critical_planesList of plane masters that are of critical priority
existing_station_areasList of areas that exist on the station this shift
fallback_mapWaht map to fallback
ghostteleportlocsList of all areas that can be accessed via IC and OOC means
lavaland_themeWhat do we have as the lavaland theme today?
lists_to_reserveList of lists of turfs to reserve
map_datumWhat map datum are we using
max_plane_offsetThe largest plane offset we've generated so far
multiz_levelslist of lists, inner lists are of the form: list("up or down link direction" = TRUE)
next_mapWhat map will be used next round
num_of_res_levelsAmount of reserved levels we created so far. Mostly we will have only one
plane_offset_blacklistList of planes that do not allow for offsetting
plane_offset_to_trueAssoc list of string plane values to their true, non offset representation
plane_to_offsetAssoc list of string plane to the plane's offset value
previous_mapsMaps played in previous rounds, stores typepaths
render_offset_blacklistList of render targets that do not allow for offsetting
teleportlocsList of all areas that can be accessed via IC means
true_to_offset_planesAssoc list of true string plane values to a list of all potential offset planess
turf_reservationslist of turf reservations
unused_turfsNot actually unused turfs they're unused but reserved for use for whatever requests them. "[zlevel_of_turf]" = list(turfs)
used_turfslist of turf = datum/turf_reservation
z_level_to_lowest_plane_offsetList of z level (as number) -> The lowest plane offset in that z stack
z_level_to_plane_offsetList of z level (as number) -> plane offset of that z level Used to maintain the plane cube
z_level_to_stackList of z level (as number) -> list of all z levels vertically connected to ours Useful for fast grouping lookups and such

Procs

add_reservation_zlevelAdds a new reservation z level. A bit of space that can be handed out on request Of note, reservations default to transit turfs, to make their most common use, shuttles, faster
generate_offset_listsTakes an offset to generate misc lists to, and a base to start from Use this to react globally to maintain parity with plane offsets
get_connected_levelsTakes a turf or a z level, and returns a list of all the z levels that are connected to it
manage_z_levelTakes a z level datum, and tells the mapping subsystem to manage it Also handles things like plane offset generation, and other things that happen on a z level to z level basis
request_turf_block_reservationRequests a /datum/turf_reservation based on the given width, height, and z_size. You can specify a z_reservation to use a specific z level, or leave it null to use any z level.
reserve_turfsSchedules a group of turfs to be handed back to the reservation system's control If await is true, will sleep until the turfs are finished work
run_map_terrain_generationGenerate the turfs of the area
run_map_terrain_populationPopulate the turfs of the area

Var Details

critical_planes

List of plane masters that are of critical priority

existing_station_areas

List of areas that exist on the station this shift

fallback_map

Waht map to fallback

ghostteleportlocs

List of all areas that can be accessed via IC and OOC means

lavaland_theme

What do we have as the lavaland theme today?

lists_to_reserve

List of lists of turfs to reserve

map_datum

What map datum are we using

max_plane_offset

The largest plane offset we've generated so far

multiz_levels

list of lists, inner lists are of the form: list("up or down link direction" = TRUE)

next_map

What map will be used next round

num_of_res_levels

Amount of reserved levels we created so far. Mostly we will have only one

plane_offset_blacklist

List of planes that do not allow for offsetting

plane_offset_to_true

Assoc list of string plane values to their true, non offset representation

plane_to_offset

Assoc list of string plane to the plane's offset value

previous_maps

Maps played in previous rounds, stores typepaths

render_offset_blacklist

List of render targets that do not allow for offsetting

teleportlocs

List of all areas that can be accessed via IC means

true_to_offset_planes

Assoc list of true string plane values to a list of all potential offset planess

turf_reservations

list of turf reservations

unused_turfs

Not actually unused turfs they're unused but reserved for use for whatever requests them. "[zlevel_of_turf]" = list(turfs)

used_turfs

list of turf = datum/turf_reservation

z_level_to_lowest_plane_offset

List of z level (as number) -> The lowest plane offset in that z stack

z_level_to_plane_offset

List of z level (as number) -> plane offset of that z level Used to maintain the plane cube

z_level_to_stack

List of z level (as number) -> list of all z levels vertically connected to ours Useful for fast grouping lookups and such

Proc Details

add_reservation_zlevel

Adds a new reservation z level. A bit of space that can be handed out on request Of note, reservations default to transit turfs, to make their most common use, shuttles, faster

generate_offset_lists

Takes an offset to generate misc lists to, and a base to start from Use this to react globally to maintain parity with plane offsets

get_connected_levels

Takes a turf or a z level, and returns a list of all the z levels that are connected to it

manage_z_level

Takes a z level datum, and tells the mapping subsystem to manage it Also handles things like plane offset generation, and other things that happen on a z level to z level basis

request_turf_block_reservation

Requests a /datum/turf_reservation based on the given width, height, and z_size. You can specify a z_reservation to use a specific z level, or leave it null to use any z level.

reserve_turfs

Schedules a group of turfs to be handed back to the reservation system's control If await is true, will sleep until the turfs are finished work

run_map_terrain_generation

Generate the turfs of the area

run_map_terrain_population

Populate the turfs of the area