Adds a debug circuitry printer, along with some assorted circuit fixes and tweaks (#35578)

* Some more circuitry foolin'

* Fixes blood draw not working
This commit is contained in:
Ashe Higgs
2018-02-19 22:09:01 -06:00
committed by CitadelStationBot
parent fef23bd7cc
commit 1fe801e155
5 changed files with 36 additions and 25 deletions
@@ -8,7 +8,7 @@
/obj/item/device/integrated_electronics/analyzer/afterattack(var/atom/A, var/mob/living/user)
if(istype(A, /obj/item/device/electronic_assembly))
var/saved = SScircuit.save_electronic_assembly(A)
var/saved = "[A.name] analyzed! On circuit printers with cloning enabled, you may use the code below to clone the circuit:<br><br><code>[SScircuit.save_electronic_assembly(A)]</code>"
if(saved)
to_chat(user, "<span class='notice'>You scan [A].</span>")
user << browse(saved, "window=circuit_scan;size=500x600;border=1;can_resize=1;can_close=1;can_minimize=1")