mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
jobs, access and radio to defines (#18297)
* jobs, access and radio to defines * . * . * urg * . * . * finish the radio freqs * why * . * . * ticker initial * eh --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
1cb38c22ec
commit
e956d13a6b
@@ -5,7 +5,7 @@
|
||||
desc = "Nothing is being built."
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
req_access = list(access_robotics)
|
||||
req_access = list(ACCESS_ROBOTICS)
|
||||
circuit = /obj/item/circuitboard/mechfab
|
||||
speed_process = TRUE
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Nothing else in the console has ID requirements.
|
||||
icon_screen = "rdcomp"
|
||||
icon_keyboard = "rd_key"
|
||||
circuit = /obj/item/circuitboard/rdconsole
|
||||
req_access = list(access_research) // Locking and unlocking the console requires research access
|
||||
req_access = list(ACCESS_RESEARCH) // Locking and unlocking the console requires research access
|
||||
/// Reference to global science techweb
|
||||
var/datum/techweb/stored_research
|
||||
/// The stored technology disk, if present
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
icon_state = "RD-server-on"
|
||||
var/base_icon_state = "RD-server"
|
||||
circuit = /obj/item/circuitboard/machine/rdserver
|
||||
req_access = list(access_rd)
|
||||
req_access = list(ACCESS_RD)
|
||||
|
||||
/// if TRUE, we are currently operational and giving out research points.
|
||||
var/working = TRUE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_screen = "rdcomp"
|
||||
icon_keyboard = "rd_key"
|
||||
circuit = /obj/item/circuitboard/rdservercontrol
|
||||
req_access = list(access_rd)
|
||||
req_access = list(ACCESS_RD)
|
||||
|
||||
///Connected techweb node the server is connected to.
|
||||
var/datum/techweb/stored_research
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
if(istype(user, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/human_user = user
|
||||
var/list/access = human_user.wear_id?.GetAccess()
|
||||
if(access_rd in access)
|
||||
if(ACCESS_RD in access)
|
||||
queue_first = TRUE
|
||||
|
||||
if(id in research_queue_nodes)
|
||||
|
||||
Reference in New Issue
Block a user