mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Merge pull request #2489 from Fox-McCloud/circuit-board-pathing
Circuit Board Repathing and Swarmer Fixes
This commit is contained in:
@@ -141,7 +141,7 @@ obj/machinery/air_sensor
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_screen = "tank"
|
||||
icon_keyboard = "atmos_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/air_management"
|
||||
circuit = /obj/item/weapon/circuitboard/air_management
|
||||
req_one_access_txt = "24;10"
|
||||
|
||||
name = "Computer"
|
||||
@@ -360,7 +360,7 @@ legend {
|
||||
return 1
|
||||
|
||||
large_tank_control
|
||||
circuit = "/obj/item/weapon/circuitboard/large_tank_control"
|
||||
circuit = /obj/item/weapon/circuitboard/large_tank_control
|
||||
req_one_access_txt = "24;10"
|
||||
settagwhitelist = list("input_tag", "output_tag")
|
||||
|
||||
@@ -586,7 +586,7 @@ legend {
|
||||
fuel_injection
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_screen = "atmos"
|
||||
circuit = "/obj/item/weapon/circuitboard/injector_control"
|
||||
circuit = /obj/item/weapon/circuitboard/injector_control
|
||||
|
||||
var/device_tag
|
||||
var/list/device_info
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "A computer used to control the stationary scrubbers and pumps in the area."
|
||||
icon_screen = "area_atmos"
|
||||
icon_keyboard = "atmos_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/area_atmos"
|
||||
circuit = /obj/item/weapon/circuitboard/area_atmos
|
||||
|
||||
var/list/connectedscrubbers = new()
|
||||
var/status = ""
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
anchored = 1.0
|
||||
icon_keyboard = "med_key"
|
||||
icon_screen = "crew"
|
||||
circuit = "/obj/item/weapon/circuitboard/operating"
|
||||
circuit = /obj/item/weapon/circuitboard/operating
|
||||
var/mob/living/carbon/human/victim = null
|
||||
var/obj/machinery/optable/table = null
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
if(..(user))
|
||||
return
|
||||
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
|
||||
add_fingerprint(user)
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
|
||||
add_fingerprint(user)
|
||||
interact(user)
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ var/global/list/minor_air_alarms = list()
|
||||
/obj/machinery/computer/atmos_alert
|
||||
name = "Atmospheric Alert Computer"
|
||||
desc = "Used to access the station's atmospheric sensors."
|
||||
circuit = "/obj/item/weapon/circuitboard/atmos_alert"
|
||||
circuit = /obj/item/weapon/circuitboard/atmos_alert
|
||||
icon_keyboard = "atmos_key"
|
||||
icon_screen = "alert:0"
|
||||
light_color = LIGHT_COLOR_CYAN
|
||||
@@ -80,6 +80,6 @@ var/datum/topic_state/air_alarm_topic/air_alarm_topic = new()
|
||||
extra_href["remote_access"] = 1
|
||||
|
||||
return extra_href
|
||||
|
||||
|
||||
/datum/topic_state/air_alarm_topic/can_use_topic(var/src_object, var/mob/user)
|
||||
return STATUS_INTERACTIVE
|
||||
|
||||
@@ -197,6 +197,12 @@
|
||||
/obj/item/weapon/circuitboard/splicer
|
||||
name = "Circuit board (Disease Splicer)"
|
||||
build_path = /obj/machinery/computer/diseasesplicer
|
||||
/obj/item/weapon/circuitboard/labor_shuttle
|
||||
name = "circuit Board (Labor Shuttle)"
|
||||
build_path = /obj/machinery/computer/labor_shuttle
|
||||
/obj/item/weapon/circuitboard/labor_shuttle/one_way
|
||||
name = "circuit Board (Prisoner Shuttle Console)"
|
||||
build_path = /obj/machinery/computer/labor_shuttle/one_way
|
||||
/obj/item/weapon/circuitboard/mining_shuttle
|
||||
name = "Circuit board (Mining Shuttle)"
|
||||
build_path = /obj/machinery/computer/shuttle_control/mining
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
/proc/invalidateCameraCache()
|
||||
camera_cache_id = (++camera_cache_id % 999999)
|
||||
|
||||
|
||||
/obj/machinery/computer/security
|
||||
name = "Camera Monitor"
|
||||
desc = "Used to access the various cameras networks on the station."
|
||||
icon_keyboard = "security_key"
|
||||
icon_screen = "cameras"
|
||||
circuit = "/obj/item/weapon/circuitboard/camera"
|
||||
circuit = /obj/item/weapon/circuitboard/camera
|
||||
var/obj/machinery/camera/current = null
|
||||
var/list/network = list("")
|
||||
var/last_pic = 1.0
|
||||
@@ -43,7 +43,7 @@
|
||||
networks["ERT"] = list(access_cent_specops_commander,access_cent_commander)
|
||||
networks["CentCom"] = list(access_cent_security,access_cent_commander)
|
||||
networks["Thunderdome"] = list(access_cent_thunder,access_cent_commander)
|
||||
|
||||
|
||||
..()
|
||||
|
||||
/obj/machinery/computer/security/attack_ai(var/mob/user as mob)
|
||||
@@ -115,7 +115,7 @@
|
||||
break
|
||||
if(tempnets.len)
|
||||
data["networks"] = tempnets
|
||||
|
||||
|
||||
if(current)
|
||||
data["current"] = current.nano_structure()
|
||||
data["cameras"] = list("__json_cache" = camera_cache)
|
||||
@@ -207,7 +207,7 @@
|
||||
set_current(C)
|
||||
use_power(50)
|
||||
return 1
|
||||
|
||||
|
||||
/obj/machinery/computer/security/proc/set_current(var/obj/machinery/camera/C)
|
||||
if(current == C)
|
||||
return
|
||||
@@ -220,8 +220,8 @@
|
||||
use_power = 2
|
||||
var/mob/living/L = current.loc
|
||||
if(istype(L))
|
||||
L.tracking_initiated()
|
||||
|
||||
L.tracking_initiated()
|
||||
|
||||
/obj/machinery/computer/security/proc/reset_current()
|
||||
if(current)
|
||||
var/mob/living/L = current.loc
|
||||
|
||||
@@ -14,7 +14,7 @@ var/time_last_changed_position = 0
|
||||
var/obj/item/weapon/card/id/modify = null
|
||||
var/mode = 0.0
|
||||
var/printing = null
|
||||
|
||||
|
||||
//Cooldown for closing positions in seconds
|
||||
//if set to -1: No cooldown... probably a bad idea
|
||||
//if set to 0: Not able to close "original" positions. You can only close positions that you have opened before
|
||||
@@ -36,7 +36,7 @@ var/time_last_changed_position = 0
|
||||
/datum/job/brigdoc,
|
||||
/datum/job/mechanic,
|
||||
/datum/job/barber,
|
||||
/datum/job/chaplain,
|
||||
/datum/job/chaplain,
|
||||
/datum/job/civilian
|
||||
)
|
||||
|
||||
@@ -69,7 +69,7 @@ var/time_last_changed_position = 0
|
||||
"job" = job)))
|
||||
|
||||
return formatted
|
||||
|
||||
|
||||
/obj/machinery/computer/card/proc/format_job_slots()
|
||||
var/list/formatted = list()
|
||||
for(var/datum/job/job in job_master.occupations)
|
||||
@@ -83,7 +83,7 @@ var/time_last_changed_position = 0
|
||||
"can_close" = can_close_job(job))))
|
||||
|
||||
return formatted
|
||||
|
||||
|
||||
/obj/machinery/computer/card/proc/format_card_skins(list/card_skins)
|
||||
var/list/formatted = list()
|
||||
for(var/skin in card_skins)
|
||||
@@ -131,7 +131,7 @@ var/time_last_changed_position = 0
|
||||
|
||||
nanomanager.update_uis(src)
|
||||
attack_hand(user)
|
||||
|
||||
|
||||
//Check if you can't open a new position for a certain job
|
||||
/obj/machinery/computer/card/proc/job_blacklisted(datum/job/job)
|
||||
return (job.type in blacklisted)
|
||||
@@ -164,11 +164,11 @@ var/time_last_changed_position = 0
|
||||
return attack_hand(user)
|
||||
|
||||
/obj/machinery/computer/card/attack_hand(mob/user as mob)
|
||||
if(..())
|
||||
if(..())
|
||||
return
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
|
||||
ui_interact(user)
|
||||
|
||||
/obj/machinery/computer/card/ui_interact(mob/user, ui_key="main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
@@ -200,15 +200,15 @@ var/time_last_changed_position = 0
|
||||
data["special_jobs"] = format_jobs(whitelisted_positions)
|
||||
data["centcom_jobs"] = format_jobs(get_all_centcom_jobs())
|
||||
data["card_skins"] = format_card_skins(get_station_card_skins())
|
||||
|
||||
|
||||
data["job_slots"] = format_job_slots()
|
||||
|
||||
|
||||
var/time_to_wait = round(change_position_cooldown - ((world.time / 10) - time_last_changed_position), 1)
|
||||
var/mins = round(time_to_wait / 60)
|
||||
var/seconds = time_to_wait - (60*mins)
|
||||
data["cooldown_mins"] = mins
|
||||
data["cooldown_secs"] = (seconds < 10) ? "0[seconds]" : seconds
|
||||
|
||||
|
||||
if(modify)
|
||||
data["current_skin"] = modify.icon_state
|
||||
|
||||
@@ -222,7 +222,7 @@ var/time_last_changed_position = 0
|
||||
|
||||
data["all_centcom_access"] = all_centcom_access
|
||||
data["all_centcom_skins"] = format_card_skins(get_centcom_card_skins())
|
||||
|
||||
|
||||
else if (modify)
|
||||
var/list/regions = list()
|
||||
for(var/i = 1; i <= 7; i++)
|
||||
@@ -296,7 +296,7 @@ var/time_last_changed_position = 0
|
||||
modify.access -= access_type
|
||||
if(!access_allowed)
|
||||
modify.access += access_type
|
||||
|
||||
|
||||
if("skin")
|
||||
var/skin = href_list["skin_target"]
|
||||
if(is_authenticated(usr) && modify && ((skin in get_station_card_skins()) || ((skin in get_centcom_card_skins()) && is_centcom())))
|
||||
@@ -390,7 +390,7 @@ var/time_last_changed_position = 0
|
||||
modify.access = list()
|
||||
|
||||
callHook("terminate_employee", list(modify))
|
||||
|
||||
|
||||
if("make_job_available")
|
||||
// MAKE ANOTHER JOB POSITION AVAILABLE FOR LATE JOINERS
|
||||
if(is_authenticated(usr))
|
||||
@@ -429,5 +429,5 @@ var/time_last_changed_position = 0
|
||||
|
||||
/obj/machinery/computer/card/centcom
|
||||
name = "CentCom Identification Computer"
|
||||
circuit = "/obj/item/weapon/circuitboard/card/centcom"
|
||||
circuit = /obj/item/weapon/circuitboard/card/centcom
|
||||
req_access = list(access_cent_commander)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_keyboard = "med_key"
|
||||
icon_screen = "dna"
|
||||
circuit = "/obj/item/weapon/circuitboard/cloning"
|
||||
circuit = /obj/item/weapon/circuitboard/cloning
|
||||
req_access = list(access_heads) //Only used for record deletion right now.
|
||||
var/obj/machinery/dna_scannernew/scanner = null //Linked scanner. For scanning.
|
||||
var/list/pods = list() //Linked cloning pods.
|
||||
|
||||
@@ -39,7 +39,7 @@ var/shuttle_call/shuttle_calls[0]
|
||||
icon_keyboard = "tech_key"
|
||||
icon_screen = "comm"
|
||||
req_access = list(access_heads)
|
||||
circuit = "/obj/item/weapon/circuitboard/communications"
|
||||
circuit = /obj/item/weapon/circuitboard/communications
|
||||
var/prints_intercept = 1
|
||||
var/authenticated = 0
|
||||
var/list/messagetitle = list()
|
||||
@@ -64,7 +64,7 @@ var/shuttle_call/shuttle_calls[0]
|
||||
/obj/machinery/computer/communications/New()
|
||||
..()
|
||||
crew_announcement.newscast = 1
|
||||
|
||||
|
||||
/obj/machinery/computer/communications/proc/is_authenticated(var/mob/user, var/message = 1)
|
||||
if(authenticated == 2)
|
||||
return 2
|
||||
@@ -84,10 +84,10 @@ var/shuttle_call/shuttle_calls[0]
|
||||
if ((!(src.z in config.station_levels) && !(src.z in config.admin_levels)))
|
||||
usr << "<span class='warning'>Unable to establish a connection: You're too far away from the station!</span>"
|
||||
return 1
|
||||
|
||||
|
||||
if(href_list["login"])
|
||||
if(!ishuman(usr))
|
||||
usr << "<span class='warning'>Access denied.</span>"
|
||||
usr << "<span class='warning'>Access denied.</span>"
|
||||
return
|
||||
var/mob/living/carbon/human/M = usr
|
||||
var/obj/item/card = M.get_active_hand()
|
||||
@@ -103,11 +103,11 @@ var/shuttle_call/shuttle_calls[0]
|
||||
crew_announcement.announcer = GetNameAndAssignmentFromId(I)
|
||||
nanomanager.update_uis(src)
|
||||
return
|
||||
|
||||
|
||||
if(href_list["logout"])
|
||||
authenticated = 0
|
||||
crew_announcement.announcer = ""
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
nanomanager.update_uis(src)
|
||||
return
|
||||
|
||||
@@ -117,12 +117,12 @@ var/shuttle_call/shuttle_calls[0]
|
||||
switch(href_list["operation"])
|
||||
if("main")
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
|
||||
if("changeseclevel")
|
||||
setMenuState(usr,COMM_SCREEN_SECLEVEL)
|
||||
|
||||
if("newalertlevel")
|
||||
if(isAI(usr) || isrobot(usr))
|
||||
if(isAI(usr) || isrobot(usr))
|
||||
usr << "<span class='warning'>Firewalls prevent you from changing the alert level.</span>"
|
||||
nanomanager.update_uis(src)
|
||||
return 1
|
||||
@@ -177,14 +177,14 @@ var/shuttle_call/shuttle_calls[0]
|
||||
if(!input || ..() || !is_authenticated(usr))
|
||||
nanomanager.update_uis(src)
|
||||
return
|
||||
|
||||
|
||||
call_shuttle_proc(usr, input)
|
||||
if(emergency_shuttle.online())
|
||||
post_status("shuttle")
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
|
||||
if("cancelshuttle")
|
||||
if(isAI(usr) || isrobot(usr))
|
||||
if(isAI(usr) || isrobot(usr))
|
||||
usr << "<span class='warning'>Firewalls prevent you from recalling the shuttle.</span>"
|
||||
nanomanager.update_uis(src)
|
||||
return 1
|
||||
@@ -194,13 +194,13 @@ var/shuttle_call/shuttle_calls[0]
|
||||
if(emergency_shuttle.online())
|
||||
post_status("shuttle")
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
|
||||
if("messagelist")
|
||||
src.currmsg = 0
|
||||
if(href_list["msgid"])
|
||||
setCurrentMessage(usr, text2num(href_list["msgid"]))
|
||||
setMenuState(usr,COMM_SCREEN_MESSAGES)
|
||||
|
||||
|
||||
if("delmessage")
|
||||
if(href_list["msgid"])
|
||||
src.currmsg = text2num(href_list["msgid"])
|
||||
@@ -234,7 +234,7 @@ var/shuttle_call/shuttle_calls[0]
|
||||
if("setmsg1")
|
||||
stat_msg1 = input("Line 1", "Enter Message Text", stat_msg1) as text|null
|
||||
setMenuState(usr,COMM_SCREEN_STAT)
|
||||
|
||||
|
||||
if("setmsg2")
|
||||
stat_msg2 = input("Line 2", "Enter Message Text", stat_msg2) as text|null
|
||||
setMenuState(usr,COMM_SCREEN_STAT)
|
||||
@@ -256,8 +256,8 @@ var/shuttle_call/shuttle_calls[0]
|
||||
centcomm_message_cooldown = 1
|
||||
spawn(6000)//10 minute cooldown
|
||||
centcomm_message_cooldown = 0
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
if("MessageCentcomm")
|
||||
if(is_authenticated(usr) == 2)
|
||||
if(centcomm_message_cooldown)
|
||||
@@ -300,7 +300,7 @@ var/shuttle_call/shuttle_calls[0]
|
||||
src.emagged = 0
|
||||
setMenuState(usr,COMM_SCREEN_MAIN)
|
||||
|
||||
nanomanager.update_uis(src)
|
||||
nanomanager.update_uis(src)
|
||||
return 1
|
||||
|
||||
/obj/machinery/computer/communications/emag_act(user as mob)
|
||||
@@ -316,13 +316,13 @@ var/shuttle_call/shuttle_calls[0]
|
||||
if(..(user))
|
||||
return
|
||||
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
if (!(src.z in list(ZLEVEL_STATION, ZLEVEL_CENTCOMM)))
|
||||
user << "<span class='warning'>Unable to establish a connection: You're too far away from the station!</span>"
|
||||
return
|
||||
|
||||
|
||||
ui_interact(user)
|
||||
|
||||
/obj/machinery/computer/communications/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
idle_power_usage = 250
|
||||
active_power_usage = 500
|
||||
light_color = LIGHT_COLOR_DARKBLUE
|
||||
circuit = "/obj/item/weapon/circuitboard/crew"
|
||||
circuit = /obj/item/weapon/circuitboard/crew
|
||||
var/datum/nano_module/crew_monitor/crew_monitor
|
||||
|
||||
/obj/machinery/computer/crew/New()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
icon_screen = "honkcomms"
|
||||
light_color = LIGHT_COLOR_PINK
|
||||
req_access = list(access_clown)
|
||||
circuit = "/obj/item/weapon/circuitboard/HONKputer"
|
||||
circuit = /obj/item/weapon/circuitboard/HONKputer
|
||||
var/authenticated = 0
|
||||
var/message_cooldown = 0
|
||||
var/state = STATE_DEFAULT
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
desc = "Used to upload laws to the AI."
|
||||
icon_screen = "command"
|
||||
icon_keyboard = "med_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/aiupload"
|
||||
circuit = /obj/item/weapon/circuitboard/aiupload
|
||||
var/mob/living/silicon/ai/current = null
|
||||
var/opened = 0
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
desc = "Used to upload laws to Cyborgs."
|
||||
icon_screen = "command"
|
||||
icon_keyboard = "med_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/borgupload"
|
||||
circuit = /obj/item/weapon/circuitboard/borgupload
|
||||
var/mob/living/silicon/robot/current = null
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_keyboard = "med_key"
|
||||
icon_screen = "medcomp"
|
||||
req_one_access = list(access_medical, access_forensics_lockers)
|
||||
circuit = "/obj/item/weapon/circuitboard/med_data"
|
||||
circuit = /obj/item/weapon/circuitboard/med_data
|
||||
var/obj/item/weapon/card/id/scan = null
|
||||
var/authenticated = null
|
||||
var/rank = null
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
light_color = LIGHT_COLOR_GREEN
|
||||
var/hack_icon = "tcboss"
|
||||
var/normal_icon = "comm_logs"
|
||||
circuit = "/obj/item/weapon/circuitboard/message_monitor"
|
||||
circuit = /obj/item/weapon/circuitboard/message_monitor
|
||||
//Server linked to.
|
||||
var/obj/machinery/message_server/linkedServer = null
|
||||
//Sparks effect - For emag
|
||||
@@ -65,7 +65,7 @@
|
||||
// Will help make emagging the console not so easy to get away with.
|
||||
MK.info += "<br><br><font color='red'>£%@%(*$%&(£&?*(%&£/{}</font>"
|
||||
update_icon()
|
||||
spawn(100*length(src.linkedServer.decryptkey))
|
||||
spawn(100*length(src.linkedServer.decryptkey))
|
||||
UnmagConsole()
|
||||
update_icon()
|
||||
message = rebootmsg
|
||||
@@ -77,7 +77,7 @@
|
||||
icon_screen = hack_icon
|
||||
else
|
||||
icon_screen = normal_icon
|
||||
|
||||
|
||||
..()
|
||||
|
||||
/obj/machinery/computer/message_monitor/initialize()
|
||||
@@ -89,9 +89,9 @@
|
||||
return
|
||||
|
||||
/obj/machinery/computer/message_monitor/attack_hand(var/mob/user as mob)
|
||||
if(..())
|
||||
if(..())
|
||||
return
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
//If the computer is being hacked or is emagged, display the reboot message.
|
||||
if(hacking || emag)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_keyboard = "security_key"
|
||||
icon_screen = "explosive"
|
||||
req_access = list(access_armory)
|
||||
circuit = "/obj/item/weapon/circuitboard/prisoner"
|
||||
circuit = /obj/item/weapon/circuitboard/prisoner
|
||||
var/id = 0.0
|
||||
var/temp = null
|
||||
var/status = 0
|
||||
@@ -82,7 +82,7 @@
|
||||
/obj/machinery/computer/prisoner/Topic(href, href_list)
|
||||
if(..())
|
||||
return 1
|
||||
|
||||
|
||||
usr.set_machine(src)
|
||||
|
||||
if(href_list["id"])
|
||||
|
||||
@@ -17,7 +17,7 @@ var/prison_shuttle_timeleft = 0
|
||||
icon_screen = "syndishuttle"
|
||||
light_color = LIGHT_COLOR_PURE_CYAN
|
||||
req_access = list(access_security)
|
||||
circuit = "/obj/item/weapon/circuitboard/prison_shuttle"
|
||||
circuit = /obj/item/weapon/circuitboard/prison_shuttle
|
||||
var/temp = null
|
||||
var/hacked = 0
|
||||
var/allowedtocall = 0
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_keyboard = "security_key"
|
||||
icon_screen = "security"
|
||||
req_one_access = list(access_security, access_forensics_lockers)
|
||||
circuit = "/obj/item/weapon/circuitboard/secure_data"
|
||||
circuit = /obj/item/weapon/circuitboard/secure_data
|
||||
var/obj/item/weapon/card/id/scan = null
|
||||
var/authenticated = null
|
||||
var/rank = null
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
icon_screen = "medlaptop"
|
||||
light_color = LIGHT_COLOR_GREEN
|
||||
req_one_access = list(access_heads)
|
||||
circuit = "/obj/item/weapon/circuitboard/skills"
|
||||
circuit = /obj/item/weapon/circuitboard/skills
|
||||
var/obj/item/weapon/card/id/scan = null
|
||||
var/authenticated = null
|
||||
var/rank = null
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "Merch Computer"
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_screen = "comm_logs"
|
||||
circuit = "/obj/item/weapon/circuitboard/merch"
|
||||
circuit = /obj/item/weapon/circuitboard/merch
|
||||
|
||||
light_color = LIGHT_COLOR_GREEN
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
desc = "An interface between crew and the cryogenic storage oversight systems."
|
||||
icon = 'icons/obj/Cryogenic2.dmi'
|
||||
icon_state = "cellconsole"
|
||||
circuit = "/obj/item/weapon/circuitboard/cryopodcontrol"
|
||||
circuit = /obj/item/weapon/circuitboard/cryopodcontrol
|
||||
density = 0
|
||||
interact_offline = 1
|
||||
req_one_access = list(access_heads, access_armory) //Heads of staff or the warden can go here to claim recover items from their department that people went were cryodormed with.
|
||||
@@ -33,7 +33,7 @@
|
||||
desc = "An interface between crew and the robotic storage systems"
|
||||
icon = 'icons/obj/robot_storage.dmi'
|
||||
icon_state = "console"
|
||||
circuit = "/obj/item/weapon/circuitboard/robotstoragecontrol"
|
||||
circuit = /obj/item/weapon/circuitboard/robotstoragecontrol
|
||||
|
||||
storage_type = "cyborgs"
|
||||
storage_name = "Robotic Storage Control"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
var/universal_translate = 0 // set to 1 if it can translate nonhuman speech
|
||||
|
||||
req_access = list(access_tcomsat)
|
||||
circuit = "/obj/item/weapon/circuitboard/comm_server"
|
||||
circuit = /obj/item/weapon/circuitboard/comm_server
|
||||
|
||||
attack_hand(mob/user as mob)
|
||||
if(stat & (BROKEN|NOPOWER))
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
var/network = "NULL" // the network to probe
|
||||
|
||||
var/temp = "" // temporary feedback messages
|
||||
circuit = "/obj/item/weapon/circuitboard/comm_monitor"
|
||||
circuit = /obj/item/weapon/circuitboard/comm_monitor
|
||||
|
||||
light_color = LIGHT_COLOR_DARKGREEN
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
light_color = LIGHT_COLOR_DARKGREEN
|
||||
|
||||
req_access = list(access_tcomsat)
|
||||
circuit = "/obj/item/weapon/circuitboard/comm_traffic"
|
||||
circuit = /obj/item/weapon/circuitboard/comm_traffic
|
||||
|
||||
/obj/machinery/computer/telecomms/traffic/attack_hand(mob/user)
|
||||
interact(user)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Used to control a linked teleportation Hub and Station."
|
||||
icon_screen = "teleport"
|
||||
icon_keyboard = "teleport_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/teleporter"
|
||||
circuit = /obj/item/weapon/circuitboard/teleporter
|
||||
var/obj/item/device/gps/locked = null
|
||||
var/regime_set = "Teleporter"
|
||||
var/id = null
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_screen = "area_atmos"
|
||||
icon_keyboard = "atmos_key"
|
||||
circuit = "/obj/item/weapon/circuitboard/atmos_automation"
|
||||
circuit = /obj/item/weapon/circuitboard/atmos_automation
|
||||
req_one_access_txt = "24;10"
|
||||
Mtoollink = 1
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
name = "AI Upload"
|
||||
desc = "Used to upload laws to the AI."
|
||||
icon_state = "frame-rnd"
|
||||
circuit = "/obj/item/part/board/circuit/aiupload"
|
||||
var/mob/living/silicon/ai/current = null
|
||||
var/opened = 0
|
||||
|
||||
@@ -56,7 +55,6 @@
|
||||
name = "Cyborg Upload"
|
||||
desc = "Used to upload laws to Cyborgs."
|
||||
icon_state = "frame-rnd"
|
||||
circuit = "/obj/item/part/board/circuit/borgupload"
|
||||
var/mob/living/silicon/robot/current = null
|
||||
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ proc/move_labor_shuttle() //TODO: Security Access only; add moving the shuttle t
|
||||
name = "Labor Shuttle Console"
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "shuttle"
|
||||
circuit = "/obj/item/weapon/circuitboard/labor_shuttle"
|
||||
circuit = /obj/item/weapon/circuitboard/labor_shuttle
|
||||
var/location = 0 //0 = station, 1 = labor camp
|
||||
req_access = list(access_brig)
|
||||
var/hacked = 0
|
||||
@@ -114,7 +114,7 @@ proc/move_labor_shuttle() //TODO: Security Access only; add moving the shuttle t
|
||||
/obj/machinery/computer/labor_shuttle/one_way
|
||||
name = "Prisoner Shuttle Console"
|
||||
desc = "A one-way shuttle console, used to summon the shuttle to the labor camp."
|
||||
circuit = "/obj/item/weapon/circuitboard/one_way_shuttle"
|
||||
circuit = /obj/item/weapon/circuitboard/labor_shuttle/one_way
|
||||
req_access = list( )
|
||||
|
||||
/obj/machinery/computer/labor_shuttle/one_way/attack_hand(user as mob)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_screen = "power"
|
||||
icon_keyboard = "power_key"
|
||||
req_access = list(access_engine_equip)
|
||||
circuit = "/obj/item/weapon/circuitboard/drone_control"
|
||||
circuit = /obj/item/weapon/circuitboard/drone_control
|
||||
|
||||
//Used when pinging drones.
|
||||
var/drone_call_area = "Engineering"
|
||||
|
||||
@@ -227,6 +227,9 @@
|
||||
/obj/item/stack/cable_coil/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)//Wiring would be too effective as a resource
|
||||
S << "<span class='warning'>This object does not contain enough materials to work with.</span>"
|
||||
|
||||
/obj/item/weapon/circuitboard/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
|
||||
S << "<span class='warning'>This object does not contain enough materials to work with.</span>"
|
||||
|
||||
/obj/machinery/porta_turret/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
|
||||
S << "<span class='warning'>Attempting to dismantle this machine would result in an immediate counterattack. Aborting.</span>"
|
||||
|
||||
@@ -323,8 +326,7 @@
|
||||
if(istype(target, /obj/machinery/computer))
|
||||
var/obj/machinery/computer/C = target
|
||||
if(C.circuit)
|
||||
var/obj/item/weapon/circuitboard/circuit = text2path(C.circuit)
|
||||
new circuit(get_turf(M))
|
||||
new C.circuit(get_turf(M))
|
||||
qdel(target)
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ datum/genesequence
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_keyboard = "med_key"
|
||||
icon_screen = "dna"
|
||||
circuit = "/obj/item/weapon/circuitboard/reconstitutor"
|
||||
circuit = /obj/item/weapon/circuitboard/reconstitutor
|
||||
req_access = list(access_heads) //Only used for record deletion right now.
|
||||
var/obj/machinery/clonepod/pod1 = 1 //Linked cloning pod.
|
||||
var/temp = ""
|
||||
@@ -42,7 +42,7 @@ datum/genesequence
|
||||
name = "Fauna reconstitution console"
|
||||
accepted_fossil_types = list(/obj/item/weapon/fossil/bone,/obj/item/weapon/fossil/shell,/obj/item/weapon/fossil/skull)
|
||||
pod1 = null
|
||||
circuit = "/obj/item/weapon/circuitboard/reconstitutor/animal"
|
||||
circuit = /obj/item/weapon/circuitboard/reconstitutor/animal
|
||||
|
||||
/obj/machinery/computer/reconstitutor/animal/initialize()
|
||||
undiscovered_genesequences = master_controller.all_animal_genesequences.Copy()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "medical ship control console"
|
||||
req_access = list()
|
||||
shuttle_tag = "White Ship"
|
||||
circuit = "/obj/item/weapon/circuitboard/white_ship"
|
||||
circuit = /obj/item/weapon/circuitboard/white_ship
|
||||
light_color = LIGHT_COLOR_DARKRED
|
||||
|
||||
/obj/machinery/computer/shuttle_control/multi/whiteship/attack_ai(user as mob)
|
||||
|
||||
Reference in New Issue
Block a user