diff --git a/_maps/map_files/YogStation/YogStation.dmm b/_maps/map_files/YogStation/YogStation.dmm index 1a63f6e988f0..1511d38f6531 100644 --- a/_maps/map_files/YogStation/YogStation.dmm +++ b/_maps/map_files/YogStation/YogStation.dmm @@ -15869,17 +15869,6 @@ }, /turf/open/floor/plasteel/white, /area/science/lab) -"bpp" = ( -/obj/machinery/door/window/eastright{ - base_state = "left"; - dir = 8; - icon_state = "left"; - name = "Research Division Delivery"; - req_access_txt = "47" - }, -/obj/effect/turf_decal/delivery, -/turf/open/floor/plasteel, -/area/science/lab) "bpq" = ( /obj/machinery/light_switch{ pixel_y = -23 @@ -16084,17 +16073,6 @@ "bqe" = ( /turf/closed/wall/r_wall, /area/science/explab) -"bqf" = ( -/obj/machinery/door/poddoor/shutters/preopen{ - id = "rnd2"; - name = "research lab shutters" - }, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/machinery/door/firedoor/border_only, -/turf/open/floor/plasteel/white, -/area/science/lab) "bqi" = ( /obj/effect/turf_decal/stripes/corner, /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{ @@ -16103,25 +16081,6 @@ /obj/machinery/atmospherics/pipe/manifold/supply/hidden/layer2, /turf/open/floor/plasteel, /area/hallway/secondary/entry) -"bqk" = ( -/obj/machinery/door/poddoor/shutters/preopen{ - id = "rnd2"; - name = "research lab shutters" - }, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/machinery/door/firedoor/border_only, -/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4, -/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2{ - dir = 1 - }, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/open/floor/plasteel/white, -/area/science/lab) "bqo" = ( /obj/machinery/computer/cargo{ dir = 1 @@ -16256,13 +16215,6 @@ }, /turf/open/floor/plasteel, /area/science/robotics/lab) -"brr" = ( -/obj/effect/spawner/structure/window, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/open/floor/plating, -/area/science/explab) "brs" = ( /obj/structure/table/reinforced, /obj/machinery/door/window/eastright{ @@ -16316,14 +16268,6 @@ }, /turf/open/floor/plating, /area/maintenance/starboard) -"brx" = ( -/obj/machinery/door/poddoor/shutters/preopen{ - id = "rnd2"; - name = "research lab shutters" - }, -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/science/lab) "brz" = ( /obj/item/flashlight/flare/signal, /turf/open/floor/plating, @@ -20516,10 +20460,6 @@ /obj/machinery/door/firedoor/border_only, /turf/open/floor/plasteel/freezer, /area/crew_quarters/toilet) -"bMr" = ( -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/science/xenobiology) "bMs" = ( /obj/effect/spawner/structure/window/reinforced/shutter, /turf/open/floor/plating, @@ -21103,10 +21043,6 @@ /obj/machinery/atmospherics/pipe/simple/orange/visible, /turf/open/space/basic, /area/engine/atmos_distro) -"bPK" = ( -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/science/misc_lab) "bPN" = ( /turf/closed/wall, /area/science/misc_lab) @@ -23948,14 +23884,6 @@ }, /turf/open/floor/plasteel, /area/hallway/primary/central) -"ctu" = ( -/obj/effect/spawner/structure/window, -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/turf/open/floor/plating, -/area/medical/sleeper) "ctv" = ( /obj/effect/turf_decal/tile/yellow{ dir = 1 @@ -25381,18 +25309,6 @@ /obj/structure/disposalpipe/segment, /turf/open/floor/plasteel, /area/quartermaster/office) -"cQe" = ( -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/machinery/door/poddoor/shutters/preopen{ - id = "surgery_shutters"; - name = "Surgery Shutters" - }, -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/medical/surgery) "cQr" = ( /obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2, /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{ @@ -31521,6 +31437,17 @@ }, /turf/open/floor/plating, /area/maintenance/starboard/aft) +"giP" = ( +/obj/machinery/door/window/eastright{ + base_state = "left"; + dir = 8; + icon_state = "left"; + name = "Research Division Delivery"; + req_access_txt = "7" + }, +/obj/effect/turf_decal/delivery, +/turf/open/floor/plasteel, +/area/science/lab) "gjl" = ( /turf/closed/wall, /area/quartermaster/warehouse) @@ -31853,6 +31780,14 @@ }, /turf/open/floor/plasteel/white, /area/medical/genetics/cloning) +"gsd" = ( +/obj/machinery/door/poddoor/shutters/preopen{ + id = "rnd2"; + name = "research lab shutters" + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/science/lab) "gsx" = ( /obj/effect/landmark/start/cyborg, /obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2, @@ -33287,6 +33222,18 @@ }, /turf/open/floor/plasteel, /area/quartermaster/warehouse) +"hcZ" = ( +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/door/firedoor/border_only, +/obj/machinery/door/poddoor/shutters/preopen{ + id = "surgery_shutters"; + name = "Surgery Shutters" + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/medical/surgery) "hdd" = ( /obj/machinery/door/airlock/public/glass{ name = "Library" @@ -34906,16 +34853,6 @@ }, /turf/open/floor/plasteel, /area/engine/atmos) -"hNl" = ( -/obj/effect/turf_decal/tile/yellow, -/obj/effect/turf_decal/tile/yellow{ - dir = 4 - }, -/obj/machinery/computer/rdconsole/production{ - dir = 8 - }, -/turf/open/floor/plasteel, -/area/engine/foyer) "hNs" = ( /obj/effect/landmark/stationroom/maint/fivexthree, /turf/template_noop, @@ -36335,14 +36272,6 @@ }, /turf/open/floor/plasteel/white, /area/medical/virology) -"iuo" = ( -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/medical/sleeper) "iuR" = ( /obj/machinery/door/window/southleft{ base_state = "right"; @@ -37720,18 +37649,6 @@ }, /turf/open/floor/plasteel, /area/maintenance/disposal/incinerator) -"iYd" = ( -/obj/effect/spawner/structure/window, -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/machinery/door/poddoor/shutters/preopen{ - id = "surgery_shutters"; - name = "Surgery Shutters" - }, -/turf/open/floor/plating, -/area/medical/surgery) "iYj" = ( /obj/machinery/meter{ target_layer = 4 @@ -38610,6 +38527,18 @@ }, /turf/open/floor/plasteel, /area/engine/atmos_distro) +"jte" = ( +/obj/machinery/door/firedoor/border_only, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/door/poddoor/shutters/preopen{ + id = "surgery_shutters"; + name = "Surgery Shutters" + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/medical/surgery) "jtq" = ( /obj/machinery/portable_atmospherics/canister/air, /obj/effect/turf_decal/stripes/line{ @@ -42861,6 +42790,14 @@ }, /turf/open/floor/plasteel/dark/telecomms, /area/tcommsat/server) +"lEQ" = ( +/obj/machinery/door/poddoor/shutters/preopen{ + id = "robotics2"; + name = "robotics lab shutters" + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/science/robotics/lab) "lFb" = ( /obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden/layer4{ dir = 4 @@ -46372,6 +46309,21 @@ }, /turf/open/floor/plasteel/white, /area/medical/storage) +"npe" = ( +/obj/machinery/door/poddoor/shutters/preopen{ + id = "rnd2"; + name = "research lab shutters" + }, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/door/firedoor/border_only, +/obj/machinery/door/airlock/research/glass{ + name = "R&D Lab"; + req_access_txt = "7" + }, +/turf/open/floor/plasteel/white, +/area/science/lab) "npo" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/sign/poster/official/help_others{ @@ -47783,6 +47735,14 @@ }, /turf/open/floor/plating, /area/maintenance/starboard/fore) +"obM" = ( +/obj/machinery/door/firedoor/border_only, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/medical/medbay/lobby) "ocq" = ( /obj/machinery/door/poddoor{ id = "trash"; @@ -48368,14 +48328,6 @@ }, /turf/open/floor/plasteel, /area/hallway/primary/starboard) -"orq" = ( -/obj/effect/spawner/structure/window, -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/turf/open/floor/plating, -/area/medical/medbay/lobby) "orC" = ( /obj/structure/grille, /obj/structure/lattice, @@ -49997,6 +49949,14 @@ /obj/effect/turf_decal/box, /turf/open/floor/engine, /area/maintenance/disposal/incinerator) +"piL" = ( +/obj/machinery/door/firedoor/border_only, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/medical/sleeper) "piV" = ( /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{ dir = 1 @@ -52455,18 +52415,6 @@ /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4, /turf/open/floor/plating, /area/engine/engineering) -"qzJ" = ( -/obj/effect/spawner/structure/window, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/obj/machinery/door/firedoor/border_only, -/obj/machinery/door/poddoor/shutters/preopen{ - id = "surgery_shutters"; - name = "Surgery Shutters" - }, -/turf/open/floor/plating, -/area/medical/surgery) "qAb" = ( /obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2, /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4, @@ -53358,14 +53306,6 @@ /obj/effect/turf_decal/trimline/white, /turf/open/floor/plasteel/dark, /area/engine/atmos) -"qYz" = ( -/obj/effect/spawner/structure/window, -/obj/machinery/door/poddoor/shutters/preopen{ - id = "robotics2"; - name = "robotics lab shutters" - }, -/turf/open/floor/plating, -/area/science/robotics/lab) "qZu" = ( /obj/machinery/atmospherics/components/unary/vent_pump/on/layer2{ dir = 1 @@ -56854,6 +56794,29 @@ /obj/structure/disposalpipe/segment, /turf/open/floor/plasteel/white, /area/medical/sleeper) +"sGR" = ( +/obj/machinery/door/poddoor/shutters/preopen{ + id = "rnd2"; + name = "research lab shutters" + }, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/door/firedoor/border_only, +/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4, +/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2{ + dir = 1 + }, +/obj/structure/disposalpipe/segment, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/door/airlock/research/glass{ + name = "R&D Lab"; + req_access_txt = "7" + }, +/turf/open/floor/plasteel/white, +/area/science/lab) "sGW" = ( /obj/machinery/atmospherics/pipe/simple/purple/visible{ dir = 5 @@ -63143,6 +63106,14 @@ }, /turf/open/floor/plasteel/white, /area/medical/genetics) +"vPZ" = ( +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/door/firedoor/border_only, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/medical/medbay/lobby) "vQq" = ( /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{ dir = 4 @@ -63553,14 +63524,6 @@ }, /turf/open/floor/plating, /area/science/xenobiology) -"wci" = ( -/obj/machinery/door/poddoor/shutters/preopen{ - id = "robotics2"; - name = "robotics lab shutters" - }, -/obj/effect/spawner/structure/window, -/turf/open/floor/plating, -/area/science/robotics/lab) "wcw" = ( /obj/effect/turf_decal/tile/red{ dir = 1 @@ -64840,6 +64803,13 @@ }, /turf/open/floor/plasteel, /area/hallway/primary/aft) +"wMP" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/effect/spawner/structure/window/reinforced, +/turf/open/floor/plating, +/area/science/explab) "wNo" = ( /obj/effect/turf_decal/tile/yellow{ dir = 1 @@ -67167,6 +67137,17 @@ /obj/item/twohanded/rcl/pre_loaded, /turf/open/floor/plasteel, /area/engine/engineering) +"xYI" = ( +/obj/effect/turf_decal/tile/yellow, +/obj/effect/turf_decal/tile/yellow{ + dir = 4 + }, +/obj/machinery/computer/rdconsole/production{ + dir = 8; + req_access = list(32) + }, +/turf/open/floor/plasteel, +/area/engine/foyer) "xYW" = ( /obj/structure/table, /obj/item/clothing/glasses/meson, @@ -100058,7 +100039,7 @@ ahi ajs uxH akB -hNl +xYI cMv uQS gNd @@ -103626,7 +103607,7 @@ bfF ocA opn wiA -ctu +piL kJb oCO bZg @@ -104140,7 +104121,7 @@ cfu uYq ogm pZK -ctu +piL mtT lvO bDR @@ -104393,7 +104374,7 @@ aco dIW rJo hIu -mgH +vPZ oQi aBB vle @@ -104654,7 +104635,7 @@ gtC mKN kub tva -ctu +piL tzC rUG bDR @@ -104911,7 +104892,7 @@ gtC sxa kub tva -iuo +piL iTR vXI gaU @@ -105935,11 +105916,11 @@ fCh dlx vMp wtY -orq +obM sxa kub hLI -ctu +piL sTb mxh sgE @@ -106453,7 +106434,7 @@ orY hHy pjc hLI -qzJ +hcZ qmI xOh shN @@ -106710,7 +106691,7 @@ gtC iBZ kub tva -cQe +jte jbq vvK vvK @@ -106967,7 +106948,7 @@ bEi mvC cXg tva -iYd +jte bdw urv uMu @@ -107224,7 +107205,7 @@ luE uSW rTC tva -iYd +jte jbq lMh uuV @@ -107481,7 +107462,7 @@ bEi hoP kub hLI -iYd +jte dDo gQe doF @@ -112878,7 +112859,7 @@ sUL jna cIb hlz -wci +lEQ bgp sRl byf @@ -113135,7 +113116,7 @@ dEU bTv cIb rOz -wci +lEQ bgp pYr lcM @@ -113392,7 +113373,7 @@ bkr cHW cId hkd -wci +lEQ nlD bnH byf @@ -114420,7 +114401,7 @@ biN cHX buj buj -wci +lEQ sGm uCv byj @@ -114934,7 +114915,7 @@ bov bpU brq bsW -wci +lEQ bgp bnx byk @@ -115188,7 +115169,7 @@ bfV bfV bfV box -qYz +lEQ brs box box @@ -115205,9 +115186,9 @@ bsn bDc bDc bLe -bMr +piv uBi -bMr +piv bDb bDb bDb @@ -115465,7 +115446,7 @@ bHK bzE bID bHI -bPK +bZZ bQO bSb bOu @@ -115979,7 +115960,7 @@ bHL aPO bBD bJo -bPK +bZZ bWr bWr aiW @@ -116731,7 +116712,7 @@ blK bnp boA boQ -brx +gsd bro bmU bvJ @@ -116988,7 +116969,7 @@ blJ bno bkt biW -bqf +npe bgp bmU bvK @@ -117245,7 +117226,7 @@ bka bka aCl bpo -bqk +sGR brp bmW bvK @@ -117502,7 +117483,7 @@ blL biW bnh biW -brx +gsd bte bmX bvK @@ -118015,9 +117996,9 @@ bgc bgc bgc bgc -bpp +giP bgc -brr +wMP bmZ bvK bvK diff --git a/code/game/objects/items/circuitboards/computer_circuitboards.dm b/code/game/objects/items/circuitboards/computer_circuitboards.dm index bf9e6ab616d7..32ee802d8443 100644 --- a/code/game/objects/items/circuitboards/computer_circuitboards.dm +++ b/code/game/objects/items/circuitboards/computer_circuitboards.dm @@ -352,6 +352,8 @@ /obj/item/circuitboard/computer/rdconsole/attackby(obj/item/I, mob/user, params) if(I.tool_behaviour == TOOL_SCREWDRIVER) + if(build_path == /obj/machinery/computer/rdconsole/production) + return if(build_path == /obj/machinery/computer/rdconsole/core) name = "R&D Console - Robotics (Computer Board)" build_path = /obj/machinery/computer/rdconsole/robotics diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index 81ceddbcace4..7240543c879c 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -699,6 +699,11 @@ Nothing else in the console has ID requirements. /obj/machinery/computer/rdconsole/proc/machine_icon(atom/item) return icon2html(initial(item.icon), usr, initial(item.icon_state), SOUTH) +/obj/machinery/computer/rdconsole/proc/can_research(mob/user) + if(!locked || allowed(user)) + return TRUE + return FALSE + /obj/machinery/computer/rdconsole/proc/ui_techweb_single_node(datum/techweb_node/node, selflink=TRUE, minimal=FALSE) var/list/l = list() if (stored_research.hidden_nodes[node.id]) @@ -974,6 +979,9 @@ Nothing else in the console has ID requirements. if(ls["disk_slot"]) disk_slot_selected = text2num(ls["disk_slot"]) if(ls["research_node"]) + if(!can_research(usr)) + to_chat(usr, "ACCESS DENIED") + return if(!research_control) return //honestly should call them out for href exploiting :^) if(!SSresearch.science_tech.available_nodes[ls["research_node"]])