mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-04 21:30:14 +00:00
21 lines
984 B
Plaintext
21 lines
984 B
Plaintext
#ifndef T_BOARD
|
|
#error T_BOARD macro is not defined but we need it!
|
|
#endif
|
|
|
|
/obj/item/weapon/circuitboard/rdconsole
|
|
name = T_BOARD("R&D control console")
|
|
build_path = /obj/machinery/computer/rdconsole/core
|
|
|
|
/obj/item/weapon/circuitboard/rdconsole/attackby(obj/item/I as obj, mob/user as mob)
|
|
if(I.is_screwdriver())
|
|
playsound(src, I.usesound, 50, 1)
|
|
user.visible_message("<span class='notice'>\The [user] adjusts the jumper on \the [src]'s access protocol pins.</span>", "<span class='notice'>You adjust the jumper on the access protocol pins.</span>")
|
|
if(build_path == /obj/machinery/computer/rdconsole/core)
|
|
name = T_BOARD("RD Console - Robotics")
|
|
build_path = /obj/machinery/computer/rdconsole/robotics
|
|
to_chat(user, "<span class='notice'>Access protocols set to robotics.</span>")
|
|
else
|
|
name = T_BOARD("RD Console")
|
|
build_path = /obj/machinery/computer/rdconsole/core
|
|
to_chat(user, "<span class='notice'>Access protocols set to default.</span>")
|
|
return |