next set of spans (#16434)

* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
This commit is contained in:
Kashargul
2024-10-16 23:37:27 +02:00
committed by GitHub
parent 6275972fef
commit b594520a74
604 changed files with 2801 additions and 2638 deletions
+2 -2
View File
@@ -227,9 +227,9 @@
if(law == zeroth_law_borg)
continue
if(law == zeroth_law)
to_chat(who, span_danger("[law.get_index()]. [law.law]"))
to_chat(who, span_info(span_red("[law.get_index()]. [law.law]")))
else
to_chat(who, "[law.get_index()]. [law.law]")
to_chat(who, span_infoplain("[law.get_index()]. [law.law]"))
/********************
* Stating Laws *
+1 -1
View File
@@ -148,7 +148,7 @@ var/list/runechat_image_cache = list()
// Differnt from our own system of name emphasis, maybe unify
var/list/names = splittext(owner.name, " ")
for (var/word in names)
text = replacetext(text, word, "<b>[word]</b>")
text = replacetext(text, word, span_bold("[word]"))
var/list/prefixes
+1 -1
View File
@@ -91,7 +91,7 @@
/datum/proc/vv_get_header()
. = list()
if(("name" in vars) && !isatom(src))
. += "<b>[vars["name"]]</b><br>"
. += span_bold("[vars["name"]]") + "<br>"
/datum/proc/on_reagent_change(changetype)
return
+6 -6
View File
@@ -64,19 +64,19 @@ GLOBAL_DATUM(revdata, /datum/getrev)
var/list/msg = list()
if(GLOB.revdata.revision)
msg += "<b>Server revision:</b> B:[GLOB.revdata.branch] D:[GLOB.revdata.date]"
msg += span_bold("Server revision:") + " B:[GLOB.revdata.branch] D:[GLOB.revdata.date]"
if(config.githuburl)
msg += "<b>Commit:</b> <a href='[config.githuburl]/commit/[GLOB.revdata.revision]'>[GLOB.revdata.revision]</a>"
msg += span_bold("Commit:") + " <a href='[config.githuburl]/commit/[GLOB.revdata.revision]'>[GLOB.revdata.revision]</a>"
else
msg += "<b>Commit:</b> GLOB.revdata.revision"
msg += span_bold("Commit:") + " GLOB.revdata.revision"
else
msg += "<b>Server revision:</b> Unknown"
msg += span_bold("Server revision:") + " Unknown"
if(world.TgsAvailable())
var/datum/tgs_version/version = world.TgsVersion()
msg += "<b>TGS version:</b> [version.raw_parameter]"
msg += span_bold("TGS version:") + " [version.raw_parameter]"
var/datum/tgs_version/api_version = world.TgsApiVersion()
msg += "<b>DMAPI version:</b> [api_version.raw_parameter]"
msg += span_bold("DMAPI version:") + " [api_version.raw_parameter]"
if(GLOB.revdata.testmerge.len)
msg += GLOB.revdata.GetTestMergeInfo()
@@ -58,14 +58,14 @@ GENERAL_PROTECT_DATUM(/datum/managed_browser/feedback_form)
if(can_be_private())
if(!feedback_hide_author)
dat += "[my_client.ckey] "
dat += span_linkOn("<b>Visible</b>")
dat += span_linkOn(span_bold("Visible"))
dat += " | "
dat += href(src, list("feedback_hide_author" = 1), "Hashed")
else
dat += "[md5(ckey(lowertext(my_client.ckey + SSsqlite.get_feedback_pepper())))] "
dat += href(src, list("feedback_hide_author" = 0), "Visible")
dat += " | "
dat += span_linkOn("<b>Hashed</b>")
dat += span_linkOn(span_bold("Hashed"))
else
dat += my_client.ckey
dat += "<br>"
@@ -79,7 +79,7 @@ GENERAL_PROTECT_DATUM(/datum/managed_browser/feedback_form)
if(feedback_body)
dat += replacetext(feedback_body, "\n", "<br>") // So newlines will look like they work in the preview.
else
dat += "<i>\[Feedback goes here...\]</i>"
dat += span_italics("\[Feedback goes here...\]")
dat += "<br>"
dat += href(src, list("feedback_edit_body" = 1), "Edit")
dat += "<hr>"
+7 -7
View File
@@ -110,7 +110,7 @@
memory += "[new_text]<BR>"
/datum/mind/proc/show_memory(mob/recipient)
var/output = "<B>[current.real_name]'s Memory</B><HR>"
var/output = span_bold("[current.real_name]'s Memory") + "<HR>"
output += memory
if(objectives.len>0)
@@ -118,7 +118,7 @@
var/obj_count = 1
for(var/datum/objective/objective in objectives)
output += "<B>Objective #[obj_count]</B>: [objective.explanation_text]"
output += span_bold("Objective #[obj_count]") + ": [objective.explanation_text]"
obj_count++
if(ambitions)
@@ -130,7 +130,7 @@
tgui_alert_async(usr, "Not before round-start!", "Alert")
return
var/out = "<B>[name]</B>[(current&&(current.real_name!=name))?" (as [current.real_name])":""]<br>"
var/out = span_bold("[name]") + "[(current&&(current.real_name!=name))?" (as [current.real_name])":""]<br>"
out += "Mind currently owned by key: [key] [active?"(synced)":"(not synced)"]<br>"
out += "Assigned role: [assigned_role]. <a href='?src=\ref[src];[HrefToken()];role_edit=1'>Edit</a><br>"
out += "<hr>"
@@ -139,12 +139,12 @@
var/datum/antagonist/antag = all_antag_types[antag_type]
out += "[antag.get_panel_entry(src)]"
out += "</table><hr>"
out += "<b>Objectives</b></br>"
out += span_bold("Objectives") + "</br>"
if(objectives && objectives.len)
var/num = 1
for(var/datum/objective/O in objectives)
out += "<b>Objective #[num]:</b> [O.explanation_text] "
out += span_bold("Objective #[num]:") + " [O.explanation_text] "
if(O.completed)
out += "([span_green("complete")])"
else
@@ -157,7 +157,7 @@
else
out += "None."
out += "<br><a href='?src=\ref[src];[HrefToken()];obj_add=1'>\[add\]</a><br><br>"
out += "<b>Ambitions:</b> [ambitions ? ambitions : "None"] <a href='?src=\ref[src];[HrefToken()];amb_edit=\ref[src]'>\[edit\]</a></br>"
out += span_bold("Ambitions:") + " [ambitions ? ambitions : "None"] <a href='?src=\ref[src];[HrefToken()];amb_edit=\ref[src]'>\[edit\]</a></br>"
usr << browse(out, "window=edit_memory[src]")
/datum/mind/Topic(href, href_list)
@@ -424,7 +424,7 @@
var/obj_count = 1
to_chat(current, span_blue("Your current objectives:"))
for(var/datum/objective/objective in objectives)
to_chat(current, "<B>Objective #[obj_count]</B>: [objective.explanation_text]")
to_chat(current, span_bold("Objective #[obj_count]") + ": [objective.explanation_text]")
obj_count++
edit_memory()
+1 -1
View File
@@ -41,7 +41,7 @@ GLOBAL_LIST(active_department_goals)
for(var/category in GLOB.active_department_goals)
var/list/cat_goals = GLOB.active_department_goals[category]
to_world(span_filter_system("<b>[category]</b>"))
to_world(span_world("[category]"))
if(!LAZYLEN(cat_goals))
to_world(span_filter_system("There were no assigned goals!"))
+2 -2
View File
@@ -84,7 +84,7 @@ var/global/list/security_printer_tickets = list() //VOREStation Edit
//VOREStation Add End
if(LAZYLEN(valid_stats_list))
to_world("<B>Shift trivia!</B>")
to_world(span_world("Shift trivia!"))
for(var/body in valid_stats_list)
to_world("[body]")
to_world(span_filter_system("[body]"))