job_candidate 
A datum representing all the information needed to perform roundstart job selection, without actually needing clients. This allows for the creation of fake candidates, allowing testing of the role selection system independent of the number of actual players.
Vars | |
| account_age_in_days | The account age in days. |
|---|---|
| active_character | The character being considered for assignment. Is a default character save but can have player characters loaded into it via [/datum/job_candidate/proc/load_from_player]. |
| admin_rights | The bitfield of admin rights the candidate has. Used to allow bypasses of playtime requirements for admins if /datum/configuration_section/job_configuration/var/enable_exp_admin_bypass is set. |
| assigned_job_title | The name of the assigned job, once one has been assigned. |
| be_special | The list of special roles the candidate has enabled. |
| exp | A query parameterized list of jobs to hours played. |
| failed_head_antag_roll_ | Whether this candidate failed a head roll as an antag. |
| is_admin | Whether or not the player represented by the candidate is an admin. |
| is_guest_key | Whether or not the player represented by the candidate is logged in on a guest account. |
| jbh | The jobbans of the current player or simulated candidate. |
| latejoin | Whether or not the candidate is a late join candidate, as opposed to a roundstart one. |
| real_ckey | The player's ckey, if the candidate is representing a real player. |
| restricted_roles | The jobs that the candidate cannot play, usually populated as a result of the candidate being assigned a special/antag role. |
| return_to_lobby | Whether or not the player is being returned to the lobby due to a failed job selection. |
| special_role | What, if any, special/antag role has been assigned to the candidate ahead of job selection. |
Var Details
account_age_in_days 
The account age in days.
active_character 
The character being considered for assignment. Is a default character save but can have player characters loaded into it via [/datum/job_candidate/proc/load_from_player].
admin_rights 
The bitfield of admin rights the candidate has. Used to allow bypasses of playtime requirements for admins if /datum/configuration_section/job_configuration/var/enable_exp_admin_bypass is set.
assigned_job_title 
The name of the assigned job, once one has been assigned.
be_special 
The list of special roles the candidate has enabled.
exp 
A query parameterized list of jobs to hours played.
failed_head_antag_roll_ 
Whether this candidate failed a head roll as an antag.
is_admin 
Whether or not the player represented by the candidate is an admin.
is_guest_key 
Whether or not the player represented by the candidate is logged in on a guest account.
jbh 
The jobbans of the current player or simulated candidate.
latejoin 
Whether or not the candidate is a late join candidate, as opposed to a roundstart one.
real_ckey 
The player's ckey, if the candidate is representing a real player.
restricted_roles 
The jobs that the candidate cannot play, usually populated as a result of the candidate being assigned a special/antag role.
return_to_lobby 
Whether or not the player is being returned to the lobby due to a failed job selection.
special_role 
What, if any, special/antag role has been assigned to the candidate ahead of job selection.