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
+3 -3
View File
@@ -89,7 +89,7 @@
attach_assembly(var/obj/item/device/assembly/A, var/mob/user)
holder = new/obj/item/device/assembly_holder(get_turf(src))
if(holder.attach(A,src,user))
user << "\blue You attach \the [A] to \the [src]!"
user << "<span class='notice'>You attach \the [A] to \the [src]!</span>"
return 1
return 0
@@ -102,9 +102,9 @@
return
if(isscrewdriver(W))
if(toggle_secure())
user << "\blue \The [src] is ready!"
user << "<span class='notice'>\The [src] is ready!</span>"
else
user << "\blue \The [src] can now be attached!"
user << "<span class='notice'>\The [src] can now be attached!</span>"
return
..()
return
+4 -4
View File
@@ -146,15 +146,15 @@
attackby(obj/item/weapon/W as obj, mob/user as mob)
if(isscrewdriver(W))
if(!a_left || !a_right)
user << "\red BUG:Assembly part missing, please report this!"
user << "<span class='danger'>BUG:Assembly part missing, please report this!</span>"
return
a_left.toggle_secure()
a_right.toggle_secure()
secured = !secured
if(secured)
user << "\blue \The [src] is ready!"
user << "<span class='notice'>\The [src] is ready!</span>"
else
user << "\blue \The [src] can now be taken apart!"
user << "<span class='notice'>\The [src] can now be taken apart!</span>"
update_icon()
return
else if(W.IsSpecialAssembly())
@@ -168,7 +168,7 @@
src.add_fingerprint(user)
if(src.secured)
if(!a_left || !a_right)
user << "\red Assembly part missing!"
user << "<span class='warning'>Assembly part missing!</span>"
return
if(istype(a_left,a_right.type))//If they are the same type it causes issues due to window code
switch(alert("Which side would you like to use?",,"Left","Right"))
+1 -1
View File
@@ -27,7 +27,7 @@
var/types = target.find_type()
if(ismouse(target))
var/mob/living/simple_animal/mouse/M = target
visible_message("\red <b>SPLAT!</b>")
visible_message("<span class='danger'>SPLAT!</span>")
M.splat()
else
var/zone = "chest"
+1 -1
View File
@@ -115,7 +115,7 @@
interact(mob/user as mob)//TODO: Change this to the wires thingy
if(!secured)
user.show_message("\red The [name] is unsecured!")
user.show_message("<span class='warning'>The [name] is unsecured!</span>")
return 0
var/second = time % 60
var/minute = (time - second) / 60
+1 -1
View File
@@ -181,7 +181,7 @@
deadman = 1
processing_objects.Add(src)
log_and_message_admins("is threatening to trigger a signaler deadman's switch")
usr.visible_message("\red [usr] moves their finger over [src]'s signal button...")
usr.visible_message("<span class='warning'>[usr] moves their finger over [src]'s signal button...</span>")
/obj/item/device/assembly/signaler/Destroy()
if(SSradio)
+1 -1
View File
@@ -69,7 +69,7 @@
interact(mob/user as mob)//TODO: Have this use the wires
if(!secured)
user.show_message("\red The [name] is unsecured!")
user.show_message("<span class='warning'>The [name] is unsecured!</span>")
return 0
var/second = time % 60
var/minute = (time - second) / 60