Fixes pain and announcement font size. (#22681)

title, h2 and manual font size brokey

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2026-06-19 19:23:07 +02:00
committed by GitHub
parent 5c7a012e8b
commit 2f4a8d6f3d
23 changed files with 105 additions and 44 deletions
+2 -2
View File
@@ -706,7 +706,7 @@ var/global/enabled_spooking = 0
if(!check_rights(R_ADMIN, 0))
message = sanitize(message, 500, extra = 0)
message = replacetext(message, "\n", "<br>") // required since we're putting it in a <p> tag
to_world("<span class=notice><b>[usr.client.holder.fakekey ? "Administrator" : usr.key] Announces:</b><p style='text-indent: 50px'>[message]</p></span>")
to_world(EXAMINE_BLOCK_BLUE("<span class=notice><b>[usr.client.holder.fakekey ? "Administrator" : usr.key] Announces:</b><p style='text-indent: 50px'>[message]</p></span>"))
log_admin("Announce: [key_name(usr)] : [message]")
feedback_add_details("admin_verb","A") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -1088,7 +1088,7 @@ var/global/enabled_spooking = 0
alert("Not before roundstart!", "Alert")
return
var/out = "<font size=3><b>Current mode: [SSticker.mode.name] (<a href='byond://?src=[REF(SSticker.mode)];debug_antag=self'>[SSticker.mode.config_tag]</a>)</b></font><br/>"
var/out = "<font size=5><b>Current mode: [SSticker.mode.name] (<a href='byond://?src=[REF(SSticker.mode)];debug_antag=self'>[SSticker.mode.config_tag]</a>)</b></font><br/>"
out += "<hr>"
if(SSticker.mode.ert_disabled)
+1 -1
View File
@@ -1132,7 +1132,7 @@ GLOBAL_LIST_INIT(admin_verbs_storyteller, list(
set name = "Man Up"
set desc = "Tells mob to man up and deal with it."
to_chat(T, SPAN_NOTICE("<b><font size=3>Man up and deal with it.</font></b>"))
to_chat(T, SPAN_NOTICE("<b><font size=6>Man up and deal with it.</font></b>"))
to_chat(T, SPAN_NOTICE("Move on."))
log_admin("[key_name(usr)] told [key_name(T)] to man up and deal with it.")
@@ -21,5 +21,5 @@
/datum/ghostspawner/human/ert/post_spawn(mob/user)
if(name)
to_chat(user, SPAN_DANGER("<font size=3>You are [max_count > 1 ? "a" : "the"] [name]!</font>"))
to_chat(user, SPAN_DANGER("<font size=5>You are [max_count > 1 ? "a" : "the"] [name]!</font>"))
return ..()
@@ -370,7 +370,7 @@
suit = w_uniform
user.set_machine(src)
var/dat = "<B><HR><FONT size=3>[name]</FONT></B><BR><HR>"
var/dat = "<B><HR><FONT size=5>[name]</FONT></B><BR><HR>"
if(internals)
dat += "<B>Internals: [internal ? "On" : "Off"]</B><BR>"
@@ -202,12 +202,12 @@
// External Organ Pain Damage
var/organ_low_pain_message = "<b>Your %PARTNAME% hurts.</b>"
var/organ_med_pain_message = "<b><font size=3>Your %PARTNAME% hurts badly!</font></b>"
var/organ_high_pain_message = "<b><font size=3>Your %PARTNAME% is screaming out in pain!</font></b>"
var/organ_med_pain_message = "<b><font size=4>Your %PARTNAME% hurts badly!</font></b>"
var/organ_high_pain_message = "<b><font size=5>Your %PARTNAME% is screaming out in pain!</font></b>"
var/organ_low_burn_message = SPAN_DANGER("Your %PARTNAME% burns.")
var/organ_med_burn_message = SPAN_DANGER("<font size=3>Your %PARTNAME% burns horribly!</font>")
var/organ_high_burn_message = SPAN_DANGER("<font size=4>Your %PARTNAME% feels like it's on fire!</font>")
var/organ_med_burn_message = SPAN_DANGER("<font size=4>Your %PARTNAME% burns horribly!</font>")
var/organ_high_burn_message = SPAN_DANGER("<font size=5>Your %PARTNAME% feels like it's on fire!</font>")
var/list/stutter_verbs = list("stammers", "stutters")
@@ -57,12 +57,12 @@ They are very slow, reasonably strong, and quite durable. They also require ligh
Dionae survive primarily on off of the electromagnetic spectrum and biological matter."
organ_low_pain_message = "<b>The nymph making up our %PARTNAME% feels injured.</b>"
organ_med_pain_message = "<b><font size=3>The nymph making up our %PARTNAME% can barely manage the pain!</font></b>"
organ_high_pain_message = "<b><font size=3>The nymph making up our %PARTNAME% screams out in pain!</font></b>"
organ_med_pain_message = "<b><font size=4>The nymph making up our %PARTNAME% can barely manage the pain!</font></b>"
organ_high_pain_message = "<b><font size=5>The nymph making up our %PARTNAME% screams out in pain!</font></b>"
organ_low_burn_message = "<b>The nymph making up our %PARTNAME% notes a burning injury.</b>"
organ_med_burn_message = SPAN_DANGER("<font size=3>The nymph making up our %PARTNAME% burns terribly!</font>")
organ_high_burn_message = SPAN_DANGER("<font size=3>The nymph making up our %PARTNAME% screams in agony at the burning!</font>")
organ_med_burn_message = SPAN_DANGER("<font size=4>The nymph making up our %PARTNAME% burns terribly!</font>")
organ_high_burn_message = SPAN_DANGER("<font size=5>The nymph making up our %PARTNAME% screams in agony at the burning!</font>")
halloss_message = "creaks and crumbles to the floor."
halloss_message_self = "We can't take this much pain..."
+1 -1
View File
@@ -202,7 +202,7 @@
/mob/living/silicon/pai/LateLogin()
if(!greeted)
// Basic intro text.
to_chat(src, SPAN_DANGER("<font size=3>You are a Personal AI!</font>"))
to_chat(src, SPAN_DANGER("<font size=5>You are a Personal AI!</font>"))
to_chat(src, SPAN_NOTICE("You are a small artificial intelligence contained inside a portable tablet, and you are bound to a master. Your primary directive is to serve them and follow their instructions, follow this prime directive above all others. Check your Software interface to spend ram on programs that can help, and unfold your chassis to take a holographic form and move around the world."))
playsound(usr, 'sound/effects/pai/pai_login.ogg', 75)
greeted = 1
@@ -429,7 +429,7 @@
to_chat(B.host_brain, SPAN_WARNING("You feel a strange sensation as a foreign influence prods your mind."))
to_chat(src, SPAN_WARNING("It doesn't seem to be as effective as you hoped."))
else
to_chat(B.host_brain, SPAN_DANGER("<FONT size=3>Horrific, burning agony lances through you, ripping a soundless scream from your trapped mind!</FONT>"))
to_chat(B.host_brain, SPAN_DANGER("<FONT size=6>Horrific, burning agony lances through you, ripping a soundless scream from your trapped mind!</FONT>"))
/mob/living/carbon/proc/spawn_larvae()
set category = "Abilities"
+1 -1
View File
@@ -291,7 +291,7 @@
if(world.time >= next_blood_squirt && istype(owner.loc, /turf) && do_spray.len)
owner.visible_message(SPAN_DANGER("Blood squirts from \the [owner]'s [pick(do_spray)]!"), \
SPAN_DANGER("<font size=3>Blood sprays out of your [pick(do_spray)]!</font>"))
SPAN_DANGER("<font size=5>Blood sprays out of your [pick(do_spray)]!</font>"))
owner.eye_blurry = 2
owner.Stun(1)
next_blood_squirt = world.time + time_between_arterial_sprays
+5 -5
View File
@@ -1126,20 +1126,20 @@ Note that amputating the affected organ does in fact remove the infection from t
var/gore_sound = "[(status & ORGAN_ROBOT) ? "tortured metal" : "ripping tendons and flesh"]"
owner.visible_message(
SPAN_DANGER("\The [owner]'s [src.name] flies off in an arc!"),\
"<span class='moderate'><b><font size=2>Your [src.name] goes flying off!</font></b></span>",\
"<span class='moderate'><b><font size=5>Your [src.name] goes flying off!</font></b></span>",\
SPAN_DANGER("You hear the terrible sound of [gore_sound]."))
if(DROPLIMB_BURN)
var/gore = "[(status & ORGAN_ROBOT) ? "": " of burning flesh"]"
owner.visible_message(
SPAN_DANGER("\The [owner]'s [src.name] flashes away into ashes!"),\
"<span class='moderate'><b><font size=2>Your [src.name] flashes away into ashes!</font></b></span>",\
"<span class='moderate'><b><font size=5>Your [src.name] flashes away into ashes!</font></b></span>",\
SPAN_DANGER("You hear the crackling sound[gore]."))
if(DROPLIMB_BLUNT)
var/gore = "[(status & ORGAN_ROBOT) ? "": " in a shower of gore"]"
var/gore_sound = "[(status & ORGAN_ROBOT) ? "rending sound of tortured metal" : "sickening splatter of gore"]"
owner.visible_message(
SPAN_DANGER("\The [owner]'s [src.name] explodes[gore]!"),\
"<span class='moderate'><b><font size=3>Your [src.name] explodes[gore]!</font></b></span>",\
"<span class='moderate'><b><font size=5>Your [src.name] explodes[gore]!</font></b></span>",\
SPAN_DANGER("You hear the [gore_sound]."))
var/mob/living/carbon/human/victim = owner //Keep a reference for post-removed().
@@ -1296,8 +1296,8 @@ Note that amputating the affected organ does in fact remove the infection from t
if(!silent)
var/message = pick("broke in half", "shattered")
owner.visible_message(\
SPAN_WARNING("<font size=2>You hear a loud cracking sound coming from \the [owner]!</font>"),\
SPAN_DANGER("<font size=3>Something feels like it [message] in your [name]!</font>"),\
SPAN_WARNING("<font size=4>You hear a loud cracking sound coming from \the [owner]!</font>"),\
SPAN_DANGER("<font size=5>Something feels like it [message] in your [name]!</font>"),\
"You hear a sickening crack!")
if(owner.species && owner.can_feel_pain())
owner.emote("scream")
+3 -3
View File
@@ -26,11 +26,11 @@
last_pain_message = message
if(power >= 110)
flash_strong_pain()
to_chat(src, SPAN_DANGER("<font size=3>[message]</font>"))
to_chat(src, SPAN_DANGER(FONT_HUGE("[message]")))
else if(power >= 70)
to_chat(src, SPAN_DANGER("<font size=3>[message]</font>"))
to_chat(src, SPAN_DANGER(FONT_LARGE("[message]")))
else if(power >= 40)
to_chat(src, SPAN_DANGER("<font size=2>[message]</font>"))
to_chat(src, SPAN_DANGER(FONT_LARGE("[message]")))
else if(power >= 10)
to_chat(src, SPAN_DANGER("[message]"))
else
@@ -66,7 +66,7 @@
return FALSE
sound_to(owner, sound('sound/effects/psi/power_feedback.ogg'))
to_chat(owner, SPAN_DANGER("<font size=3>Wild energistic feedback blasts across your psyche!</font>"))
to_chat(owner, SPAN_DANGER("<font size=5>Wild energistic feedback blasts across your psyche!</font>"))
stunned(value * 2)
set_cooldown(value * 100)