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
+6 -6
View File
@@ -49,7 +49,7 @@ var/global/list/rad_collectors = list()
investigate_log("turned [active?"<font color='green'>on</font>":"<font color='red'>off</font>"] by [user.key]. [P?"Fuel: [round(P.air_contents.gas["phoron"]/0.29)]%":"<font color='red'>It is empty</font>"].","singulo")
return
else
user << "\red The controls are locked!"
user << "<span class='warning'>The controls are locked!</span>"
return
..()
@@ -57,10 +57,10 @@ var/global/list/rad_collectors = list()
/obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/weapon/tank/phoron))
if(!src.anchored)
user << "\red The [src] needs to be secured to the floor first."
user << "<span class='warning'>The [src] needs to be secured to the floor first.</span>"
return 1
if(src.P)
user << "\red There's already a phoron tank loaded."
user << "<span class='warning'>There's already a phoron tank loaded.</span>"
return 1
user.drop_item()
src.P = W
@@ -73,7 +73,7 @@ var/global/list/rad_collectors = list()
return 1
else if(istype(W, /obj/item/weapon/wrench))
if(P)
user << "\blue Remove the phoron tank first."
user << "<span class='notice'>Remove the phoron tank first.</span>"
return 1
playsound(src.loc, 'sound/items/Ratchet.ogg', 75, 1)
src.anchored = !src.anchored
@@ -92,9 +92,9 @@ var/global/list/rad_collectors = list()
user << "The controls are now [src.locked ? "locked." : "unlocked."]"
else
src.locked = 0 //just in case it somehow gets locked
user << "\red The controls can only be locked when the [src] is active"
user << "<span class='warning'>The controls can only be locked when the [src] is active.</span>"
else
user << "\red Access denied!"
user << "<span class='warning'>Access denied!</span>"
return 1
return ..()
@@ -116,13 +116,13 @@ field_generator power level display
"You hear ratchet")
src.anchored = 0
if(2)
user << "\red The [src.name] needs to be unwelded from the floor."
user << "<span class='warning'>The [src.name] needs to be unwelded from the floor.</span>"
return
else if(istype(W, /obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/WT = W
switch(state)
if(0)
user << "\red The [src.name] needs to be wrenched to the floor."
user << "<span class='warning'>The [src.name] needs to be wrenched to the floor.</span>"
return
if(1)
if (WT.remove_fuel(0,user))