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

job_department

Singleton representing a category of jobs forming a department.

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
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.

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

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.