mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Fixes typos in span, other html elements [MDB IGNORE] (#10222)
* Fixes typos in span, other html elements (#63510) Atomizes a much larger PR for another time... There are typos in span and other html messages that causes them to not render correctly or at all. Bug fixes Converts those instances of span to use the macro * Fixes typos in span, other html elements Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
span_danger("You start slicing [H]'s throat!"), \
|
||||
span_hear("You hear a cutting noise!"), ignored_mobs = H)
|
||||
H.show_message(span_userdanger("Your throat is being slit by [user]!"), MSG_VISUAL, \
|
||||
"<span class = 'userdanger'>Something is cutting into your neck!</span>", NONE)
|
||||
span_userdanger("Something is cutting into your neck!"), NONE)
|
||||
log_combat(user, H, "attempted throat slitting", source)
|
||||
|
||||
playsound(H.loc, butcher_sound, 50, TRUE, -1)
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
return ..()
|
||||
|
||||
/datum/component/dejavu/proc/rewind()
|
||||
to_chat(parent, "<span class=notice>You remember a time not so long ago...</span>")
|
||||
to_chat(parent, span_notice("You remember a time not so long ago..."))
|
||||
|
||||
//comes after healing so new limbs comically drop to the floor
|
||||
if(starting_turf)
|
||||
@@ -82,7 +82,7 @@
|
||||
if(rewinds_remaining)
|
||||
addtimer(CALLBACK(src, rewind_type), rewind_interval)
|
||||
else
|
||||
to_chat(parent, "<span class=notice>But the memory falls out of your reach.</span>")
|
||||
to_chat(parent, span_notice("But the memory falls out of your reach."))
|
||||
qdel(src)
|
||||
|
||||
/datum/component/dejavu/proc/rewind_living()
|
||||
|
||||
@@ -163,11 +163,11 @@
|
||||
return COMPONENT_RIDDEN_ALLOW_Z_MOVE
|
||||
if(!can_be_driven)
|
||||
if(z_move_flags & ZMOVE_FEEDBACK)
|
||||
to_chat(rider, "<span class='notice'>[movable_parent] cannot be driven around. Unbuckle from [movable_parent.p_them()] first.<span>")
|
||||
to_chat(rider, span_warning("[movable_parent] cannot be driven around. Unbuckle from [movable_parent.p_them()] first."))
|
||||
return COMPONENT_RIDDEN_STOP_Z_MOVE
|
||||
if(!ride_check(rider, FALSE))
|
||||
if(z_move_flags & ZMOVE_FEEDBACK)
|
||||
to_chat(rider, "<span class='warning'>You're unable to ride [movable_parent] right now!</span>")
|
||||
to_chat(rider, span_warning("You're unable to ride [movable_parent] right now!"))
|
||||
return COMPONENT_RIDDEN_STOP_Z_MOVE
|
||||
return COMPONENT_RIDDEN_ALLOW_Z_MOVE
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
/// Default on_hit proc, since cult robes are stupid and have different descriptions/sparks
|
||||
/datum/component/shielded/proc/default_run_hit_callback(mob/living/owner, attack_text, current_charges)
|
||||
do_sparks(2, TRUE, owner)
|
||||
owner.visible_message("<span class='danger'>[owner]'s shields deflect [attack_text] in a shower of sparks!<span>")
|
||||
owner.visible_message(span_danger("[owner]'s shields deflect [attack_text] in a shower of sparks!"))
|
||||
if(current_charges <= 0)
|
||||
owner.visible_message(span_warning("[owner]'s shield overloads!"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user