cleans up some span mishaps (#25106)

This commit is contained in:
Luc
2024-04-19 10:19:51 -04:00
committed by GitHub
parent 0541588e82
commit 8500df223d
9 changed files with 11 additions and 11 deletions
@@ -219,7 +219,7 @@
return
var/mob/living/carbon/human/H = user
if(H.shoes != src)
to_chat(user, "<span class='warning>You will have to put on [src] before you can do that.</span>")
to_chat(user, "<span class='warning'>You will have to put on [src] before you can do that.</span>")
return
flags |= NODROP //kinda hard to take off magclaws when you are gripping them tightly.
to_chat(user, "You dig your claws deeply into the flooring, bracing yourself.")
+1 -1
View File
@@ -208,7 +208,7 @@
message_param = "tries to point at %t with a leg."
else
// nugget
message_param = "<span class='userdanger>bumps [user.p_their()] head on the ground</span> trying to motion towards %t."
message_param = "<span class='userdanger'>bumps [user.p_their()] head on the ground</span> trying to motion towards %t."
return ..()
@@ -3,7 +3,7 @@
if(!cleanWipe)
force_fold_out()
visible_message("<span class=warning>[src] emits a dull beep before it loses power and collapses.</span>", "<span class=warning>You hear a dull beep followed by the sound of glass crunching.</span>")
visible_message("<span class='warning'>[src] emits a dull beep before it loses power and collapses.</span>", "<span class='warning'>You hear a dull beep followed by the sound of glass crunching.</span>")
name = "pAI debris"
desc = "The unfortunate remains of some poor personal AI device."
icon_state = "[chassis]_dead"
@@ -11,13 +11,13 @@
if(owner.layer != layer_to_change_to)
owner.layer = layer_to_change_to
owner.visible_message("<span class=notice'><b>[owner] scurries to the ground!</b></span>", "<span class=notice'>You are now hiding.</span>")
owner.visible_message("<span class='notice'><b>[owner] scurries to the ground!</b></span>", "<span class='notice'>You are now hiding.</span>")
if(istype(simplemob) && simplemob.pass_door_while_hidden || isdrone(simplemob))
simplemob.pass_flags |= PASSDOOR
return
simplemob.layer = layer_to_change_from
owner.visible_message("<span class=notice'>[owner] slowly peeks up from the ground...</span>", "<span class=notice'>You have stopped hiding.</span>")
owner.visible_message("<span class='notice'>[owner] slowly peeks up from the ground...</span>", "<span class='notice'>You have stopped hiding.</span>")
if(istype(simplemob) && simplemob.pass_door_while_hidden || isdrone(simplemob))
simplemob.pass_flags &= ~PASSDOOR
@@ -40,7 +40,7 @@
to_chat(user, "<span class='warning'>Unable to implant [target]!</span>")
return
if(target == user)
to_chat(user, "<span class='notice>'You implant yourself with [implant].</span>")
to_chat(user, "<span class='notice'>You implant yourself with [implant].</span>")
else
target.visible_message("<span class='notice'>[user] implants [target].</span>", "<span class='notice'>[user] implants you with [implant].</span>")
playsound(src, 'sound/effects/spray.ogg', 30, TRUE, -6)
@@ -119,7 +119,7 @@
if(!length(path)) //Cannot reach target. Give up and announce the issue.
to_chat(H, "<span class='warning'>No viable path found!</span>")
return FALSE
to_chat(H, "<span class='notice>Suit on route!</span>")
to_chat(H, "<span class='notice'>Suit on route!</span>")
animate(module.mod, 0.2 SECONDS, pixel_x = 0, pixel_y = 0)
module.mod.add_overlay(jet_icon)
RegisterSignal(module.mod, COMSIG_MOVABLE_MOVED, PROC_REF(on_move))
@@ -979,7 +979,7 @@
var/mob/living/carbon/human/H = M
if(volume < 20)
if(prob(10))
to_chat(H, "<span class='warning>You cough up some congealed blood.</span>")
to_chat(H, "<span class='warning'>You cough up some congealed blood.</span>")
H.vomit(blood = TRUE, should_confuse = FALSE) //mostly visual
else if(prob(10))
var/overdose_message = pick("Your vision is tinted red for a moment.", "You can hear your heart beating.")
+1 -1
View File
@@ -148,7 +148,7 @@
to_chat(owner, "<span class='warning'>Your head feels foggy.</span>")
else if(prob(4))
owner.vomit()
to_chat(owner, "<span class='warning>'You feel nauseous.</span>")
to_chat(owner, "<span class='warning'>'You feel nauseous.</span>")
/obj/item/organ/internal/brain/proc/handle_moderate_brain_damage()
if(prob(4))