more font tag replacements (#17123)

* more font tag replacements

* few more

* more span conversion (#9)

---------

Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
This commit is contained in:
Kashargul
2025-03-01 17:58:58 +01:00
committed by GitHub
parent 6224445448
commit cb56adaa37
118 changed files with 935 additions and 915 deletions
@@ -103,18 +103,18 @@
my_client.mob.mind.changeling.purchasePower(M, Thepower)
if(href_list["tutorial"])
textbody = "<tr><th><font color='#c72121'><center>What am I?</center></font><br></th></tr>"
textbody = "<tr><th><center>" + span_red("What am I?") + "</center><br></th></tr>"
textbody += "<tr><td>"
textbody += "<font color='#F7F7ED'>You are a changeling, a creature empowered with genetic-based abilities that change your body in bizarre ways."
textbody += " It's probably best the crew doesn't know about your power -- at least not right away.</font><br><br>"
textbody += "<font color='#F7F7ED'>What a changeling <i>is</i>, however, is up to you. Are you a strange alien impersonating crew? Are you a"
textbody += " normal crewmember infected with a parasite? An experiment gone wrong? It's up to you to make the story.</font><br><br>"
textbody += "<font color='#F7F7ED'>Of course, you need to know how it works to begin with.</font><br><br>"
textbody += "<font color='#F7F7ED'>Your abilities cost chemicals that your body will slowly regenerate with varying speeds based on enhancements obtained."
textbody += " There are a set of inherent abilities you will always have while the rest may be purchased through genomes.</font><br><br>"
textbody += "<font color='#F7F7ED'>You may obtain more genomes if you find another changeling and absorb them, but this is not required. If you've found "
textbody += "your abilities aren't to your liking, you have up to two re-adapts available, and these may be refilled by absorbing anyone -- including monkeys.</font><br><br>"
textbody += "<font color='#F7F7ED'>Good luck and remember, killing isn't always the end goal.</font>"
textbody += span_white("You are a changeling, a creature empowered with genetic-based abilities that change your body in bizarre ways.")
textbody += span_white(" It's probably best the crew doesn't know about your power -- at least not right away.") + "<br><br>"
textbody += span_white("What a changeling " + span_italics("is"), + " however, is up to you. Are you a strange alien impersonating crew? Are you a")
textbody += span_white(" normal crewmember infected with a parasite? An experiment gone wrong? It's up to you to make the story.") + "<br><br>"
textbody += span_white("Of course, you need to know how it works to begin with.") + "<br><br>"
textbody += span_white("Your abilities cost chemicals that your body will slowly regenerate with varying speeds based on enhancements obtained.")
textbody += span_white(" There are a set of inherent abilities you will always have while the rest may be purchased through genomes.") + "<br><br>"
textbody += span_white("You may obtain more genomes if you find another changeling and absorb them, but this is not required. If you've found ")
textbody += span_white("your abilities aren't to your liking, you have up to two re-adapts available, and these may be refilled by absorbing anyone -- including monkeys.") + "<br><br>"
textbody += span_white("Good luck and remember, killing isn't always the end goal.")
display()
/datum/managed_browser/changelingevolution/proc/generate_abilitylist(cat)
@@ -149,17 +149,17 @@
create_textbody(ability_list, catname, info)
/datum/managed_browser/changelingevolution/proc/create_textbody(ability_list, cat, catinfo)
textbody = "<tr><th><font color='#c72121'><center>[cat] Skills</font><br></th></tr>"
textbody += "<tr><td><font color='#F7F7ED'>[catinfo]</center></font><br><hr></td></tr>"
textbody = "<tr><th><center>" + span_red("[cat] Skills") + "<br></th></tr>"
textbody += "<tr><td>" + span_white("[catinfo]") + "</center><br><hr></td></tr>"
for(var/A in ability_list)
var/datum/power/changeling/powerdata = A
textbody += "<tr><td><center><font color='#c72121'><b>[initial(powerdata.name)]</b></font><br></center>"
textbody += "<font color='#F7F7ED'>[initial(powerdata.desc)]</font><br><br>"
textbody += "<font color='#F7F7ED'><i>[powerdata.helptext]</i></font><br>"
textbody += "<tr><td><center>" + span_red(span_bold("[initial(powerdata.name)]")) + "<br></center>"
textbody += span_white("[initial(powerdata.desc)]") + "<br><br>"
textbody += span_white(span_italics("[powerdata.helptext]")) + "<br>"
if(powerdata.enhancedtext != "")
textbody += "<font color='#F7F7ED'><b>WHEN ENHANCED: </b><i>[powerdata.enhancedtext]</i></font><br>"
textbody += span_white(span_bold("WHEN ENHANCED: ") + span_italics("[powerdata.enhancedtext]")) + "<br>"
if(powerdata in my_client.mob.mind.changeling.purchased_powers)
textbody += "<center><font color='#F7F7ED'><i><b>This ability is already evolved!</b></i></font></center>"
textbody += "<center>" + span_white(span_italics(span_bold("This ability is already evolved!"))) + "</center>"
else if(cat != "Inherent")
textbody += "<center>Cost: [powerdata.genomecost]</center>"
textbody += "<center><a style='background-color:#c72121;' href='byond://?src=\ref[src];evolve=[A]'>Evolve</a></center>"
@@ -42,13 +42,12 @@ GENERAL_PROTECT_DATUM(/datum/managed_browser/feedback_form)
/datum/managed_browser/feedback_form/get_html()
var/list/dat = list("<html><body>")
dat += "<center>"
dat += "<font size='2'>"
dat += "Here, you can write some feedback for the server.<br>"
dat += "Note that HTML is NOT supported!<br>"
dat += "Click the edit button to begin writing.<br>"
var/dat_text = "Here, you can write some feedback for the server.<br>"
dat_text += "Note that HTML is NOT supported!<br>"
dat_text += "Click the edit button to begin writing.<br>"
dat += "Your feedback is currently [length(feedback_body)]/[MAX_FEEDBACK_LENGTH] letters long."
dat += "</font>"
dat_text += "Your feedback is currently [length(feedback_body)]/[MAX_FEEDBACK_LENGTH] letters long."
dat += span_normal(dat_text)
dat += "<hr>"
dat += "<h2>Preview</h2></center>"
+2 -2
View File
@@ -357,10 +357,10 @@
if(I in organs.implants)
qdel(I)
break
to_chat(H, span_notice("<font size =3><B>Your loyalty implant has been deactivated.</B></font>"))
to_chat(H, span_notice(span_large(span_bold("Your loyalty implant has been deactivated."))))
log_admin("[key_name_admin(usr)] has de-loyalty implanted [current].")
if("add")
to_chat(H, span_danger("<font size =3>You somehow have become the recepient of a loyalty transplant, and it just activated!</font>"))
to_chat(H, span_danger(span_large("You somehow have become the recepient of a loyalty transplant, and it just activated!")))
H.implant_loyalty(override = TRUE)
log_admin("[key_name_admin(usr)] has loyalty implanted [current].")