remove static chat colour tags

This commit is contained in:
Kashargul
2024-01-21 12:34:53 +01:00
parent 956acefc4d
commit e4b62dfa35
242 changed files with 1178 additions and 996 deletions
+2 -2
View File
@@ -143,7 +143,7 @@
//This stops files larger than UPLOAD_LIMIT being sent from client to server via input(), client.Import() etc.
/client/AllowUpload(filename, filelength)
if(filelength > UPLOAD_LIMIT)
to_chat(src, "<font color='red'>Error: AllowUpload(): File Upload too large. Upload Limit: [UPLOAD_LIMIT/1024]KiB.</font>")
to_chat(src, span_red("Error: AllowUpload(): File Upload too large. Upload Limit: [UPLOAD_LIMIT/1024]KiB."))
return 0
/* //Don't need this at the moment. But it's here if it's needed later.
//Helps prevent multiple files being uploaded at once. Or right after eachother.
@@ -173,7 +173,7 @@
//Only show this if they are put into a new_player mob. Otherwise, "what title screen?"
if(isnewplayer(src.mob))
to_chat(src, "<font color='red'>If the title screen is black, resources are still downloading. Please be patient until the title screen appears.</font>")
to_chat(src, span_red("If the title screen is black, resources are still downloading. Please be patient until the title screen appears."))
GLOB.clients += src
GLOB.directory[ckey] = src
+7 -7
View File
@@ -16,29 +16,29 @@
entry += " - Playing as [C.mob.real_name]"
switch(C.mob.stat)
if(UNCONSCIOUS)
entry += " - <font color='darkgray'><b>Unconscious</b></font>"
entry += " - [span_darkgray("<b>Unconscious</b>")]"
if(DEAD)
if(isobserver(C.mob))
var/mob/observer/dead/O = C.mob
if(O.started_as_observer)
entry += " - <font color='gray'>Observing</font>"
entry += " - [span_gray("Observing")]"
else
entry += " - <font color='black'><b>DEAD</b></font>"
entry += " - [span_black("<b>DEAD</b>")]"
else
entry += " - <font color='black'><b>DEAD</b></font>"
entry += " - [span_black("<b>DEAD</b>")]"
if(C.player_age != initial(C.player_age) && isnum(C.player_age)) // database is on
var/age = C.player_age
switch(age)
if(0 to 1)
age = "<font color='#ff0000'><b>[age] days old</b></font>"
age = span_red("<b>[age] days old</b>")
if(1 to 10)
age = "<font color='#ff8c00'><b>[age] days old</b></font>"
age = span_orange("<b>[age] days old</b>")
else
entry += " - [age] days old"
if(is_special_character(C.mob))
entry += " - <b><font color='red'>Antagonist</font></b>"
entry += " - [span_red("<b>Antagonist</b>")]"
if(C.is_afk())
var/seconds = C.last_activity_seconds()