adds the ability to mark your character as nameless

This commit is contained in:
deathride58
2019-02-21 06:19:43 -05:00
parent 74c87b3d56
commit 781a15c81e
6 changed files with 24 additions and 4 deletions
+6
View File
@@ -193,6 +193,12 @@
if(!J)
J = SSjob.GetJob(H.job)
if(H.nameless && J.dresscodecompliant)
if(J.title in GLOB.command_positions)
H.real_name = J.title
else
H.real_name = "[J.title] #[rand(10000, 99999)]"
var/obj/item/card/id/C = H.wear_id
if(istype(C))
C.access = J.get_access()