Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

map

Vars

_available_backpacksDecl list of backpacks available to outfits and in character generation.
branch_typeslist of branch datum paths for military branches available on this map
branchesAll branches that exist on this map
default_job_titleDefault job title which will be set in some cases.
default_job_typeDefault job type which will be used if map lack of any jobs or for respawn.
default_liquid_fuel_typeA reagent used to prefill lanterns.
disconnected_disposals_tagsA list of disposals tags (sort_type var) that aren't expected to have outputs.
disconnected_wires_test_exempt_turfsA list of lists, of the format ((x, y, z, dir),).
loadout_categoriesA list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null.
map_admin_faxesAssociative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown))))
planet_depthThe amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive.
shuttle_atmos_expectationDefines the expected result of the atmospherics shuttle unit test for atmosphere.
spawn_branches_Branches that a player can choose for spawning on this map, not including species restrictions.
spawn_branches_by_species_Branches that a player can choose for spawning on this map, with species restrictions. Populated on an as-needed basis
survival_box_choicesA list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl.

Procs

generate_planet_spawn_listsFill up the list of planet_spawn_weight and guaranteed_planets
get_all_planet_templatesReturns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance.
get_branchRetrieve branch object by branch name
get_branch_by_typeRetrieve branch object by branch type
get_rankRetrieve a rank object from given branch by name
is_spawn_branchReturn a true value if branch_name is a valid spawn branch key
is_spawn_rankReturn a true value if rank_name is a valid spawn rank in branch under branch_name
populate_branchesPopulate the map branches list
preferences_keyMust be a filename-safe string. In future if map paths get funky, do some sanitization here.
setup_admin_faxesGenerates the default admin faxes addresses
spawn_branchesReturn all spawn branches for the given input
spawn_planet_templatesSpawns all the templates in the given list, one after the other
spawn_ranksReturn all spawn ranks for the given input

Var Details

_available_backpacks

Decl list of backpacks available to outfits and in character generation.

branch_types

list of branch datum paths for military branches available on this map

branches

All branches that exist on this map

default_job_title

Default job title which will be set in some cases.

default_job_type

Default job type which will be used if map lack of any jobs or for respawn.

default_liquid_fuel_type

A reagent used to prefill lanterns.

disconnected_disposals_tags

A list of disposals tags (sort_type var) that aren't expected to have outputs.

disconnected_wires_test_exempt_turfs

A list of lists, of the format ((x, y, z, dir),).

loadout_categories

A list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null.

map_admin_faxes

Associative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown))))

planet_depth

The amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive.

shuttle_atmos_expectation

Defines the expected result of the atmospherics shuttle unit test for atmosphere.

spawn_branches_

Branches that a player can choose for spawning on this map, not including species restrictions.

spawn_branches_by_species_

Branches that a player can choose for spawning on this map, with species restrictions. Populated on an as-needed basis

survival_box_choices

A list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl.

Proc Details

generate_planet_spawn_lists

Fill up the list of planet_spawn_weight and guaranteed_planets

get_all_planet_templates

Returns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance.

get_branch

Retrieve branch object by branch name

get_branch_by_type

Retrieve branch object by branch type

get_rank

Retrieve a rank object from given branch by name

is_spawn_branch

Return a true value if branch_name is a valid spawn branch key

is_spawn_rank

Return a true value if rank_name is a valid spawn rank in branch under branch_name

populate_branches

Populate the map branches list

preferences_key

Must be a filename-safe string. In future if map paths get funky, do some sanitization here.

setup_admin_faxes

Generates the default admin faxes addresses

spawn_branches

Return all spawn branches for the given input

spawn_planet_templates

Spawns all the templates in the given list, one after the other

spawn_ranks

Return all spawn ranks for the given input