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

mil_branches

Global object for handling branches

Vars

branchesAll branches that exist
spawn_branches_Branches that a player can choose for spawning, not including species restrictions.
spawn_branches_by_species_Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis

Procs

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
spawn_branchesReturn all spawn branches for the given input
spawn_ranksReturn all spawn ranks for the given input

Var Details

branches

All branches that exist

spawn_branches_

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

spawn_branches_by_species_

Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis

Proc Details

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

spawn_branches

Return all spawn branches for the given input

spawn_ranks

Return all spawn ranks for the given input