Fixes book management console and Robotics RnD console dropping a circuitboard not set to the correct computer build_path.

This commit is contained in:
phil235
2015-01-14 14:04:21 +01:00
parent 822f871e5b
commit f93ee8b99b
3 changed files with 13 additions and 2 deletions
+5
View File
@@ -135,6 +135,11 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
var/bibledelay = 0
/obj/machinery/computer/libraryconsole/bookmanagement/New()
..()
if(circuit)
circuit.name = "circuit board (Book Inventory Management Console)"
circuit.build_path = /obj/machinery/computer/libraryconsole/bookmanagement
/obj/machinery/computer/libraryconsole/bookmanagement/interact(mob/user)
user.set_machine(src)
+6
View File
@@ -988,6 +988,12 @@ won't update every console in existence) but it's more of a hassle to do. Also,
req_access = null
req_access_txt = "29"
/obj/machinery/computer/rdconsole/robotics/New()
..()
if(circuit)
circuit.name = "circuit board (RD Console - Robotics)"
circuit.build_path = /obj/machinery/computer/rdconsole/robotics
/obj/machinery/computer/rdconsole/core
name = "Core R&D Console"
desc = "A console used to interface with R&D tools."