Skip to content

Commit

Permalink
[MIRROR] Make Chefs show up as service on the crew monitor (Skyrat-SS…
Browse files Browse the repository at this point in the history
…13#26602)

Make Chefs show up as service on the crew monitor (#81597)

One of the cooks will always be 'promoted' to chef, which has a
different trim assignment. Because the crew monitor didn't account for
this in its display priorities, anyone with a card using its trim would
be displayed as a having departmentless job.
Adding its trim assignment name to the list like departmental security
fixes this.
I put it above cook as it's kind of the head cook.

It was mildly annoying.

:cl:
fix: Chefs (not to be confused with cooks) actually display as being a
part of service on the crew monitor.
/:cl:

Co-authored-by: _0Steven <[email protected]>
  • Loading branch information
SkyratBot and 00-Steven authored Feb 22, 2024
1 parent b713b0b commit e1cddca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
#define JOB_BARTENDER "Bartender"
#define JOB_BOTANIST "Botanist"
#define JOB_COOK "Cook"
#define JOB_CHEF "Chef" // Alternate cook title.
#define JOB_JANITOR "Janitor"
#define JOB_CLOWN "Clown"
#define JOB_MIME "Mime"
Expand Down
23 changes: 12 additions & 11 deletions code/game/machinery/computer/crew.dm
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,18 @@ GLOBAL_DATUM_INIT(crewmonitor, /datum/crewmonitor, new)
// 60+: Service
JOB_HEAD_OF_PERSONNEL = 60,
JOB_BARTENDER = 61,
JOB_COOK = 62,
JOB_BOTANIST = 63,
JOB_CURATOR = 64,
JOB_CHAPLAIN = 65,
JOB_CLOWN = 66,
JOB_MIME = 67,
JOB_JANITOR = 68,
JOB_LAWYER = 69,
JOB_BARBER = 71, // SKYRAT EDIT ADDITION
JOB_BOUNCER = 72, // SKYRAT EDIT ADDITION
// 200-239: Centcom
JOB_CHEF = 62,
JOB_COOK = 63,
JOB_BOTANIST = 64,
JOB_CURATOR = 65,
JOB_CHAPLAIN = 66,
JOB_CLOWN = 67,
JOB_MIME = 68,
JOB_JANITOR = 69,
JOB_LAWYER = 71,
JOB_BARBER = 72, // SKYRAT EDIT ADDITION
JOB_BOUNCER = 73, // SKYRAT EDIT ADDITION
// 200-229: Centcom
JOB_CENTCOM_ADMIRAL = 200,
JOB_CENTCOM = 201,
JOB_CENTCOM_OFFICIAL = 210,
Expand Down

0 comments on commit e1cddca

Please sign in to comment.