mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
Job refactor 2: less hardcoded lists (#60578)
* Job refactor 2: less hardcoded lists * Obsessed can happen
This commit is contained in:
@@ -154,7 +154,7 @@ GLOBAL_DATUM(current_anonymous_theme, /datum/anonymous_theme)
|
||||
priority_announce("As punishment for this station's poor productivity when compared to neighbor stations, names and identities will be restricted until further notice.", "Finance Report", SSstation.announcer.get_rand_alert_sound())
|
||||
|
||||
/datum/anonymous_theme/employees/anonymous_name(mob/target)
|
||||
var/is_head_of_staff = target.mind.assigned_role.departments & DEPARTMENT_COMMAND
|
||||
var/is_head_of_staff = target.mind.assigned_role.departments_bitflags & DEPARTMENT_BITFLAG_COMMAND
|
||||
var/name = "[is_head_of_staff ? "Manager" : "Employee"] "
|
||||
for(var/i in 1 to 6)
|
||||
if(prob(30) || i == 1)
|
||||
|
||||
Reference in New Issue
Block a user