mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 22:28:44 +01:00
[MIRROR] subsystem access (#12596)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
30c7a461cd
commit
9b7b9f0505
@@ -181,7 +181,7 @@
|
||||
|
||||
/obj/item/card/id/synthetic/Initialize(mapload)
|
||||
. = ..()
|
||||
access = get_all_station_access().Copy() + ACCESS_SYNTH
|
||||
access = SSaccess.get_all_station_access().Copy() + ACCESS_SYNTH
|
||||
|
||||
/obj/item/card/id/lost
|
||||
name = "\improper Unknown ID"
|
||||
@@ -214,11 +214,11 @@
|
||||
|
||||
/obj/item/card/id/centcom/Initialize(mapload)
|
||||
. = ..()
|
||||
access = get_all_centcom_access().Copy()
|
||||
access = SSaccess.get_all_centcom_access().Copy()
|
||||
|
||||
/obj/item/card/id/centcom/station/Initialize(mapload)
|
||||
. = ..()
|
||||
access |= get_all_station_access()
|
||||
access |= SSaccess.get_all_station_access()
|
||||
|
||||
/obj/item/card/id/centcom/ert
|
||||
name = "\improper " + JOB_EMERGENCY_RESPONSE_TEAM + "ID"
|
||||
@@ -228,7 +228,7 @@
|
||||
|
||||
/obj/item/card/id/centcom/ert/Initialize(mapload)
|
||||
. = ..()
|
||||
access |= get_all_station_access()
|
||||
access |= SSaccess.get_all_station_access()
|
||||
|
||||
// Department-flavor IDs
|
||||
/obj/item/card/id/medical
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/obj/item/card/id/syndicate/station_access/Initialize(mapload)
|
||||
. = ..() // Same as the normal Syndicate id, only already has all station access
|
||||
access |= get_all_station_access()
|
||||
access |= SSaccess.get_all_station_access()
|
||||
|
||||
/obj/item/card/id/syndicate/Destroy()
|
||||
QDEL_NULL(agentcard_module)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
open()
|
||||
else
|
||||
req_access = list()
|
||||
req_access += pick(get_all_station_access())
|
||||
req_access += pick(SSaccess.get_all_station_access())
|
||||
..()
|
||||
|
||||
/obj/structure/closet/secure_closet/proc/togglelock(mob/user as mob)
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
open()
|
||||
else
|
||||
req_access = list()
|
||||
req_access += pick(get_all_station_access())
|
||||
req_access += pick(SSaccess.get_all_station_access())
|
||||
update_icon()
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user