Merge pull request #34384 from F-OS/patch-3

Quality of life: Newly constructed APCS are unlocked
This commit is contained in:
Leo
2018-01-15 01:32:08 -02:00
committed by CitadelStationBot
parent 969a8ac9ef
commit 2b4735ded0
+2 -2
View File
@@ -544,7 +544,7 @@
if(do_after(user, 10, target = src))
if(has_electronics==0)
has_electronics = 1
locked = TRUE //We placed new, locked board in
locked = FALSE
to_chat(user, "<span class='notice'>You place the power control board inside the frame.</span>")
qdel(W)
@@ -559,7 +559,7 @@
user.visible_message("<span class='notice'>[user] fabricates a circuit and places it into [src].</span>", \
"<span class='notice'>You adapt a power control board and click it into place in [src]'s guts.</span>")
has_electronics = TRUE
locked = TRUE
locked = FALSE
else if(!cell)
if(stat & MAINT)
to_chat(user, "<span class='warning'>There's no connector for a power cell.</span>")