[MIRROR] remove static chat colour tags (#7635)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
Co-authored-by: Changelogs <action@github.com>
Co-authored-by: Aroliacue <96730930+Aroliacue@users.noreply.github.com>
Co-authored-by: Eli <fracshun@gmail.com>
Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com>
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
Co-authored-by: TheGreatKitsune <88862343+TheGreatKitsune@users.noreply.github.com>
Co-authored-by: Missile597 <150307788+Missile597@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-01-29 16:45:19 -07:00
committed by GitHub
parent ad0bb36d2c
commit aab270c74f
263 changed files with 2862 additions and 2147 deletions

View File

@@ -259,14 +259,14 @@
return
if (src.active)
user.visible_message("<font color='blue'>\icon[src][bicon(src)] [user] deactivated the shield generator.</font>", \
"<font color='blue'>\icon[src][bicon(src)] You deactivate the shield generator.</font>", \
user.visible_message(span_blue("\icon[src][bicon(src)] [user] deactivated the shield generator."), \
span_blue("\icon[src][bicon(src)] You deactivate the shield generator."), \
"You hear heavy droning fade out.")
src.shields_down()
else
if(anchored)
user.visible_message("<font color='blue'>\icon[src][bicon(src)] [user] activated the shield generator.</font>", \
"<font color='blue'>\icon[src][bicon(src)] You activate the shield generator.</font>", \
user.visible_message(span_blue("\icon[src][bicon(src)] [user] activated the shield generator."), \
span_blue("\icon[src][bicon(src)] You activate the shield generator."), \
"You hear heavy droning.")
src.shields_up()
else
@@ -283,10 +283,10 @@
if(W.has_tool_quality(TOOL_SCREWDRIVER))
playsound(src, W.usesound, 100, 1)
if(is_open)
to_chat(user, "<font color='blue'>You close the panel.</font>")
to_chat(user, span_blue("You close the panel."))
is_open = 0
else
to_chat(user, "<font color='blue'>You open the panel and expose the wiring.</font>")
to_chat(user, span_blue("You open the panel and expose the wiring."))
is_open = 1
else if(istype(W, /obj/item/stack/cable_coil) && malfunction && is_open)
@@ -306,15 +306,15 @@
return
if(anchored)
playsound(src, W.usesound, 100, 1)
to_chat(user, "<font color='blue'>You unsecure the [src] from the floor!</font>")
to_chat(user, span_blue("You unsecure the [src] from the floor!"))
if(active)
to_chat(user, "<font color='blue'>The [src] shuts off!</font>")
to_chat(user, span_blue("The [src] shuts off!"))
src.shields_down()
anchored = FALSE
else
if(istype(get_turf(src), /turf/space)) return //No wrenching these in space!
playsound(src, W.usesound, 100, 1)
to_chat(user, "<font color='blue'>You secure the [src] to the floor!</font>")
to_chat(user, span_blue("You secure the [src] to the floor!"))
anchored = TRUE
@@ -323,7 +323,7 @@
src.locked = !src.locked
to_chat(user, "The controls are now [src.locked ? "locked." : "unlocked."]")
else
to_chat(user, "<font color='red'>Access denied.</font>")
to_chat(user, span_red("Access denied."))
else
..()

View File

@@ -27,13 +27,13 @@
/obj/machinery/shieldwallgen/attack_hand(mob/user as mob)
if(state != 1)
to_chat(user, "<font color='red'>The shield generator needs to be firmly secured to the floor first.</font>")
to_chat(user, span_red("The shield generator needs to be firmly secured to the floor first."))
return 1
if(src.locked && !istype(user, /mob/living/silicon))
to_chat(user, "<font color='red'>The controls are locked!</font>")
to_chat(user, span_red("The controls are locked!"))
return 1
if(power != 1)
to_chat(user, "<font color='red'>The shield generator needs to be powered by wire underneath.</font>")
to_chat(user, span_red("The shield generator needs to be powered by wire underneath."))
return 1
if(src.active >= 1)
@@ -105,7 +105,7 @@
src.active = 2
if(src.active >= 1)
if(src.power == 0)
src.visible_message("<font color='red'>The [src.name] shuts down due to lack of power!</font>", \
src.visible_message(span_red("The [src.name] shuts down due to lack of power!"), \
"You hear heavy droning fade out")
icon_state = "Shield_Gen"
src.active = 0
@@ -181,11 +181,11 @@
src.locked = !src.locked
to_chat(user, "Controls are now [src.locked ? "locked." : "unlocked."]")
else
to_chat(user, "<font color='red'>Access denied.</font>")
to_chat(user, span_red("Access denied."))
else
src.add_fingerprint(user)
visible_message("<font color='red'>The [src.name] has been hit with \the [W.name] by [user.name]!</font>")
visible_message(span_red("The [src.name] has been hit with \the [W.name] by [user.name]!"))
/obj/machinery/shieldwallgen/proc/cleanup(var/NSEW)
var/obj/machinery/shieldwall/F

View File

@@ -45,11 +45,11 @@
to_chat(user, "Controls are now [src.locked ? "locked." : "unlocked."]")
updateDialog()
else
to_chat(user, "<font color='red'>Access denied.</font>")
to_chat(user, span_red("Access denied."))
else if(W.has_tool_quality(TOOL_WRENCH))
src.anchored = !src.anchored
playsound(src, W.usesound, 75, 1)
src.visible_message("<font color='blue'>\icon[src][bicon(src)] [src] has been [anchored ? "bolted to the floor" : "unbolted from the floor"] by [user].</font>")
src.visible_message(span_blue("\icon[src][bicon(src)] [src] has been [anchored ? "bolted to the floor" : "unbolted from the floor"] by [user]."))
if(anchored)
spawn(0)
@@ -121,7 +121,7 @@
switch(action)
if("toggle")
if(!active && !anchored)
to_chat(usr, "<font color='red'>The [src] needs to be firmly secured to the floor first.</font>")
to_chat(usr, span_red("The [src] needs to be firmly secured to the floor first."))
return
active = !active
. = TRUE
@@ -145,4 +145,4 @@
return
src.set_dir(turn(src.dir, 270))
return
return

View File

@@ -68,11 +68,11 @@
to_chat(user, "Controls are now [src.locked ? "locked." : "unlocked."]")
updateDialog()
else
to_chat(user, "<font color='red'>Access denied.</font>")
to_chat(user, span_red("Access denied."))
else if(W.has_tool_quality(TOOL_WRENCH))
src.anchored = !src.anchored
playsound(src, W.usesound, 75, 1)
src.visible_message("<font color='blue'>\icon[src][bicon(src)] [src] has been [anchored?"bolted to the floor":"unbolted from the floor"] by [user].</font>")
src.visible_message(span_blue("\icon[src][bicon(src)] [src] has been [anchored?"bolted to the floor":"unbolted from the floor"] by [user]."))
if(active)
toggle()
@@ -207,7 +207,7 @@
switch(action)
if("toggle")
if (!active && !anchored)
to_chat(usr, "<font color='red'>The [src] needs to be firmly secured to the floor first.</font>")
to_chat(usr, span_red("The [src] needs to be firmly secured to the floor first."))
return
toggle()
. = TRUE