Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/job_department

Singleton representing a category of jobs forming a department. NOTICE: This is NOT fully implemented everywhere. Currently only used in: Preferences menu

Vars

department_bitflagsBitflags associated to the specific department.
department_experience_typeExperience granted by playing in a job of this department.
department_headTypepath of the job datum leading this department.
department_jobsJob singleton datums associated to this department. Populated on job initialization.
department_nameDepartment as displayed on different menus.
display_orderThe order in which this department appears on menus, in relation to other departments.
label_classThe header color to be displayed in the ban panel, classes defined in banpanel.css
ui_colorThe color used in TGUI or similar menus.

Procs

add_jobHandles adding jobs to the department and setting up the job bitflags.

Var Details

department_bitflags

Bitflags associated to the specific department.

department_experience_type

Experience granted by playing in a job of this department.

department_head

Typepath of the job datum leading this department.

department_jobs

Job singleton datums associated to this department. Populated on job initialization.

department_name

Department as displayed on different menus.

display_order

The order in which this department appears on menus, in relation to other departments.

label_class

The header color to be displayed in the ban panel, classes defined in banpanel.css

ui_color

The color used in TGUI or similar menus.

Proc Details

add_job

Handles adding jobs to the department and setting up the job bitflags.