mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-23 15:53:39 +00:00
21 lines
976 B
Plaintext
21 lines
976 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(istype(I,/obj/item/weapon/screwdriver))
|
|
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(src.build_path == /obj/machinery/computer/rdconsole/core)
|
|
src.name = T_BOARD("RD Console - Robotics")
|
|
src.build_path = /obj/machinery/computer/rdconsole/robotics
|
|
user << "<span class='notice'>Access protocols set to robotics.</span>"
|
|
else
|
|
src.name = T_BOARD("RD Console")
|
|
src.build_path = /obj/machinery/computer/rdconsole/core
|
|
user << "<span class='notice'>Access protocols set to default.</span>"
|
|
return
|