Space Station 13 - Modules - TypesProc Details

job_selector

Procs

assign_all_rolesFills var "assigned_role" for all ready players.
check_command_positionsThis proc is called at the start of the level loop of assign_all_roles() and will cause head jobs to be checked before any other jobs of the same level.
fill_head_positionThis proc is called before the level loop of assign_all_roles() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check
latejoin_assignConvenience proc for handling a single latejoin player

Proc Details

assign_all_roles

Fills var "assigned_role" for all ready players.

check_command_positions

This proc is called at the start of the level loop of assign_all_roles() and will cause head jobs to be checked before any other jobs of the same level.

fill_head_position

This proc is called before the level loop of assign_all_roles() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check

latejoin_assign

Convenience proc for handling a single latejoin player