[MIRROR] Gives engineering cyborgs an item they can use in place of circuits for basic construction (#2875)

* Gives engineering cyborgs an item they can use in place of circuits for basic construction

* fixes
This commit is contained in:
CitadelStationBot
2017-09-22 23:35:54 -05:00
committed by Poojawa
parent eb36f34267
commit a286d0c313
8 changed files with 126 additions and 1 deletions
@@ -708,6 +708,16 @@
qdel(W)
return
if(istype(W, /obj/item/device/electroadaptive_pseudocircuit))
var/obj/item/device/electroadaptive_pseudocircuit/P = W
if(!P.adapt_circuit(user, 25))
return
user.visible_message("<span class='notice'>[user] fabricates a circuit and places it into [src].</span>", \
"<span class='notice'>You adapt an air alarm circuit and slot it into the assembly.</span>")
buildstage = 1
update_icon()
return
if(istype(W, /obj/item/wrench))
to_chat(user, "<span class='notice'>You detach \the [src] from the wall.</span>")
playsound(src.loc, W.usesound, 50, 1)