mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Fixes book management console and Robotics RnD console dropping a circuitboard not set to the correct computer build_path.
This commit is contained in:
@@ -237,8 +237,8 @@
|
||||
build_path = /obj/machinery/computer/slot_machine
|
||||
origin_tech = "programming=1"
|
||||
/obj/item/weapon/circuitboard/libraryconsole
|
||||
name = "circuit board (Book Inventory Management Console)"
|
||||
build_path = /obj/machinery/computer/libraryconsole/bookmanagement
|
||||
name = "circuit board (Library Visitor Console)"
|
||||
build_path = /obj/machinery/computer/libraryconsole
|
||||
origin_tech = "programming=1"
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user