[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -24,8 +24,8 @@
/spell/targeted/equip_item/horsemask/cast(list/targets, mob/user = usr)
..()
for(var/mob/living/target in targets)
target.visible_message( "<span class='danger'>[target]'s face lights up in fire, and after the event a horse's head takes its place!</span>", \
"<span class='danger'>Your face burns up, and shortly after the fire you realise you have the face of a horse!</span>")
target.visible_message( span_danger("[target]'s face lights up in fire, and after the event a horse's head takes its place!"), \
span_danger("Your face burns up, and shortly after the fire you realise you have the face of a horse!"))
target.flash_eyes()
/spell/targeted/equip_item/horsemask/summon_item(var/new_type)

View File

@@ -97,11 +97,11 @@
if(!T.contains_dense_objects())
last_valid_turf = T
else
to_chat(user, "<span class='warning'>Some strange aura is blocking the way!</span>")
to_chat(user, span_warning("Some strange aura is blocking the way!"))
src.canmove = 0
spawn(2) src.canmove = 1
/obj/effect/dummy/spell_jaunt/ex_act(blah)
return
/obj/effect/dummy/spell_jaunt/bullet_act(blah)
return
return

View File

@@ -37,7 +37,7 @@ code\game\dna\genes\goon_powers.dm
spell_flags = 0
invocation = "STI KALY"
invocation_type = SpI_WHISPER
message = "<span class='danger'>Your eyes cry out in pain!</span>"
message = span_danger("Your eyes cry out in pain!")
cooldown_min = 50
range = 7
@@ -57,7 +57,7 @@ code\game\dna\genes\goon_powers.dm
spell_flags = Z2NOCAST | NEEDSCLOTHES | INCLUDEUSER
invocation = "BIRUZ BENNAR"
invocation_type = SpI_SHOUT
message = "<span class='notice'>You feel strong! You feel a pressure building behind your eyes!</span>"
message = span_notice("You feel strong! You feel a pressure building behind your eyes!")
range = 0
max_targets = 1

View File

@@ -38,7 +38,7 @@
M.forceMove(destination)
if(M != user)
prey = 1
to_chat(user, "<span class='sinister'>You warp back to Nar-Sie[prey ? " along with your prey":""].</span>")
to_chat(user, span_sinister("You warp back to Nar-Sie[prey ? " along with your prey":""]."))
else
to_chat(user, "<span class='danger'>...something's wrong!</span>")//There shouldn't be an instance of Harvesters when Nar-Sie isn't in the world.
*/
to_chat(user, span_danger("...something's wrong!"))//There shouldn't be an instance of Harvesters when Nar-Sie isn't in the world.
*/

View File

@@ -78,4 +78,4 @@
//After a certain amount of time the victim gets a message about being in a different body.
spawn(msg_wait)
to_chat(caster, "<span class='danger'>You feel woozy and lightheaded. Your body doesn't seem like your own.</span>")
to_chat(caster, span_danger("You feel woozy and lightheaded. Your body doesn't seem like your own."))

View File

@@ -24,7 +24,7 @@
amt_dam_fire = 10
/spell/targeted/projectile/magic_missile/prox_cast(var/list/targets, atom/spell_holder)
spell_holder.visible_message("<span class='danger'>\The [spell_holder] pops with a flash!</span>")
spell_holder.visible_message(span_danger("\The [spell_holder] pops with a flash!"))
for(var/mob/living/M in targets)
apply_spell_damage(M)
return

View File

@@ -7,7 +7,7 @@
spell_flags = 0
invocation = "DII ODA BAJI"
invocation_type = SpI_WHISPER
message = "<span class='danger'>You suddenly feel completely overwhelmed!</span>"
message = span_danger("You suddenly feel completely overwhelmed!")
max_targets = 1