job

Vars | |
additional_jobs_with_icons | A list of additional jobs that have various icons associated with them including sechud and card trims. |
---|---|
all_occupations | List of all jobs. |
assigned_captain | If TRUE, some player has been assigned Captaincy or Acting Captaincy at some point during the shift and has been given the spare ID safe code. |
centcom_jobs | A list of jobs associed with Centcom and should use the standard NT Centcom icons. |
chain_of_command | Keys should be assigned job roles. Values should be >= 1. Represents the chain of command on the station. Lower numbers mean higher priority. Used to give the Cap's Spare safe code to a an appropriate player. Assumed Captain is always the highest in the chain of command. See [/datum/controller/subsystem/ticker/proc/equip_characters] |
dynamic_forced_occupations | Lazylist of mob:occupation_string pairs. |
head_of_staff_jobs | A list of all Head of Staff jobs. |
joinable_occupations | List of jobs that can be joined through the starting menu. |
safe_code_request_loc | The loc to which the emergency safe code has been requested for delivery. |
safe_code_requested | Whether the emergency safe code has been requested via a comms console on shifts with no Captain or Acting Captain. |
safe_code_timer_id | Timer ID for the emergency safe code request. |
station_jobs | A list of all jobs associated with the station. These jobs also have various icons associated with them including sechud and card trims. |
Procs | |
DivideOccupations | |
DropLandAtRandomHallwayPoint | Lands specified mob at a random spot in the hallways |
assign_priority_positions | Blindly assigns the required roles to every player in the dynamic_forced_occupations list. |
fill_ai_positions | Attempts to fill out all available AI positions. |
send_spare_id_safe_code | Send a drop pod containing a piece of paper with the spare ID safe code to loc |
setup_job_lists | Builds various lists of jobs based on station, centcom and additional jobs with icons associated with them. |
Var Details
additional_jobs_with_icons

A list of additional jobs that have various icons associated with them including sechud and card trims.
all_occupations

List of all jobs.
assigned_captain

If TRUE, some player has been assigned Captaincy or Acting Captaincy at some point during the shift and has been given the spare ID safe code.
centcom_jobs

A list of jobs associed with Centcom and should use the standard NT Centcom icons.
chain_of_command

Keys should be assigned job roles. Values should be >= 1. Represents the chain of command on the station. Lower numbers mean higher priority. Used to give the Cap's Spare safe code to a an appropriate player. Assumed Captain is always the highest in the chain of command. See [/datum/controller/subsystem/ticker/proc/equip_characters]
dynamic_forced_occupations

Lazylist of mob:occupation_string pairs.
head_of_staff_jobs

A list of all Head of Staff jobs.
joinable_occupations

List of jobs that can be joined through the starting menu.
safe_code_request_loc

The loc to which the emergency safe code has been requested for delivery.
safe_code_requested

Whether the emergency safe code has been requested via a comms console on shifts with no Captain or Acting Captain.
safe_code_timer_id

Timer ID for the emergency safe code request.
station_jobs

A list of all jobs associated with the station. These jobs also have various icons associated with them including sechud and card trims.
Proc Details
DivideOccupations
- Proc DivideOccupations
- fills var "assigned_role" for all ready players.
- This proc must not have any side effect besides of modifying "assigned_role".
DropLandAtRandomHallwayPoint
Lands specified mob at a random spot in the hallways
assign_priority_positions
Blindly assigns the required roles to every player in the dynamic_forced_occupations list.
fill_ai_positions
Attempts to fill out all available AI positions.
send_spare_id_safe_code
Send a drop pod containing a piece of paper with the spare ID safe code to loc
setup_job_lists
Builds various lists of jobs based on station, centcom and additional jobs with icons associated with them.