Space Station 13 - Modules - TypesVar Details - Proc Details

jobs

Vars

new_malfUsed to grant AI job if antag was rolled.
new_prisonersUsed to grant prisoner job if antag was rolled.

Procs

CheckHeadPositionsThis proc is called at the start of the level loop of DivideOccupations() and will cause head jobs to be checked before any other jobs of the same level
DivideOccupationsProc DivideOccupations fills var "assigned_role" for all ready players. This proc must not have any side effect besides of modifying "assigned_role".
FillHeadPositionThis proc is called before the level loop of DivideOccupations() 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
equip_spawnMoves character in it's job's spawn. Returns outfit override.

Var Details

new_malf

Used to grant AI job if antag was rolled.

new_prisoners

Used to grant prisoner job if antag was rolled.

Proc Details

CheckHeadPositions

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

DivideOccupations

Proc DivideOccupations fills var "assigned_role" for all ready players. This proc must not have any side effect besides of modifying "assigned_role".

FillHeadPosition

This proc is called before the level loop of DivideOccupations() 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

equip_spawn

Moves character in it's job's spawn. Returns outfit override.