[FIXED] [MOSTLY MODULAR] Alt titles (#5150)

* it is coming

* fuckin' spelling

* more :)

* saaave meeeee

* id/pda work

except roundstart 😠

* kindaworks ehhh

* special request :)

* manifest me baby

* I am a coder with high standards

i can make spaghetti

oh no you're meeting all my standards

* hos is the department dead

* modularisation begin

* /

* manifest sorting

and by that I mean oh god the lists

* manifests, but modular

* plug n play

* module complete

* blueshield ipcs have monitors for heads :)

* fuck

* Update _job.dm

* Update jobs.dm

* more titles

* even MORE

* i forgot the document

* Update jobs.dm

* counsellor and code cleanup

* Liberty. Reason. Justice. Civility. Edification. Perfection.

* MAIL.

* Update jobs.dm

* Update _job.dm

* couple title changes

no bug fix yet gimme time

* i

* CRITICAL FIX

and some modularisation

* Off-duty

* brigoff, and some cleanup

* everybody loves a clown

so why don't you?

* Update job.dm

Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
FlamingLily
2021-05-07 03:14:49 +01:00
committed by GitHub
co-authored by Gandalf
parent 93c5cae0db
commit e9fd6cb13e
17 changed files with 443 additions and 20 deletions
+6 -2
View File
@@ -547,8 +547,12 @@ SUBSYSTEM_DEF(job)
if(living_mob.mind)
living_mob.mind.assigned_role = rank
//SKYRAT EDIT ADD - ALTERNATE JOB TITLES
var/display_rank = rank
if(M.client && M.client.prefs && M.client.prefs.alt_titles_preferences[rank])
display_rank = M.client.prefs.alt_titles_preferences[rank]
to_chat(M, "<span class='infoplain'><b>You are the [rank].</b></span>")
var/list/packed_items
var/list/packed_items //SKYRAT CHANGE ADDITION - CUSTOMIZATION
if(job)
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
if (M.client && job.no_dresscode && job.loadout)
@@ -570,7 +574,7 @@ SUBSYSTEM_DEF(job)
else
handle_auto_deadmin_roles(M.client, rank)
to_chat(M, "<span class='infoplain'><b>As the [rank] you answer directly to [job.supervisors]. Special circumstances may change this.</b></span>")
to_chat(M, "<span class='infoplain'><b>As the [display_rank] you answer directly to [job.supervisors]. Special circumstances may change this. Your role is that of a [rank]. Regardless of what your job title may be, please work to fulfil that role.</b></span>") //SKYRAT EDIT - ALTERNATE JOB TITLES
job.radio_help_message(M)
if(job.req_admin_notify)
to_chat(M, "<span class='infoplain'><b>You are playing a job that is important for Game Progression. If you have to disconnect, please notify the admins via adminhelp.</b></span>")