Space Station 13 - Modules - TypesProc Details

job

Procs

get_spawnpointReturn appropriate /datum/spawnpoint for given client
is_branch_allowedCheck if members of the given branch are allowed in the job
is_rank_allowedCheck if people with given rank are allowed in this job

Proc Details

get_spawnpoint

Return appropriate /datum/spawnpoint for given client

Spawnpoint will be the one set in preferences for the client, unless the preference is not set, or the preference is not appropriate for the rank, in which case a fallback will be selected.

is_branch_allowed

Check if members of the given branch are allowed in the job

This proc should only be used after the global branch list has been initialized.

branch_name - String key for the branch to check

is_rank_allowed

Check if people with given rank are allowed in this job

This proc should only be used after the global branch list has been initialized.

branch_name - String key for the branch to which the rank belongs rank_name - String key for the rank itself