Experimental implementation of automated role pings

This commit is contained in:
Casey
2022-08-16 08:01:16 +00:00
committed by CHOMPStation2
parent 329b651700
commit 796ae69274
8 changed files with 141 additions and 6 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]")