/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 | |
filter_job_option | Intended to be overwritten to handle any requirements for specific job variations that can be selected |
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
filter_job_option
Intended to be overwritten to handle any requirements for specific job variations that can be selected
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