Removes all \red and \blue's (#2309)

Removes all \red's and \blues in favor of span classes. \red things that were bold were replaced with danger because it's warning but bold.
This commit is contained in:
Ron
2017-05-21 12:07:57 +03:00
committed by skull132
parent fe396373c6
commit 790480c8da
226 changed files with 1027 additions and 1027 deletions
+10 -10
View File
@@ -249,14 +249,14 @@
return
if (src.active)
user.visible_message("\blue \icon[src] [user] deactivated the shield generator.", \
"\blue \icon[src] You deactivate the shield generator.", \
user.visible_message("<span class='notice'>\icon[src] [user] deactivated the shield generator.</span>", \
"<span class='notice'>\icon[src] You deactivate the shield generator.</span>", \
"You hear heavy droning fade out.")
src.shields_down()
else
if(anchored)
user.visible_message("\blue \icon[src] [user] activated the shield generator.", \
"\blue \icon[src] You activate the shield generator.", \
user.visible_message("<span class='notice'>\icon[src] [user] activated the shield generator.</span>", \
"<span class='notice'>\icon[src] You activate the shield generator.</span>", \
"You hear heavy droning.")
src.shields_up()
else
@@ -273,10 +273,10 @@
if(istype(W, /obj/item/weapon/screwdriver))
playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1)
if(is_open)
user << "\blue You close the panel."
user << "<span class='notice'>You close the panel.</span>"
is_open = 0
else
user << "\blue You open the panel and expose the wiring."
user << "<span class='notice'>You open the panel and expose the wiring.</span>"
is_open = 1
else if(istype(W, /obj/item/stack/cable_coil) && malfunction && is_open)
@@ -296,15 +296,15 @@
return
if(anchored)
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
user << "\blue You unsecure the [src] from the floor!"
user << "<span class='notice'>You unsecure the [src] from the floor!</span>"
if(active)
user << "\blue The [src] shuts off!"
user << "<span class='notice'>The [src] shuts off!</span>"
src.shields_down()
anchored = 0
else
if(istype(get_turf(src), /turf/space)) return //No wrenching these in space!
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
user << "\blue You secure the [src] to the floor!"
user << "<span class='notice'>You secure the [src] to the floor!</span>"
anchored = 1
@@ -313,7 +313,7 @@
src.locked = !src.locked
user << "The controls are now [src.locked ? "locked." : "unlocked."]"
else
user << "\red Access denied."
user << "<span class='warning'>Access denied.</span>"
else
..()
+6 -6
View File
@@ -28,13 +28,13 @@
/obj/machinery/shieldwallgen/attack_hand(mob/user as mob)
if(state != 1)
user << "\red The shield generator needs to be firmly secured to the floor first."
user << "<span class='warning'>The shield generator needs to be firmly secured to the floor first.</span>"
return 1
if(src.locked && !istype(user, /mob/living/silicon))
user << "\red The controls are locked!"
user << "<span class='warning'>The controls are locked!</span>"
return 1
if(power != 1)
user << "\red The shield generator needs to be powered by wire underneath."
user << "<span class='warning'>The shield generator needs to be powered by wire underneath.</span>"
return 1
if(src.active >= 1)
@@ -106,7 +106,7 @@
src.active = 2
if(src.active >= 1)
if(src.power == 0)
src.visible_message("\red The [src.name] shuts down due to lack of power!", \
src.visible_message("<span class='warning'>The [src.name] shuts down due to lack of power!</span>", \
"You hear heavy droning fade out")
icon_state = "Shield_Gen"
src.active = 0
@@ -182,11 +182,11 @@
src.locked = !src.locked
user << "Controls are now [src.locked ? "locked." : "unlocked."]"
else
user << "\red Access denied."
user << "<span class='warning'>Access denied.</span>"
else
src.add_fingerprint(user)
visible_message("\red The [src.name] has been hit with \the [W.name] by [user.name]!")
visible_message("<span class='warning'>The [src.name] has been hit with \the [W.name] by [user.name]!</span>")
/obj/machinery/shieldwallgen/proc/cleanup(var/NSEW)
var/obj/machinery/shieldwall/F
+1 -1
View File
@@ -126,7 +126,7 @@
return
if( href_list["toggle"] )
if(!active && !anchored)
usr << "\red The [src] needs to be firmly secured to the floor first."
usr << "<span class='warning'>The [src] needs to be firmly secured to the floor first.</span>"
return
active = !active
if( href_list["charge_rate"] )
+1 -1
View File
@@ -183,7 +183,7 @@
return
else if( href_list["toggle"] )
if (!active && !anchored)
usr << "\red The [src] needs to be firmly secured to the floor first."
usr << "<span class='warning'>The [src] needs to be firmly secured to the floor first.</span>"
return
toggle()
else if( href_list["change_radius"] )