Borg wire message shows wires being covered. (#9072)

The messages now reflect wire status when exposing/covering borg wires.
Fixes #9052
This commit is contained in:
aleksix
2020-06-10 09:02:34 +03:00
committed by GitHub
parent b147266ccb
commit 953d87df0c
2 changed files with 42 additions and 1 deletions
@@ -721,7 +721,7 @@
return
else if(W.isscrewdriver() && opened && !cell) // haxing
wires_exposed = !wires_exposed
user.visible_message(SPAN_NOTICE("\The [user] exposes \the [src]'s wires."), SPAN_NOTICE("You expose \the [src]'s wires."))
user.visible_message(SPAN_NOTICE("\The [user] [wires_exposed ? "exposes" : "covers"] \the [src]'s wires."), SPAN_NOTICE("You [wires_exposed ? "expose" : "cover"] \the [src]'s wires."))
updateicon()
else if(W.isscrewdriver() && opened && cell) // radio
if(radio)