diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm index 5ad4386a8f14..f64355e69a37 100644 --- a/modular_ss220/jobs/code/cards_ids.dm +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -43,6 +43,33 @@ GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student")) . = ..() +/obj/machinery/computer/card/ui_data(mob/user) + var/list/data = ..() + + if(mode == IDCOMPUTER_SCREEN_TRANSFER) // JOB TRANSFER + if(modify && scan && !target_dept) + data["jobs_engineering"] |= "Trainee Engineer" + data["jobs_medical"] |= "Intern" + data["jobs_science"] |= "Student Scientist" + data["jobs_security"] |= "Security Cadet" + data["card_skins"] |= format_card_skins(GLOB.Jobs_SS220) // + format_card_skins(list("intern", "cadet", "trainee", "student")) + + return data + +/obj/machinery/computer/card/ui_act(action, params) + . = ..() + + switch(action) + if("skin") + if(!modify) + return FALSE + var/skin = params["skin_target"] + if(!skin || !(skin in GLOB.Jobs_SS220)) + return FALSE + + modify.icon_state = skin + return TRUE + /obj/item/card/id/medical/intern name = "Intern ID" registered_name = "Intern" diff --git a/modular_ss220/jobs/code/job/engineering_jobs.dm b/modular_ss220/jobs/code/job/engineering_jobs.dm index b50807bc4cb8..b85993753b84 100644 --- a/modular_ss220/jobs/code/job/engineering_jobs.dm +++ b/modular_ss220/jobs/code/job/engineering_jobs.dm @@ -30,3 +30,8 @@ head = /obj/item/clothing/head/soft/orange if("Engineer Student") head = /obj/item/clothing/head/beret/eng + +// Identification jobs for console +/datum/job/engineer/trainee + title = "Trainee Engineer" + hidden_from_job_prefs = TRUE diff --git a/modular_ss220/jobs/code/job/medical_jobs.dm b/modular_ss220/jobs/code/job/medical_jobs.dm index 8d098a8b4cbc..1e60c36be628 100644 --- a/modular_ss220/jobs/code/job/medical_jobs.dm +++ b/modular_ss220/jobs/code/job/medical_jobs.dm @@ -30,3 +30,8 @@ if("Student Medical Doctor") head = /obj/item/clothing/head/surgery/green/light uniform = /obj/item/clothing/under/rank/medical/scrubs/green/light + +// Identification jobs for console +/datum/job/doctor/intern + title = "Intern" + hidden_from_job_prefs = TRUE diff --git a/modular_ss220/jobs/code/job/science_jobs.dm b/modular_ss220/jobs/code/job/science_jobs.dm index 2b51cb306222..cca908645841 100644 --- a/modular_ss220/jobs/code/job/science_jobs.dm +++ b/modular_ss220/jobs/code/job/science_jobs.dm @@ -20,3 +20,8 @@ uniform = /obj/item/clothing/under/rank/scientist/student/assistant if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/scientist/student/assistant/skirt + +// Identification jobs for console +/datum/job/scientist/student + title = "Student Scientist" + hidden_from_job_prefs = TRUE diff --git a/modular_ss220/jobs/code/job/security_jobs.dm b/modular_ss220/jobs/code/job/security_jobs.dm index ca6d70161673..3651ac26e446 100644 --- a/modular_ss220/jobs/code/job/security_jobs.dm +++ b/modular_ss220/jobs/code/job/security_jobs.dm @@ -24,3 +24,8 @@ uniform = /obj/item/clothing/under/rank/security/cadet/assistant/skirt if("Security Graduate") head = /obj/item/clothing/head/beret/sec + +// Identification jobs for console +/datum/job/officer/cadet + title = "Security Cadet" + hidden_from_job_prefs = TRUE