mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
@@ -113,7 +113,7 @@
|
||||
.["id_icon"] = icon2html(target.idcard, user, sourceonly=TRUE)
|
||||
var/list/active_access = list()
|
||||
for(var/access in target.idcard?.GetAccess())
|
||||
active_access += list(list("id" = access, "name" = get_access_desc(access)))
|
||||
active_access += list(list("id" = access, "name" = SSaccess.get_access_desc(access)))
|
||||
.["target"]["active_access"] = active_access
|
||||
var/list/access_options = list()
|
||||
for(var/datum/access/acc)
|
||||
@@ -485,17 +485,17 @@
|
||||
target.idcard.access -= text2num(params["access"])
|
||||
return TRUE
|
||||
if("add_centcom")
|
||||
target.idcard.access |= get_all_centcom_access()
|
||||
target.idcard.access |= SSaccess.get_all_centcom_access()
|
||||
return TRUE
|
||||
if("rem_centcom")
|
||||
target.idcard.access -= get_all_centcom_access()
|
||||
target.idcard.access -= SSaccess.get_all_centcom_access()
|
||||
return TRUE
|
||||
if("add_station")
|
||||
target.idcard.access |= get_all_station_access()
|
||||
target.idcard.access |= SSaccess.get_all_station_access()
|
||||
target.idcard.access |= ACCESS_SYNTH
|
||||
return TRUE
|
||||
if("rem_station")
|
||||
target.idcard.access -= get_all_station_access()
|
||||
target.idcard.access -= SSaccess.get_all_station_access()
|
||||
target.idcard.access -= ACCESS_SYNTH
|
||||
return TRUE
|
||||
if("law_channel")
|
||||
|
||||
Reference in New Issue
Block a user