/datum/job 
Vars | |
faction_menu | Under what faction menu the job gets displayed in lobby |
---|---|
gets_emergency_kit | If TRUE, this job will spawn w/ a cryo emergency kit during evac/red alert |
handle_spawn_and_equip | When set to true, SSticker won't call spawn_in_player, instead calling the job's spawn_and_equip proc |
job_options | When set you will be able to choose between the different job options when selecting your role. Associated list. Main list elements - actual options, associated values - shorthands for job preferences menu (keep those short). |
loadout_points | How many points people with this role selected get to pick from |
Procs | |
can_play_role_in_scenario | Whether the client passes requirements for the scenario |
filter_job_option | Intended to be overwritten to handle any requirements for specific job variations that can be selected |
get_active_player_on_job | Returns the active player on this job, specifically for singleton jobs |
handle_job_options | Intended to be overwritten to handle when a job has variants that can be selected. |
load_loadout | If we have one, equip our mob with their job gear |
on_cryo | Called when the job owner enters deep cryogenic storage |
Var Details
faction_menu 
Under what faction menu the job gets displayed in lobby
gets_emergency_kit 
If TRUE, this job will spawn w/ a cryo emergency kit during evac/red alert
handle_spawn_and_equip 
When set to true, SSticker won't call spawn_in_player, instead calling the job's spawn_and_equip proc
job_options 
When set you will be able to choose between the different job options when selecting your role. Associated list. Main list elements - actual options, associated values - shorthands for job preferences menu (keep those short).
loadout_points 
How many points people with this role selected get to pick from
Proc Details
can_play_role_in_scenario
Whether the client passes requirements for the scenario
filter_job_option
Intended to be overwritten to handle any requirements for specific job variations that can be selected
get_active_player_on_job
Returns the active player on this job, specifically for singleton jobs
handle_job_options
Intended to be overwritten to handle when a job has variants that can be selected.
load_loadout
If we have one, equip our mob with their job gear
on_cryo
Called when the job owner enters deep cryogenic storage