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
+2 -2
View File
@@ -121,10 +121,10 @@
if(M.client)
spawn(0)
if(M.buckled)
M << "\red Sudden acceleration presses you into your chair!"
M << "<span class='warning'>Sudden acceleration presses you into your chair!</span>"
shake_camera(M, 3, 1)
else
M << "\red The floor lurches beneath you!"
M << "<span class='warning'>The floor lurches beneath you!</span>"
shake_camera(M, 10, 1)
if(istype(M, /mob/living/carbon))
if(!M.buckled)
+1 -1
View File
@@ -15,7 +15,7 @@
return
//src.add_fingerprint(user) //shouldn't need fingerprints just for looking at it.
if(!allowed(user))
user << "\red Access Denied."
user << "<span class='warning'>Access Denied.</span>"
return 1
ui_interact(user)
+6 -6
View File
@@ -4,7 +4,7 @@
req_access = list(access_cent_specops)
/obj/machinery/computer/shuttle_control/specops/attack_ai(user as mob)
user << "\red Access Denied."
user << "<span class='warning'>Access Denied.</span>"
return 1
//for shuttles that may use a different docking port at each location
@@ -62,14 +62,14 @@
var/obj/machinery/computer/C = user
if(world.time <= reset_time)
C.visible_message("\blue [boss_name] will not allow the Special Operations shuttle to launch yet.")
C.visible_message("<span class='notice'>[boss_name] will not allow the Special Operations shuttle to launch yet.</span>")
if (((world.time - reset_time)/10) > 60)
C.visible_message("\blue [-((world.time - reset_time)/10)/60] minutes remain!")
C.visible_message("<span class='notice'>[-((world.time - reset_time)/10)/60] minutes remain!</span>")
else
C.visible_message("\blue [-(world.time - reset_time)/10] seconds remain!")
C.visible_message("<span class='notice'>[-(world.time - reset_time)/10] seconds remain!</span>")
return
C.visible_message("\blue The Special Operations shuttle will depart in [(specops_countdown_time/10)] seconds.")
C.visible_message("<span class='notice'>The Special Operations shuttle will depart in [(specops_countdown_time/10)] seconds.</span>")
if (location) //returning
radio_announce("THE SPECIAL OPERATIONS SHUTTLE IS PREPARING TO RETURN")
@@ -111,7 +111,7 @@
radio_announce("ALERT: LAUNCH SEQUENCE ABORTED")
if (istype(in_use, /obj/machinery/computer))
var/obj/machinery/computer/C = in_use
C.visible_message("\red Launch sequence aborted.")
C.visible_message("<span class='warning'>Launch sequence aborted.</span>")
..()
+7 -7
View File
@@ -165,7 +165,7 @@
return
if (MS.moving_status != SHUTTLE_IDLE)
usr << "\blue [shuttle_tag] vessel is moving."
usr << "<span class='notice'>[shuttle_tag] vessel is moving.</span>"
return
if(href_list["dock_command"])
@@ -178,11 +178,11 @@
if(href_list["start"])
if(MS.at_origin)
usr << "\red You are already at your home base."
usr << "<span class='warning'>You are already at your home base.</span>"
return
if((MS.last_move + MS.cooldown*10) > world.time)
usr << "\red The ship's drive is inoperable while the engines are charging."
usr << "<span class='warning'>The ship's drive is inoperable while the engines are charging.</span>"
return
if(!check_docking(MS))
@@ -190,7 +190,7 @@
return
if(!MS.return_warning)
usr << "\red Returning to your home base will end your mission. If you are sure, press the button again."
usr << "<span class='warning'>Returning to your home base will end your mission. If you are sure, press the button again.</span>"
//TODO: Actually end the mission.
MS.return_warning = 1
return
@@ -203,11 +203,11 @@
if(href_list["toggle_cloak"])
MS.cloaked = !MS.cloaked
usr << "\red Ship stealth systems have been [(MS.cloaked ? "activated. The station will not" : "deactivated. The station will")] be warned of our arrival."
usr << "<span class='warning'>Ship stealth systems have been [(MS.cloaked ? "activated. The station will not" : "deactivated. The station will")] be warned of our arrival.</span>"
if(href_list["move_multi"])
if((MS.last_move + MS.cooldown*10) > world.time)
usr << "\red The ship's drive is inoperable while the engines are charging."
usr << "<span class='warning'>The ship's drive is inoperable while the engines are charging.</span>"
return
if(!check_docking(MS))
@@ -217,7 +217,7 @@
var/choice = input("Select a destination.") as null|anything in MS.destinations
if(!choice) return
usr << "\blue [shuttle_tag] main computer recieved message."
usr << "<span class='notice'>[shuttle_tag] main computer recieved message.</span>"
if(MS.at_origin)
MS.announce_arrival()