Experimental implementation of automated role pings

This commit is contained in:
Heroman
2022-08-14 15:20:55 +10:00
parent a4bb6f06b7
commit 32a6378a51
5 changed files with 105 additions and 4 deletions
+5 -4
View File
@@ -131,12 +131,13 @@ SUBSYSTEM_DEF(job)
return department_datums[primary_department]
/datum/controller/subsystem/job/proc/get_ping_role(var/role)
var/datum/job/J = get_job(role)
if(J.requestable)
return get_primary_department_of_job(J)
// Someday it might be good to port code/game/jobs/job_controller.dm to here and clean it up.
/datum/controller/subsystem/job/proc/job_debug_message(message)
if(debug_messages)
log_debug("JOB DEBUG: [message]")