Merge pull request #11945 from PsiOmegaDelta/160108-GhostlyAccess

Admin observers now have an all access id.
This commit is contained in:
Ccomp5950
2016-01-09 02:40:18 -05:00
2 changed files with 21 additions and 0 deletions

View File

@@ -193,6 +193,15 @@
/mob/proc/GetIdCard()
return null
var/obj/item/weapon/card/id/all_access/ghost_all_access
/mob/dead/observer/GetIdCard()
if(!is_admin(src))
return
if(!ghost_all_access)
ghost_all_access = new()
return ghost_all_access
/mob/living/bot/GetIdCard()
return botcard

View File

@@ -257,3 +257,15 @@ var/const/NO_EMAG_ACT = -50
/obj/item/weapon/card/id/centcom/ERT/New()
..()
access |= get_all_station_access()
/obj/item/weapon/card/id/all_access
name = "\improper Administrator's spare ID"
desc = "The spare ID of the Lord of Lords himself."
icon_state = "data"
item_state = "tdgreen"
registered_name = "Administrator"
assignment = "Administrator"
/obj/item/weapon/card/id/all_access/New()
access = get_access_ids()
..()