/tg/ Station 13 - Modules - TypesVar Details - Proc Details

job_department

Singleton representing a category of jobs forming a department.

Vars

associated_cargo_groupsList of categories in the cargo console that are associated with this department.
department_accessA list of generic access flags people in this department generally have.
department_bitflagsBitflags associated to the specific department.
department_delivery_areasList of /area types that are considered part of this department's "delivery" area. Acts as a priority system, where first items are picked first.
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.
head_of_staff_accessThe single access associated with the head of staff of this department.
label_classThe header color to be displayed in the ban panel, classes defined in banpanel.css
nation_prefixesFor separatists, what independent name prefix does their nation get named?
ui_colorThe color used in TGUI or similar menus.

Procs

add_jobHandles adding jobs to the department and setting up the job bitflags.
generate_nation_nameReturns a nation name for this department.
remove_jobHandles removing jobs from the department and removing job bitflags.

Var Details

associated_cargo_groups

List of categories in the cargo console that are associated with this department.

department_access

A list of generic access flags people in this department generally have.

department_bitflags

Bitflags associated to the specific department.

department_delivery_areas

List of /area types that are considered part of this department's "delivery" area. Acts as a priority system, where first items are picked first.

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.

head_of_staff_access

The single access associated with the head of staff of this department.

label_class

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

nation_prefixes

For separatists, what independent name prefix does their nation get named?

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.

generate_nation_name

Returns a nation name for this department.

remove_job

Handles removing jobs from the department and removing job bitflags.