Skip to content

Commit

Permalink
Merge pull request #3241 from Tennessee116/feature/job_desc
Browse files Browse the repository at this point in the history
Job descriptions are now displayed on spawn
  • Loading branch information
MistakeNot4892 authored Jul 21, 2023
2 parents aded922 + 4f205b3 commit 9c7bf4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/controllers/subsystems/jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ SUBSYSTEM_DEF(jobs)

to_chat(H, "<font size = 3><B>You are [job.total_positions == 1 ? "the" : "a"] [alt_title ? alt_title : rank].</B></font>")

if(job.description)
to_chat(H, SPAN_BOLD("[job.description]"))

if(job.supervisors)
to_chat(H, "<b>As the [alt_title ? alt_title : rank] you answer directly to [job.supervisors]. Special circumstances may change this.</b>")

Expand Down
1 change: 1 addition & 0 deletions maps/example/example_jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
total_positions = -1
spawn_positions = -1
supervisors = "your conscience"
description = "You need to goof off, have fun, and be silly."
economic_power = 1
access = list()
minimal_access = list()
Expand Down

0 comments on commit 9c7bf4a

Please sign in to comment.