Mapping
Vars | |
adding_new_zlevel | True when in the process of adding a new Z-level, global locking |
---|---|
lists_to_reserve | List of lists of turfs to reserve |
loaded_lazy_templates | list of lazy templates that have been loaded |
map_templates | Name of all maps |
shuttle_templates | Name of all shuttles |
tent_type_templates | map_id of all tents |
z_list | list of all z level datums in the order of their z (z level 1 is at index 1, etc.) |
z_trait_levels | list of traits and their associated z leves |
Procs | |
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 |
get_main_ship_name | Gets a name for the marine ship as per the enabled ship map configuration |
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 |
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 |
Var Details
adding_new_zlevel
True when in the process of adding a new Z-level, global locking
lists_to_reserve
List of lists of turfs to reserve
loaded_lazy_templates
list of lazy templates that have been loaded
map_templates
Name of all maps
shuttle_templates
Name of all shuttles
tent_type_templates
map_id of all tents
z_list
list of all z level datums in the order of their z (z level 1 is at index 1, etc.)
z_trait_levels
list of traits and their associated z leves
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
get_main_ship_name
Gets a name for the marine ship as per the enabled ship map configuration
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
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