mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-04 14:33:10 +00:00
Merge pull request #11945 from PsiOmegaDelta/160108-GhostlyAccess
Admin observers now have an all access id.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user