Daedalus Dock - Modules - TypesVar Details - Proc Details

mapping

Vars

adding_new_zlevelTrue when in the process of adding a new Z-level, global locking
biomesAll possible biomes in assoc list as type || instance
gravity_by_zlevelshows the default gravity value for each z level. recalculated when gravity generators change. List in the form: list(z level num = max generator gravity in that z level OR the gravity level trait)
laterally_linked_zlevelsSame as above but includes lateral connections. Dangerous!
linked_zlevelsList of Z level connections. This is NOT direct connections, Decks 1 and 3 of a ship are "connected", but not directly. Use SSmapping.are_same_zstack()
lists_to_reserveList of lists of turfs to reserve
multiz_levelslist of all z level indices that form multiz connections. multi_zlevels[Z] = TRUE indicates there is an above Z-level.
themed_ruinsList of ruins, separated by their theme
z_listlist of all z level datums in the order of their z (z level 1 is at index 1, etc.)

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
are_same_zstackChecks if 2 levels are in the same Z-stack.
build_area_turfsIncrement all the z level lists (note: not all yet)
filter_map_optionsTakes a list of map names, returns a list of valid maps.
get_station_centerPrefer not to use this one too often
get_zstackGet a list of Z levels that are in zA's Z-stack.
initialize_biomesInitialize all biomes, assoc as type || instance
initialize_reserved_levelSets up a z level as reserved This is not for wiping reserved levels, use wipe_reservations() for that. If this is called after SSatom init, it will call Initialize on all turfs on the passed z, as its name promises
level_has_all_traitsCheck if levels[z] has all of the specified traits
level_has_any_traitCheck if levels[z] has any of the specified traits
level_traitLook up levels[z].traits[trait]
levels_by_any_traitGet a list of all z which have any of the specified traits
levels_by_traitGet a list of all z which have the specified trait
manage_z_levelTakes a z level datum, and tells the mapping subsystem to manage it
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
setup_ruins##setup_ruins

Var Details

adding_new_zlevel

True when in the process of adding a new Z-level, global locking

biomes

All possible biomes in assoc list as type || instance

gravity_by_zlevel

shows the default gravity value for each z level. recalculated when gravity generators change. List in the form: list(z level num = max generator gravity in that z level OR the gravity level trait)

laterally_linked_zlevels

Same as above but includes lateral connections. Dangerous!

linked_zlevels

List of Z level connections. This is NOT direct connections, Decks 1 and 3 of a ship are "connected", but not directly. Use SSmapping.are_same_zstack()

lists_to_reserve

List of lists of turfs to reserve

multiz_levels

list of all z level indices that form multiz connections. multi_zlevels[Z] = TRUE indicates there is an above Z-level.

themed_ruins

List of ruins, separated by their theme

z_list

list of all z level datums in the order of their z (z level 1 is at index 1, etc.)

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

are_same_zstack

Checks if 2 levels are in the same Z-stack.

build_area_turfs

Increment all the z level lists (note: not all yet)

filter_map_options

Takes a list of map names, returns a list of valid maps.

get_station_center

Prefer not to use this one too often

get_zstack

Get a list of Z levels that are in zA's Z-stack.

initialize_biomes

Initialize all biomes, assoc as type || instance

initialize_reserved_level

Sets up a z level as reserved This is not for wiping reserved levels, use wipe_reservations() for that. If this is called after SSatom init, it will call Initialize on all turfs on the passed z, as its name promises

level_has_all_traits

Check if levels[z] has all of the specified traits

level_has_any_trait

Check if levels[z] has any of the specified traits

level_trait

Look up levels[z].traits[trait]

levels_by_any_trait

Get a list of all z which have any of the specified traits

levels_by_trait

Get a list of all z which have the specified trait

manage_z_level

Takes a z level datum, and tells the mapping subsystem to manage it

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

setup_ruins

##setup_ruins

Sets up all of the ruins to be spawned