/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/jobs.dm

JOB_UNAVAILABLE_ANTAG_INCOMPATJob unavailable due to incompatibility with an antag role.
JOB_UNAVAILABLE_AGEChecks for character age.
GENERIC_JOB_UNAVAILABLE_ERRORUsed when the get_job_unavailable_error_message proc can't make sense of a given code.
JOB_ASSISTANT
JOB_ANNOUNCE_ARRIVALWhether the mob is announced on arrival.
JOB_CREW_MANIFESTWhether the mob is added to the crew manifest.
JOB_EQUIP_RANKWhether the mob is equipped through SSjob.EquipRank() on spawn.
JOB_CREW_MEMBERWhether the job is considered a regular crew member of the station. Equipment such as AI and cyborgs not included.
JOB_NEW_PLAYER_JOINABLEWhether this job can be joined through the new_player menu.
JOB_BOLD_SELECT_TEXTWhether this job appears in bold in the job menu.
JOB_REOPEN_ON_ROUNDSTART_LOSSReopens this position if we lose the player at roundstart.
JOB_ASSIGN_QUIRKSIf the player with this job can have quirks assigned to him or not. Relevant for new player joinable jobs and roundstart antags.
JOB_CAN_BE_INTERNWhether this job can be an intern.
JOB_CANNOT_OPEN_SLOTSThis job cannot have more slots opened by the Head of Personnel (but admins or other random events can still do this).
JOB_HIDE_WHEN_EMPTYThis job will not display on the job menu when there are no slots available, instead of appearing greyed out
JOB_LATEJOIN_ONLYThis job cannot be signed up for at round start or recorded in your preferences
JOB_HEAD_OF_STAFFThis job is a head of staff.
STATION_JOB_FLAGSCombination flag for jobs which are considered regular crew members of the station.
HEAD_OF_STAFF_JOB_FLAGSCombination flag for jobs which are considered heads of staff.
STATION_TRAIT_JOB_FLAGSCombination flag for jobs which are enabled by station traits.
HEAD_OF_STAFF_MIND_TRAITSMind traits that should be shared by every head of staff. has to be this way cause byond lists lol

Define Details

GENERIC_JOB_UNAVAILABLE_ERROR

Used when the get_job_unavailable_error_message proc can't make sense of a given code.

HEAD_OF_STAFF_JOB_FLAGS

Combination flag for jobs which are considered heads of staff.

HEAD_OF_STAFF_MIND_TRAITS

Mind traits that should be shared by every head of staff. has to be this way cause byond lists lol

JOB_ANNOUNCE_ARRIVAL

Whether the mob is announced on arrival.

JOB_ASSIGN_QUIRKS

If the player with this job can have quirks assigned to him or not. Relevant for new player joinable jobs and roundstart antags.

JOB_ASSISTANT

======================= WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

These names are used as keys in many locations in the database you cannot change them trivially without breaking job bans and role time tracking, if you do this and get it wrong you will die and it will hurt the entire time

JOB_BOLD_SELECT_TEXT

Whether this job appears in bold in the job menu.

JOB_CANNOT_OPEN_SLOTS

This job cannot have more slots opened by the Head of Personnel (but admins or other random events can still do this).

JOB_CAN_BE_INTERN

Whether this job can be an intern.

JOB_CREW_MANIFEST

Whether the mob is added to the crew manifest.

JOB_CREW_MEMBER

Whether the job is considered a regular crew member of the station. Equipment such as AI and cyborgs not included.

JOB_EQUIP_RANK

Whether the mob is equipped through SSjob.EquipRank() on spawn.

JOB_HEAD_OF_STAFF

This job is a head of staff.

JOB_HIDE_WHEN_EMPTY

This job will not display on the job menu when there are no slots available, instead of appearing greyed out

JOB_LATEJOIN_ONLY

This job cannot be signed up for at round start or recorded in your preferences

JOB_NEW_PLAYER_JOINABLE

Whether this job can be joined through the new_player menu.

JOB_REOPEN_ON_ROUNDSTART_LOSS

Reopens this position if we lose the player at roundstart.

JOB_UNAVAILABLE_AGE

Checks for character age.

JOB_UNAVAILABLE_ANTAG_INCOMPAT

Job unavailable due to incompatibility with an antag role.

STATION_JOB_FLAGS

Combination flag for jobs which are considered regular crew members of the station.

STATION_TRAIT_JOB_FLAGS

Combination flag for jobs which are enabled by station traits.